libfc: Debug code fixes
authorBart Van Assche <bvanassche@acm.org>
Wed, 14 Aug 2013 15:32:51 +0000 (15:32 +0000)
committerRobert Love <robert.w.love@intel.com>
Wed, 4 Sep 2013 19:55:02 +0000 (12:55 -0700)
commitb20d9bfda77306c2f66a90eb94ef9db58fb1e682
tree965d772c974767e416e57027cf338dca17a357f0
parentc1d454246c1339388ed0788f34f88ee12ad58ef3
libfc: Debug code fixes

The second argument of fc_lport_error() may be a valid frame pointer.
Hence only print it as an error code if it really is an error code.

Debug statements must end in a newline. Add one where it is missing.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Cc: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
drivers/scsi/libfc/fc_exch.c
drivers/scsi/libfc/fc_lport.c