nvme-pci: properly print controller address
authorMax Gurtovoy <maxg@mellanox.com>
Mon, 9 Mar 2020 15:04:12 +0000 (17:04 +0200)
committerKeith Busch <kbusch@kernel.org>
Wed, 25 Mar 2020 19:51:54 +0000 (04:51 +0900)
commit2db24e4a22bc97c713261a81fc75e2a36db65715
tree8282f56d98e92a3e1dd0f57a5e872d2d2b8e672d
parent761ad26c45b0260a8516bc1fc9d25bb66ca4e25c
nvme-pci: properly print controller address

Align PCI address print with fabrics address that is printed with
newline character.

Before:
[root@server40 linux]# cat /sys/class/nvme/nvme2/address
0000:0b:00.0[root@server40 linux]#

After:
[root@server40 linux]# cat /sys/class/nvme/nvme2/address
0000:0b:00.0
[root@server40 linux]#

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
drivers/nvme/host/pci.c