]> 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)
commitab5f9c42bcc3c827f1bd73c969c430ee9f836c60
treec4604894cf51a5be75c1f4c3e974e82509f82531
parent73a4095d2f01c1d7351556a37b828555dab24758
r8169: don't display tp->mmio_addr address

For security reasons since commit c50104c2c22f "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