summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2019-01-25 22:22:39 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2019-01-29 01:41:20 -0500
commitede2afb9c8ed784cdf1b6de9cd02f044668b842a (patch)
tree63b32c2631f3c4bdc327d8e5d1b3981a922f7bd3
parente1ba0b0b44512c5a209526c09ea3eb7d256b6951 (diff)
downloadlinux-ede2afb9c8ed784cdf1b6de9cd02f044668b842a.tar.gz
linux-ede2afb9c8ed784cdf1b6de9cd02f044668b842a.tar.bz2
linux-ede2afb9c8ed784cdf1b6de9cd02f044668b842a.zip
scsi: hisi_sas: Add missing seq_printf() call in hisi_sas_show_row_32()
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>
-rw-r--r--drivers/scsi/hisi_sas/hisi_sas_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/hisi_sas/hisi_sas_main.c b/drivers/scsi/hisi_sas/hisi_sas_main.c
index 445f8eee93d2..2d6b5fe90a9e 100644
--- a/drivers/scsi/hisi_sas/hisi_sas_main.c
+++ b/drivers/scsi/hisi_sas/hisi_sas_main.c
@@ -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");
}