zfcp: properly format LUN (and WWPN) for LUN sharing violation kmsg
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hannes Reinecke
Reviewed-byQuoted 21 lines · Steffen Maier
zfcp: <devbusid>: LUN
0x0on port0x5005076......... ...
zfcp: <devbusid>: LUN0x1000000000000on port0x5005076......... ...should be
zfcp: <devbusid>: LUN
0x0000000000000000on port0x5005076......... ...
zfcp: <devbusid>: LUN0x0001000000000000on port0x5005076.........
is already in use by CSS., MIF Image ID .Signed-off-by Steffen Maier <[email protected]>Reviewed-by Benjamin Block <[email protected]>--- drivers/s390/scsi/zfcp_fsf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/s390/scsi/zfcp_fsf.c +0
-0
drivers/s390/scsi/zfcp_fsf.c static void zfcp_fsf_open_lun_handler(struct zfcp_fsf_req *req) · line 1817
Quoted 8 lines
drivers/s390/scsi/zfcp_fsf.c +1
-1@@ -1811,7 +1811,7 @@ static void zfcp_fsf_open_lun_handler(struct zfcp_fsf_req *req)case FSF_LUN_SHARING_VIOLATION :if (qual->word[0 ]) dev_warn(&zfcp_sdev->port->adapter->ccw_device->dev, - "LUN 0x%Lx on port 0x%Lx is already in " + "LUN 0x%016Lx on port 0x%016Lx is already in " "use by CSS%d, MIF Image ID %x\n", zfcp_scsi_dev_lun(sdev), (unsigned long long)zfcp_sdev->port->wwpn,
Reviewed-by Hannes Reinecke <[email protected]>
Cheers,
Hannes
Signature · 5 lines
Dr. Hannes Reinecke Teamlead Storage & Networking [email protected] +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N�rnberg GF: F. Imend�rffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG N�rnberg)