diff options
| author | Xiang Chen <chenxiang66@hisilicon.com> | 2019-04-11 20:46:39 +0800 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-04-12 21:30:12 -0400 |
| commit | 18a54b329c1a57613b95b42ce55affb9079af822 (patch) | |
| tree | f73667fe6021c9e8ff0540455867426294cf2263 /tools/perf/scripts/python | |
| parent | scsi: hisi_sas: Fix for setting the PHY linkrate when disconnected (diff) | |
| download | linux-18a54b329c1a57613b95b42ce55affb9079af822.tar.gz linux-18a54b329c1a57613b95b42ce55affb9079af822.zip | |
scsi: hisi_sas: Adjust the printk format of functions hisi_sas_init_device()
In function hisi_sas_init_device(), the log is as follows when error for
hardreset:
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: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
