]> 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)
commit3bafd9e7780e04428e513278b8c7a577d8183bdc
treea2aad2375f240629186b2fa8a5d440abbdec23b2
parent6f7e25ed6255a4da12ef6eda6423e9c01d1ae9ff
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