]> Git Repo - linux.git/commit
nbd: use pr_err to output error message
authorYu Kuai <[email protected]>
Sat, 21 May 2022 07:37:49 +0000 (15:37 +0800)
committerJens Axboe <[email protected]>
Sat, 28 May 2022 02:39:33 +0000 (20:39 -0600)
commit1243172d5894e2d8f277ee3c278180792de5c521
tree02e6906ec79b0db2aa8be0926468f51f62a5cbe2
parent858f1bf65d3d9c00b5e2d8ca87dc79ed88267c98
nbd: use pr_err to output error message

Instead of using the long printk(KERN_ERR "nbd: ...") to
output error message, defining pr_fmt and using
the short pr_err("") to do that. The replacemen is done
by using the following command:

  sed -i 's/printk(KERN_ERR "nbd: /pr_err("/g' \
  drivers/block/nbd.c

This patch also rewrap to 80 columns where possible.

Signed-off-by: Hou Tao <[email protected]>
Signed-off-by: Yu Kuai <[email protected]>
Reviewed-by: Josef Bacik <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
drivers/block/nbd.c
This page took 0.053918 seconds and 4 git commands to generate.