OSDN Git Service

scsi: libsas: Print expander PHY indexes in decimal
authorJohn Garry <john.garry@huawei.com>
Fri, 12 Apr 2019 08:57:57 +0000 (16:57 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 15 Apr 2019 22:55:01 +0000 (18:55 -0400)
commit3c236f8cc63b4593c9627bf0149f416925db8899
tree4f4f9f5a2ae5f20a3ac436978d656df3b501426f
parentd8649fc1c5e40e691d589ed825998c36a947491c
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>
drivers/scsi/libsas/sas_ata.c
drivers/scsi/libsas/sas_expander.c
drivers/scsi/libsas/sas_init.c
drivers/scsi/libsas/sas_phy.c