]> git.baikalelectronics.ru Git - kernel.git/commit
skfp: hwmtm: Use proper logging macros, correct mismatches
authorJoe Perches <joe@perches.com>
Thu, 22 Dec 2016 00:41:52 +0000 (16:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Dec 2016 16:37:14 +0000 (11:37 -0500)
commit4195752a19a4ef568664d2554b968af107697f1a
tree2518ee543493901d99a7eba55e51a9404406f663
parentc53deccaebed207f6c30800952a81bdb9e468194
skfp: hwmtm: Use proper logging macros, correct mismatches

Logging macros should allow format and argument validation.
The DB_TX, DB_RX, and DB_GEN macros did not.

Update the macros and uses and add no_printk validation to the
previously compiled away #ifndef DEBUG variants.

Done with coccinelle and some typing.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fddi/skfp/h/hwmtm.h
drivers/net/fddi/skfp/hwmtm.c