mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-01 10:42:11 +00:00
gdrom: Use pr_warn instead of pr_warning
As said in commit f2c2cbcc35
("powerpc: Use pr_warn instead of
pr_warning"), removing pr_warning so all logging messages use a
consistent <prefix>_warn style. Let's do it.
Link: http://lkml.kernel.org/r/20191018031850.48498-10-wangkefeng.wang@huawei.com
To: linux-kernel@vger.kernel.org
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
This commit is contained in:
parent
afa69539ff
commit
f8b489980d
@ -742,7 +742,7 @@ static int probe_gdrom(struct platform_device *devptr)
|
||||
int err;
|
||||
/* Start the device */
|
||||
if (gdrom_execute_diagnostic() != 1) {
|
||||
pr_warning("ATA Probe for GDROM failed\n");
|
||||
pr_warn("ATA Probe for GDROM failed\n");
|
||||
return -ENODEV;
|
||||
}
|
||||
/* Print out firmware ID */
|
||||
@ -814,7 +814,7 @@ static int probe_gdrom(struct platform_device *devptr)
|
||||
probe_fail_no_mem:
|
||||
unregister_blkdev(gdrom_major, GDROM_DEV_NAME);
|
||||
gdrom_major = 0;
|
||||
pr_warning("Probe failed - error is 0x%X\n", err);
|
||||
pr_warn("Probe failed - error is 0x%X\n", err);
|
||||
return err;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user