From: Laurentiu Tudor Date: Wed, 16 Dec 2020 16:10:15 +0000 (+0200) Subject: bus: fsl-mc: add missing __iomem attribute X-Git-Tag: v5.12-rc1~46^2~160 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=59b26d2e96c473b7b65cfe19381444d034e91715;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Laurentiu Tudor Link: https://lore.kernel.org/r/20201216161015.29060-1-laurentiu.tudor@nxp.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/bus/fsl-mc/fsl-mc-bus.c b/drivers/bus/fsl-mc/fsl-mc-bus.c index b8e6acdf932e6..5a8fc68d61099 100644 --- a/drivers/bus/fsl-mc/fsl-mc-bus.c +++ b/drivers/bus/fsl-mc/fsl-mc-bus.c @@ -41,7 +41,7 @@ struct fsl_mc { struct fsl_mc_device *root_mc_bus_dev; u8 num_translation_ranges; struct fsl_mc_addr_translation_range *translation_ranges; - void *fsl_mc_regs; + void __iomem *fsl_mc_regs; }; /**