commit | 794327ab53cc6b330774d6fdb93b547666583db9 | [log] [tgz] |
---|---|---|
author | Xiaofei Tan <tanxiaofei@huawei.com> | Wed May 29 17:58:43 2019 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Jun 18 19:46:24 2019 -0400 |
tree | 6d2c61b2fe316daf8d77e77ef7f5a5301197354c | |
parent | 6c86e046cf97b4a03d6166ba95b3f448455abbb0 [diff] |
scsi: hisi_sas: Fix the issue of argument mismatch of printing ecc errors The argument of dev_err() called by multi_bit_ecc_error_process_v3_hw() is not right. We pass two arguments, but there is only one printk format specifier in the string. Also move the print format string to dev_err(). Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>