Re: [PATCH -next v3 6/6] nbd: use pr_err to output error message

From: Josef Bacik
Date: Mon May 23 2022 - 10:16:21 EST


On Sat, May 21, 2022 at 03:37:49PM +0800, Yu Kuai wrote:
> 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@xxxxxxxxxx>
> Signed-off-by: Yu Kuai <yukuai3@xxxxxxxxxx>

Reviewed-by: Josef Bacik <josef@xxxxxxxxxxxxxx>

Thanks,

Josef