projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2f01a5
)
ata: pata_cmd640: convert printk() calls
author
Hannes Reinecke
<hare@suse.de>
Tue, 21 Dec 2021 07:21:11 +0000
(08:21 +0100)
committer
Damien Le Moal
<damien.lemoal@opensource.wdc.com>
Wed, 5 Jan 2022 10:33:02 +0000
(19:33 +0900)
Convert printk() calls to structured logging.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/pata_cmd640.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ata/pata_cmd640.c
b/drivers/ata/pata_cmd640.c
index d0bcabb58b445802a72a78412becb7752df84e77..1a3372a7221382e7d5a0f70b9fa174cba24d87aa 100644
(file)
--- a/
drivers/ata/pata_cmd640.c
+++ b/
drivers/ata/pata_cmd640.c
@@
-61,7
+61,7
@@
static void cmd640_set_piomode(struct ata_port *ap, struct ata_device *adev)
struct ata_device *pair = ata_dev_pair(adev);
if (ata_timing_compute(adev, adev->pio_mode, &t, T, 0) < 0) {
-
printk(KERN_ERR
DRV_NAME ": mode computation failed.\n");
+
ata_dev_err(adev,
DRV_NAME ": mode computation failed.\n");
return;
}