Skip to content

Commit

Permalink
gdrom: Use pr_warn instead of pr_warning
Browse files Browse the repository at this point in the history
As said in commit f2c2cbc ("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/[email protected]
To: [email protected]
Cc: Jens Axboe <[email protected]>
Signed-off-by: Kefeng Wang <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
  • Loading branch information
Kefeng Wang authored and pmladek committed Oct 18, 2019
1 parent afa6953 commit f8b4899
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/cdrom/gdrom.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit f8b4899

Please sign in to comment.