1
0
Fork 0

null_blk: fix module name at log message

The name of the module is "null_blk", not "null". Make `pr_info()` follow
the pattern of `pr_err()` log messages.

Signed-off-by: André Almeida <andrealmeid@collabora.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
alistair/sunxi64-5.4-dsi
André Almeida 2019-09-11 11:46:35 -03:00 committed by Jens Axboe
parent 04c56957eb
commit 4e47ee8fbe
1 changed files with 2 additions and 2 deletions

View File

@ -1315,7 +1315,7 @@ static bool should_requeue_request(struct request *rq)
static enum blk_eh_timer_return null_timeout_rq(struct request *rq, bool res)
{
pr_info("null: rq %p timed out\n", rq);
pr_info("null_blk: rq %p timed out\n", rq);
blk_mq_complete_request(rq);
return BLK_EH_DONE;
}
@ -1812,7 +1812,7 @@ static int __init null_init(void)
}
}
pr_info("null: module loaded\n");
pr_info("null_blk: module loaded\n");
return 0;
err_dev: