]> git.baikalelectronics.ru Git - kernel.git/commit
nbd: add missing definition of pr_fmt
authorYu Kuai <yukuai3@huawei.com>
Sat, 23 Jul 2022 08:24:27 +0000 (16:24 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 2 Aug 2022 23:22:41 +0000 (17:22 -0600)
commitcf25ba02ee37fa884eb7f5d11bf38b8fa829cdf9
treee2f4af3b4be6e48285b84af959d35f4dfa4918c0
parentde7c8cdc90457156cd5f650b3e14dfd22969644f
nbd: add missing definition of pr_fmt

commit 78bd39615e0b ("nbd: use pr_err to output error message") tries
to define pr_fmt and use short pr_err() to output error message,
however, the definition is missed.

This patch also remove existing "nbd:" inside pr_err().

Fixes: 78bd39615e0b ("nbd: use pr_err to output error message")
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Link: https://lore.kernel.org/r/20220723082427.3890655-1-yukuai1@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/nbd.c