public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Pavel Machek <pavel@denx.de>
Cc: stable@vger.kernel.org, yuehaibing@huawei.com
Subject: Re: [PATCH 4.4 4.9 4.14 4.19 5.4 5.10] net: xilinx_emaclite: Do not print real IOMEM pointer
Date: Fri, 13 Aug 2021 12:38:15 +0200	[thread overview]
Message-ID: <YRZLlysTiHFFV4hi@kroah.com> (raw)
In-Reply-To: <20210813102840.GA31185@duo.ucw.cz>

On Fri, Aug 13, 2021 at 12:28:40PM +0200, Pavel Machek wrote:
> From: YueHaibing <yuehaibing@huawei.com>
> 
> Commit d0d62baa7f505bd4c59cd169692ff07ec49dde37 upstream.
> 
> Printing kernel pointers is discouraged because they might leak kernel
> memory layout.  This fixes smatch warning:
> 
> drivers/net/ethernet/xilinx/xilinx_emaclite.c:1191 xemaclite_of_probe() warn:
>  argument 4 to %08lX specifier is cast from pointer
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> Signed-off-by: David S. Miller <davem@davemloft.net>
> Signed-off-by: Pavel Machek (CIP) <pavel@denx.de>
> ---
>  drivers/net/ethernet/xilinx/xilinx_emaclite.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)

Now queued up, thanks.

greg k-h

      reply	other threads:[~2021-08-13 10:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-13 10:28 [PATCH 4.4 4.9 4.14 4.19 5.4 5.10] net: xilinx_emaclite: Do not print real IOMEM pointer Pavel Machek
2021-08-13 10:38 ` Greg KH [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YRZLlysTiHFFV4hi@kroah.com \
    --to=greg@kroah.com \
    --cc=pavel@denx.de \
    --cc=stable@vger.kernel.org \
    --cc=yuehaibing@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox