]> 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)
commit5fda9f72d8ab22e8432289cea2e2b74b68442dfd
tree2518ee543493901d99a7eba55e51a9404406f663
parentc9cb8398dd095ee102e9dffc6cbcef94b672b039
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