]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: don't display tp->mmio_addr address
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 17 Apr 2018 21:31:21 +0000 (23:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Apr 2018 01:11:59 +0000 (21:11 -0400)
commitebb3fc3291d40d645b2a7a6a4fc6c1868377946f
treec4604894cf51a5be75c1f4c3e974e82509f82531
parentcd2271d603d8ac924bc27af8f2bf7c1ccb2d2390
r8169: don't display tp->mmio_addr address

For security reasons since commit 7f32ed5e940b "printk: hash addresses
printed with %p" %p doesn't display the full address any longer.
We could switch to %px, but I think the pointer address doesn't
provide a real benefit, so remove printing the hashed address.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c