scsi/be2iscsi/be_main.c:328: possible bad if expression ?
Subsystems (2)
https://bugzilla.kernel.org/show_bug.cgi?id=67091
Alan <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected] Component|Other |Other Assignee|[email protected] |scsi_drivers-other@kernel-b |sdl.org |ugs.osdl.org Product|Drivers |SCSI Drivers
Signature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.
Quoted 4 lines · On 12/18/2013 08:24 AM, [email protected] wrote:
https://bugzilla.kernel.org/show_bug.cgi?id=67091
Alan <[email protected]> changed:
Quoted 8 lines
What |Removed |Added
----------------------------------------------------------------------------CC| |[email protected] Component|Other |Other Assignee|[email protected] |scsi_drivers-other@kernel-b |sdl.org |ugs.osdl.org Product|Drivers |SCSI Drivers
Jay,
I thought we fixed that bug. I am not seeing a patch though. I think we wanted to be checking against the sc passed in. Patch is compile tested only.
drivers/scsi/be2iscsi/be_main.c +1 -1
@@ -325,7 +325,7 @@ static int beiscsi_eh_device_reset(struct scsi_cmnd *sc)if (!abrt_task->sc || abrt_task->state ==ISCSI_TASK_FREE )continue ; -if (abrt_task->sc->device->lun != abrt_task->sc->device->lun) +if (sc->device->lun != abrt_task->sc->device->lun)continue ;/* Invalidate WRB Posted for this Task */