block: null_blk: Cleanup messages
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Wed, 20 Apr 2022 00:57:17 +0000 (09:57 +0900)
committerJens Axboe <axboe@kernel.dk>
Wed, 4 May 2022 11:24:58 +0000 (05:24 -0600)
commitdb060f54e0c53af66d72aacd13a2550f1e24c90b
treeddd29593517b9ae3d0044beda36cdc357ae95f05
parentb3a0a73e8a79eab6ec74139b505f4c6d6781aae9
block: null_blk: Cleanup messages

Use the pr_fmt() macro to prefix all null_blk pr_xxx() messages with
"null_blk:" to clarify which module is printing the messages. Also add
a pr_info() message in null_add_dev() to print the name of a newly
created disk.

Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20220420005718.3780004-4-damien.lemoal@opensource.wdc.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/null_blk/main.c
drivers/block/null_blk/zoned.c