2020-08-17 03:48:48

by Xu Wang

[permalink] [raw]
Subject: [PATCH] ata: ahci: use ata_link_info() instead of ata_link_printk()

Using ata_link_info() instead of ata_link_printk().

Signed-off-by: Xu Wang <[email protected]>
---
drivers/ata/ahci.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index 0c0a736eb861..fbd8eaa32d32 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -807,8 +807,7 @@ static int ahci_avn_hardreset(struct ata_link *link, unsigned int *class,
(sstatus & 0xf) != 1)
break;

- ata_link_printk(link, KERN_INFO, "avn bounce port%d\n",
- port);
+ ata_link_info(link, "avn bounce port%d\n", port);

pci_read_config_word(pdev, 0x92, &val);
val &= ~(1 << port);
--
2.17.1


2020-08-17 04:04:40

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH] ata: ahci: use ata_link_info() instead of ata_link_printk()

On 8/16/20 8:29 PM, Xu Wang wrote:
> Using ata_link_info() instead of ata_link_printk().

Applied, thanks.

--
Jens Axboe