Skip to content

Commit

Permalink
ata: ahci: use ata_link_info() instead of ata_link_printk()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Xu Wang authored and Jens Axboe committed Aug 17, 2020
1 parent 9123e3a commit e276c9b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/ata/ahci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e276c9b

Please sign in to comment.