summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2022-05-21 10:37:49 +0300
committerJens Axboe <axboe@kernel.dk>2022-05-28 05:39:33 +0300
commit1243172d5894e2d8f277ee3c278180792de5c521 (patch)
tree02e6906ec79b0db2aa8be0926468f51f62a5cbe2 /drivers/staging
parent858f1bf65d3d9c00b5e2d8ca87dc79ed88267c98 (diff)
downloadlinux-1243172d5894e2d8f277ee3c278180792de5c521.tar.xz
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 <houtao1@huawei.com> Signed-off-by: Yu Kuai <yukuai3@huawei.com> Reviewed-by: Josef Bacik <josef@toxicpanda.com> Link: https://lore.kernel.org/r/20220521073749.3146892-7-yukuai3@huawei.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/staging')
0 files changed, 0 insertions, 0 deletions