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>
Mon, 25 Jul 2022 23:01:30 +0000 (17:01 -0600)
commitb182198426ac3130f3543b1ad67855a84c4c5af2
tree8a108c1275cbcaa70380a1e5dc2cb79fdec55e85
parent8c740c6bf12dec03b6f35b19fe6c183929d0b88a
nbd: add missing definition of pr_fmt

commit 1243172d5894 ("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: 1243172d5894 ("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