]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] libfc: recode incoming PRLI handling
authorJoe Eykholt <jeykholt@cisco.com>
Sat, 13 Mar 2010 00:07:36 +0000 (16:07 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 14:23:33 +0000 (09:23 -0500)
commite16f19cde4a61ef591dccdb2e0d9cd4b1cf5da76
treedf6fd29c5b7b8459077c09be3dac6829b22ae58a
parent29e98008cf04cebb3a041b5ab7f8d5a093049068
[SCSI] libfc: recode incoming PRLI handling

Reduce indentation in fc_rport_recv_prli_req() using gotos.
Also add payload length checks.

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