linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 11808/12208] drivers/dma/fsl-edma-main.c:61:16: sparse: sparse: cast removes address space '__iomem' of expression
@ 2023-08-23 12:32 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-23 12:32 UTC (permalink / raw)
  To: Frank Li; +Cc: oe-kbuild-all, Linux Memory Management List, Vinod Koul

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   e3f80d3eae76c3557b3c9b5938ad01c0e6cf25ec
commit: 72f5801a4e2b7122ed8ff5672ea965a0b3458e6b [11808/12208] dmaengine: fsl-edma: integrate v3 support
config: openrisc-randconfig-r122-20230823 (https://download.01.org/0day-ci/archive/20230823/202308232055.9pzSbqTs-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230823/202308232055.9pzSbqTs-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308232055.9pzSbqTs-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/dma/fsl-edma-main.c:61:16: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/dma/fsl-edma-main.c:65:9: sparse: sparse: cast removes address space '__iomem' of expression

vim +/__iomem +61 drivers/dma/fsl-edma-main.c

    55	
    56	static irqreturn_t fsl_edma3_tx_handler(int irq, void *dev_id)
    57	{
    58		struct fsl_edma_chan *fsl_chan = dev_id;
    59		unsigned int intr;
    60	
  > 61		intr = edma_readl_chreg(fsl_chan, ch_int);
    62		if (!intr)
    63			return IRQ_HANDLED;
    64	
    65		edma_writel_chreg(fsl_chan, 1, ch_int);
    66	
    67		fsl_edma_tx_chan_handler(fsl_chan);
    68	
    69		return IRQ_HANDLED;
    70	}
    71	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-23 12:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-23 12:32 [linux-next:master 11808/12208] drivers/dma/fsl-edma-main.c:61:16: sparse: sparse: cast removes address space '__iomem' of expression kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox