Skip to content

Commit

Permalink
null_blk: fix module name at log message
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
andrealmeid authored and axboe committed Sep 11, 2019
1 parent 04c5695 commit 4e47ee8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/block/null_blk_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 4e47ee8

Please sign in to comment.