[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201120094442.GA2353@ninjato>
Date: Fri, 20 Nov 2020 10:44:42 +0100
From: Wolfram Sang <wsa+renesas@...g-engineering.com>
To: Krzysztof Kozlowski <krzk@...nel.org>
Cc: Ulf Hansson <ulf.hansson@...aro.org>, linux-mmc@...r.kernel.org,
linux-kernel@...r.kernel.org,
Dan Carpenter <dan.carpenter@...cle.com>,
kbuild-all@...ts.01.org, kernel test robot <lkp@...el.com>
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@...el.com>
> Reported-by: Dan Carpenter <dan.carpenter@...cle.com>
> Signed-off-by: Krzysztof Kozlowski <krzk@...nel.org>
Reviewed-by: Wolfram Sang <wsa+renesas@...g-engineering.com>
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists