[SCSI] libfc: rport debug messages were printing pointer values
authorJoe Eykholt <jeykholt@cisco.com>
Tue, 25 Aug 2009 21:01:39 +0000 (14:01 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 10 Sep 2009 17:07:45 +0000 (12:07 -0500)
commitcdbe6dfece038e75214735d56cd06319b9a6df46
treee4356d4feee535ad1456a8852a610598710a4877
parentb84c7962653e4d04065d2603f0e1424ee0f455ae
[SCSI] libfc: rport debug messages were printing pointer values

Don't print large negative decimal numbers for frame pointers in
the debug messages from fc_rport_error().  Just print 0 if its a
frame pointer, and print the error numbers as positive.

Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libfc/fc_rport.c