Messages in this thread | | | Date | Fri, 20 Nov 2020 10:44:42 +0100 | From | Wolfram Sang <> | Subject | Re: [PATCH] mmc: tmio: do not print real IOMEM pointer |
| |
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 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>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
[unhandled content-type:application/pgp-signature] | |