Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dmaengine: st_fdma: change dreg_line to long

The code is encoding a pointer into an int which works fine with a
32-bit build. Not with a 64-bit one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://patch.msgid.link/20251106022015.84970-2-rosenp@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Rosen Penev and committed by
Vinod Koul
19fed6ca b729eed5

+2 -2
+1 -1
drivers/dma/st_fdma.c
··· 68 68 { 69 69 struct st_fdma_dev *fdev = fchan->fdev; 70 70 71 - dev_dbg(fdev->dev, "put dreq_line:%#x\n", fchan->dreq_line); 71 + dev_dbg(fdev->dev, "put dreq_line:%#lx\n", fchan->dreq_line); 72 72 clear_bit(fchan->dreq_line, &fdev->dreq_mask); 73 73 } 74 74
+1 -1
drivers/dma/st_fdma.h
··· 120 120 struct dma_slave_config scfg; 121 121 struct st_fdma_cfg cfg; 122 122 123 - int dreq_line; 123 + long dreq_line; 124 124 125 125 struct virt_dma_chan vchan; 126 126 struct st_fdma_desc *fdesc;