mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
scsi: libsas: Print expander PHY indexes in decimal
Currently we print expander PHY indexes in a mix of decimal and hex. It is more consistent and also more convenient to read decimal, so make this change. We use width of 2 for expander and 1 for root PHYs prints. Some lines which were needlessly spilling multiple lines are unified. Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
d8649fc1c5
commit
3c236f8cc6
4 changed files with 27 additions and 28 deletions
|
@ -122,11 +122,10 @@ static void sas_phye_shutdown(struct work_struct *work)
|
|||
phy->enabled = 0;
|
||||
ret = i->dft->lldd_control_phy(phy, PHY_FUNC_DISABLE, NULL);
|
||||
if (ret)
|
||||
pr_notice("lldd disable phy%02d returned %d\n",
|
||||
phy->id, ret);
|
||||
pr_notice("lldd disable phy%d returned %d\n", phy->id,
|
||||
ret);
|
||||
} else
|
||||
pr_notice("phy%02d is not enabled, cannot shutdown\n",
|
||||
phy->id);
|
||||
pr_notice("phy%d is not enabled, cannot shutdown\n", phy->id);
|
||||
}
|
||||
|
||||
/* ---------- Phy class registration ---------- */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue