diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-11-16 19:42:52 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2020-11-17 14:46:39 +0300 |
commit | ade8e9d3fb9232ddfb87a4bc641b35b988d9757b (patch) | |
tree | 251429558c6529b395ef7d02181def8b9f7f2d50 /drivers/mtd | |
parent | fcc541fea394d67ad607ee41acfa891e79fe17a2 (diff) | |
download | linux-ade8e9d3fb9232ddfb87a4bc641b35b988d9757b.tar.xz |
mmc: tmio: do not print real IOMEM pointer
Printing kernel pointers is discouraged because they might leak kernel
memory layout. This fixes smatch warning:
drivers/mmc/host/tmio_mmc.c:177 tmio_mmc_probe() warn: argument 3 to %08lx specifier is cast from pointer
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20201116164252.44078-1-krzk@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions