]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
scsi: hisi_sas: Add missing seq_printf() call in hisi_sas_show_row_32()
authorJohn Garry <john.garry@huawei.com>
Fri, 25 Jan 2019 14:22:39 +0000 (22:22 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 29 Jan 2019 06:41:20 +0000 (01:41 -0500)
This call must have been missed when I reworked the debugfs feature for
upstreaming, so add it back.

Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_main.c

index 445f8eee93d2a1f14291d94657761d10de496c9e..2d6b5fe90a9e5e783460d19b692c8fa40959e9a9 100644 (file)
@@ -2688,6 +2688,7 @@ static int hisi_sas_show_row_32(struct seq_file *s, int index,
        /* completion header size not fixed per HW version */
        seq_printf(s, "index %04d:\n\t", index);
        for (i = 1; i <= sz / 4; i++, ptr++) {
+               seq_printf(s, " 0x%08x", le32_to_cpu(*ptr));
                if (!(i % 4))
                        seq_puts(s, "\n\t");
        }