lib/bug.c: convert printk to pr_foo()
authorFabian Frederick <fabf@skynet.be>
Wed, 4 Jun 2014 23:11:59 +0000 (16:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 4 Jun 2014 23:54:19 +0000 (16:54 -0700)
commitc56ba70331d9f3c1ea77f8053095fb05fe773f50
treee397ee39facb5fb7697508ade79083bcfc5a5324
parentce643a30d1c8bd31b6310f59f6d7236c9904c3bf
lib/bug.c: convert printk to pr_foo()

- Coalesce formats

- "WARNING:" prefix unchanged to keep bug format.

- printk(KERN_DEFAULT not converted.

- define pr_fmt without prefix to avoid any default prefix update
  (suggested by Joe Perches).

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/bug.c