[SCSI] zfcp: Dont use 0 to indicate invalid LUN in rec trace
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Wed, 17 Feb 2010 10:18:54 +0000 (11:18 +0100)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 17 Feb 2010 23:46:27 +0000 (17:46 -0600)
commitd21e9daa63e009ce5b87bbcaa6d11ce48e07bbbe
treee09b0f6c6e6016ad0a425afe0a7e10b89c3138ac
parent22ed130719987d1081831dc1481160b216224ffd
[SCSI] zfcp: Dont use 0 to indicate invalid LUN in rec trace

0 is a valid value for a LUN. It is slightly confusing to also see 0
in the trace entries relating to adapter and port. Change this to use
0xFFFFFFFFFFFFFFFF in the LUN field when the trace entry does not
relate to a LUN or unit.

Reviewed-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/s390/scsi/zfcp_dbf.c
drivers/s390/scsi/zfcp_dbf.h
This page took 0.024759 seconds and 5 git commands to generate.