ata: ahci: use ata_link_info() instead of ata_link_printk()
authorXu Wang <vulab@iscas.ac.cn>
Mon, 17 Aug 2020 03:29:13 +0000 (03:29 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 17 Aug 2020 03:45:36 +0000 (20:45 -0700)
Using ata_link_info() instead of ata_link_printk().

Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/ata/ahci.c

index 0c0a736..fbd8eaa 100644 (file)
@@ -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);