bcache: Convert pr_<level> uses to a more typical style
authorJoe Perches <joe@perches.com>
Wed, 27 May 2020 04:01:52 +0000 (12:01 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 27 May 2020 11:19:36 +0000 (05:19 -0600)
commit46f5aa8806e34f2e48de852cc7db2c74c3a5cd8d
treecc3d8e05508914b1361ef1dec9c0d41fcd4a4435
parent3b5b7b1f70e79fb060d485412b3c748f0a83111b
bcache: Convert pr_<level> uses to a more typical style

Remove the trailing newline from the define of pr_fmt and add newlines
to the uses.

Miscellanea:

o Convert bch_bkey_dump from multiple uses of pr_err to pr_cont
  as the earlier conversion was inappropriate done causing multiple
  lines to be emitted where only a single output line was desired
o Use vsprintf extension %pV in bch_cache_set_error to avoid multiple
  line output where only a single line output was desired
o Coalesce formats

Fixes: 6ae63e3501c4 ("bcache: replace printk() by pr_*() routines")

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/bcache.h
drivers/md/bcache/bset.c
drivers/md/bcache/btree.c
drivers/md/bcache/extents.c
drivers/md/bcache/io.c
drivers/md/bcache/journal.c
drivers/md/bcache/request.c
drivers/md/bcache/super.c
drivers/md/bcache/sysfs.c
drivers/md/bcache/writeback.c