]> git.baikalelectronics.ru Git - kernel.git/commit
arcnet: Neaten BUGMSG macro defines
authorJoe Perches <joe@perches.com>
Tue, 5 May 2015 17:05:53 +0000 (10:05 -0700)
committerMichael Grzeschik <m.grzeschik@pengutronix.de>
Wed, 23 Sep 2015 06:44:23 +0000 (08:44 +0200)
commit3aa8b8914616ec0fda6e48d9b3505513ae979318
treec68e078467ff479e19c1a1de8ccd799c7d212463
parent098ca3e84e5497bc06ad17f099495ade9d7462e3
arcnet: Neaten BUGMSG macro defines

These macros are actually printk and pr_cont uses with a flag.

Add a new BUGLVL_TEST macro which is just the "should use" test
and not an odd "if (<foo>)" macro to simplify uses in a new patch.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
include/linux/arcdevice.h