linux/drivers/scsi/elx/libefc
Colin Ian King 99cf922692 scsi: elx: libefc: Fix less than zero comparison of a unsigned int
The comparison of the u32 variable rc to less than zero always false
because it is unsigned. Fix this by making it an int.

Link: https://lore.kernel.org/r/20210616170401.15831-1-colin.king@canonical.com
Fixes: 202bfdffae ("scsi: elx: libefc: FC node ELS and state handling")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Addresses-Coverity: ("Unsigned compared against 0")
2021-06-18 23:01:04 -04:00
..
efc_cmds.c scsi: elx: libefc: Register discovery objects with hardware 2021-06-15 23:39:30 -04:00
efc_cmds.h scsi: elx: libefc: Register discovery objects with hardware 2021-06-15 23:39:30 -04:00
efc_device.c scsi: elx: libefc: Fix less than zero comparison of a unsigned int 2021-06-18 23:01:04 -04:00
efc_device.h scsi: elx: libefc: FC node ELS and state handling 2021-06-15 23:39:30 -04:00
efc_domain.c scsi: elx: libefc: FC Domain state machine interfaces 2021-06-15 23:39:30 -04:00
efc_domain.h scsi: elx: libefc: FC Domain state machine interfaces 2021-06-15 23:39:30 -04:00
efc_els.c scsi: elx: libefc: Extended link Service I/O handling 2021-06-15 23:39:30 -04:00
efc_els.h scsi: elx: libefc: Extended link Service I/O handling 2021-06-15 23:39:30 -04:00
efc_fabric.c scsi: elx: libefc: Fabric node state machine interfaces 2021-06-15 23:39:30 -04:00
efc_fabric.h scsi: elx: libefc: Fabric node state machine interfaces 2021-06-15 23:39:30 -04:00
efc_node.c scsi: elx: libefc: Remote node state machine interfaces 2021-06-15 23:39:30 -04:00
efc_node.h scsi: elx: libefc: Remote node state machine interfaces 2021-06-15 23:39:30 -04:00
efc_nport.c scsi: elx: libefc: SLI and FC PORT state machine interfaces 2021-06-15 23:39:30 -04:00
efc_nport.h scsi: elx: libefc: SLI and FC PORT state machine interfaces 2021-06-15 23:39:30 -04:00
efc_sm.c
efc_sm.h
efc.h
efclib.c
efclib.h