diff options
author | André Almeida <andrealmeid@collabora.com> | 2019-09-11 16:46:35 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-09-12 00:04:24 +0200 |
commit | 4e47ee8fbef08f1711ffcc2063ce0e3250141b16 (patch) | |
tree | 0067314e1f5b40de73bbe614b0d1cf5db800f5fa /drivers/block | |
parent | docs: block: null_blk: enhance document style (diff) | |
download | linux-4e47ee8fbef08f1711ffcc2063ce0e3250141b16.tar.xz linux-4e47ee8fbef08f1711ffcc2063ce0e3250141b16.zip |
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>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/null_blk_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/null_blk_main.c b/drivers/block/null_blk_main.c index b29b273690b0..bd6e5cd02a57 100644 --- a/drivers/block/null_blk_main.c +++ b/drivers/block/null_blk_main.c @@ -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: |