diff options
| author | YueHaibing <yuehaibing@huawei.com> | 2021-05-19 10:47:04 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-08-15 12:59:57 +0200 |
| commit | 3d4ba14fc5ffbe5712055af09a5c0cbab93c0f44 (patch) | |
| tree | 59d8ccff97ed4b3ba193a568f0ce48fc27d666c8 /lib/string_helpers.c | |
| parent | c643a57ca5bcb01cd97193555f67a2b506739e59 (diff) | |
net: xilinx_emaclite: Do not print real IOMEM pointer
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
