lkml.org 
[lkml]   [2020]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] ata: ahci: use ata_link_info() instead of ata_link_printk()
    Date
    Using ata_link_info() instead of ata_link_printk().

    Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
    ---
    drivers/ata/ahci.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
    index 0c0a736eb861..9d72d907b4ee 100644
    --- a/drivers/ata/ahci.c
    +++ b/drivers/ata/ahci.c
    @@ -807,7 +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",
    + ata_link_info(link, "avn bounce port%d\n",
    port);

    pci_read_config_word(pdev, 0x92, &val);
    --
    2.17.1
    \
     
     \ /
      Last update: 2020-08-17 03:32    [W:4.589 / U:2.228 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site