scsi: hisi_sas: fix the issue of argument mismatch of printing ecc errors
driver inclusion category: bugfix bugzilla: NA CVE: NA The argument of dev_err() called by multi_bit_ecc_error_process_v3_hw() is not right. We pass two argments, but there is only one % in the string. This patch is to fix the issue. Besides, move the print format string to dev_err(). Then compiler can find such issue in earlier stage. Feature or Bugfix: Bugfix Signed-off-by: Ntanxiaofei <tanxiaofei@huawei.com> Reviewed-by: Nchenxiang <chenxiang66@hisilicon.com> Reviewed-by: NYang Yingliang <yangyingliang@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录