]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] libfc, fcoe: normalize format specifies for world wide names
authorChris Leech <christopher.leech@intel.com>
Fri, 9 Apr 2010 21:23:16 +0000 (14:23 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 19:02:42 +0000 (14:02 -0500)
commit157389d08edf7584a4e2d7917e59516993fd2ae3
treeef2d97aee5de5f83e53fe2645a7a30aa8a3980c7
parent4bd2d4202ee0fb3c99f83ccab9773594f4933611
[SCSI] libfc, fcoe: normalize format specifies for world wide names

Print all world wide node names (node, port and fabric) with the same
format specifier of "%16.16llx".  That makes sure they all print as a
16 character hex string, with lower case letters, no 0x prefix, and
without stripping off any leading 0s.

Signed-off-by: Chris Leech <christopher.leech@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/fcoe/fcoe.c
drivers/scsi/fcoe/libfcoe.c
drivers/scsi/libfc/fc_disc.c
drivers/scsi/libfc/fc_lport.c