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.

bus: fsl-mc: add missing __iomem attribute

This pointer to an i/o register block is missing the __iomem attribute,
so add it. The issue was found by 0-day sparse run.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Link: https://lore.kernel.org/r/20201216161015.29060-1-laurentiu.tudor@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Laurentiu Tudor and committed by
Greg Kroah-Hartman
59b26d2e 47771f17

+1 -1
+1 -1
drivers/bus/fsl-mc/fsl-mc-bus.c
··· 41 41 struct fsl_mc_device *root_mc_bus_dev; 42 42 u8 num_translation_ranges; 43 43 struct fsl_mc_addr_translation_range *translation_ranges; 44 - void *fsl_mc_regs; 44 + void __iomem *fsl_mc_regs; 45 45 }; 46 46 47 47 /**