]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: net: cisco_hdlc: use __func__ in debug message
authorChen Zhou <chenzhou10@huawei.com>
Tue, 7 Jan 2020 09:33:46 +0000 (17:33 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Jan 2020 21:33:35 +0000 (13:33 -0800)
commit8d72e9a1db2c1775301328509700008ed19b9eaa
treea2aad2375f240629186b2fa8a5d440abbdec23b2
parentf0e3e108072610d60bb1408020eeb92a803c2e5e
drivers: net: cisco_hdlc: use __func__ in debug message

Use __func__ to print the function name instead of hard coded string.
BTW, replace printk(KERN_DEBUG, ...) with netdev_dbg.

Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/hdlc_cisco.c