Commit 4e47ee8f authored by André Almeida's avatar André Almeida Committed by Jens Axboe

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: default avatarAndré Almeida <andrealmeid@collabora.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 04c56957
...@@ -1315,7 +1315,7 @@ static bool should_requeue_request(struct request *rq) ...@@ -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) 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); blk_mq_complete_request(rq);
return BLK_EH_DONE; return BLK_EH_DONE;
} }
...@@ -1812,7 +1812,7 @@ static int __init null_init(void) ...@@ -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; return 0;
err_dev: err_dev:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment