]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
enc28j60: Convert printk() to netdev_printk()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 19 Mar 2019 18:49:26 +0000 (20:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Mar 2019 21:59:31 +0000 (14:59 -0700)
commitc93a0f2a7fc4b94142ed2bc6fb000de8e09eb232
tree9e2d1ad93302fa827de702d25a30eec2ca9cc1a7
parent6eae14104fc8ce6ac68840a3a76955b1e2198b39
enc28j60: Convert printk() to netdev_printk()

The debug prints of network operations will look better if network
device name is printed. The benefit of that is a possibility to distinguish
the actual hardware when more than one is installed on the system.

Convert appropriate printk(KERN_DEBUG) to netdev_print(KERN_DEBUG, ndev).

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/enc28j60.c