]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit5dbc6530939126cd61cb6c2e6d7b0a95741aaee6
tree2518ee543493901d99a7eba55e51a9404406f663
parentb77b7565a6d11611c3f179941d2b95c2d72939dc
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