]> git.baikalelectronics.ru Git - kernel.git/commit
spi: fsl: add missing __iomem annotation
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Mon, 22 Jun 2020 16:26:11 +0000 (18:26 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 1 Jul 2020 22:21:26 +0000 (23:21 +0100)
commit96ce73580b72703b70cec9636b6637e88f43f90b
treec2ab8e0aff65f7b3c528a3f1637693db36ec476d
parent80d4c0514ab2b217d1c844485e48eb60df354537
spi: fsl: add missing __iomem annotation

The field mspi->reg_base is annotated as an __iomem pointer. Good.

However, this field is often assigned to a temporary variable:
before being used. For example:
struct fsl_spi_reg *reg_base = mspi->reg_base;

But this variable is missing the __iomem annotation.
So, add the missing __iomem and make sparse & the bot happier.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Link: https://lore.kernel.org/r/20200622162611.83694-1-luc.vanoostenryck@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-spi.c