Re: [PATCH] mmc: tmio: do not print real IOMEM pointer

2020-11-20 Thread Wolfram Sang
On Mon, Nov 16, 2020 at 05:42:52PM +0100, Krzysztof Kozlowski wrote: > 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

[PATCH] mmc: tmio: do not print real IOMEM pointer

2020-11-16 Thread Krzysztof Kozlowski
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 Reported-by: Dan Carpenter