]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9c32b2ab6990f8f8f122b6bb44441db675bc9cd2
tree4f4f9f5a2ae5f20a3ac436978d656df3b501426f
parent15c0bacb4b105383959d969926af6e8a4dc37050
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