be2iscsi: including patch from Dan Carpenter
Subsystems (2)
PATCH 6/12 be2iscsi: including patch from Dan Carpenter
This patch fixes a negative value being returned when
the return is declared as unsigned char.
Signed-off-by Dan Carpenter <[email protected]>
Signed-off-by Jayamohan Kallickal <[email protected]>
--- drivers/scsi/be2iscsi/be_mgmt.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/scsi/be2iscsi/be_mgmt.c +1 -1
@@ -81,7 +81,7 @@ unsigned char mgmt_check_supported_fw(struct be_ctrl_info *ctrl,SE_DEBUG (DBG_LVL_1 ,"Failed to allocate memory for mgmt_check_supported_fw" "\n" ); -return -1 ; +return 1 ; } nonemb_cmd.size =sizeof (struct be_mgmt_controller_attributes ); req = nonemb_cmd.va;
Signature · 1 line
1.6.5.2