scsi: hisi_sas: Adjust the printk format of
functions hisi_sas_init_device() driver inclusion category: bugfix bugzilla: NA CVE: NA In function hisi_sas_init_device(), the log is as follows when error for hardreset: [49597.072731] hisi_sas_v3_hw 0000:74:02.0: SATA disk hardreset fail: 0xffffffed Actually if hardreset failed, its return value is negative, so change the print format from %x to %d. Signed-off-by:Xiang Chen <chenxiang66@hisilicon.com> Signed-off-by:
chenxiang (M) <chenxiang66@hisilicon.com> Reviewed-by:
huangdaode <huangdaode@hisilicon.com> Reviewed-by:
Xie XiuQi <xiexiuqi@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Loading
Please sign in to comment