• Joe Perches's avatar
    bcache: Convert pr_<level> uses to a more typical style · 46f5aa88
    Joe Perches authored
    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: 6ae63e35 ("bcache: replace printk() by pr_*() routines")
    Signed-off-by: default avatarJoe Perches <joe@perches.com>
    Signed-off-by: default avatarColy Li <colyli@suse.de>
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    46f5aa88
btree.c 62.5 KB