linux/drivers/scsi/isci
Colin Ian King 4bc83b3f27 scsi: isci: Fix infinite loop in while loop
In the case when the phy_mask is bitwise anded with the phy_index bit is
zero the continue statement currently jumps to the next iteration of the
while loop and phy_index is never actually incremented, potentially
causing an infinite loop if phy_index is less than SCI_MAX_PHS. Fix this
by turning the while loop into a for loop.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-04-20 19:23:32 -04:00
..
host.c scsi: isci: remove redundant initialization to 'bit' 2018-02-13 21:37:06 -05:00
host.h
init.c scsi: libsas: move bus_reset_handler() to target_reset_handler() 2017-08-25 17:21:10 -04:00
isci.h scsi: isci: Convert timers to use timer_setup() 2017-10-27 02:22:00 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
phy.c scsi: isci: Convert timers to use timer_setup() 2017-10-27 02:22:00 -07:00
phy.h
port_config.c scsi: isci: Fix infinite loop in while loop 2018-04-20 19:23:32 -04:00
port.c scsi: isci: Convert timers to use timer_setup() 2017-10-27 02:22:00 -07:00
port.h
probe_roms.c
probe_roms.h
registers.h
remote_device.c
remote_device.h
remote_node_context.c
remote_node_context.h
remote_node_table.c
remote_node_table.h
request.c
request.h
sas.h
scu_completion_codes.h
scu_event_codes.h
scu_remote_node_context.h
scu_task_context.h
task.c
task.h
unsolicited_frame_control.c
unsolicited_frame_control.h