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
..
2018-04-03 17:38:39 -07:00
2018-03-15 00:35:43 -04:00
2018-04-03 17:38:39 -07:00
2018-04-03 17:38:39 -07:00
2018-04-05 15:05:53 -07:00
2017-12-18 13:55:43 -07:00
2018-04-05 15:05:53 -07:00
2018-04-03 17:38:39 -07:00
2018-04-05 15:05:53 -07:00
2017-12-04 20:32:53 -05:00
2017-12-04 20:32:53 -05:00
2017-08-25 17:21:11 -04:00
2017-08-24 22:29:06 -04:00
2018-04-03 17:38:39 -07:00
2017-08-25 17:21:10 -04:00
2018-03-12 21:16:58 -04:00
2018-04-05 14:27:02 -07:00
2018-03-19 22:54:47 -04:00
2018-04-03 17:38:39 -07:00
2017-11-14 16:23:44 -08:00
2018-04-03 17:38:39 -07:00
2017-11-14 16:23:44 -08:00
2018-04-05 15:05:53 -07:00
2018-01-08 22:27:32 -05:00
2018-02-11 14:34:03 -08:00
2017-12-04 20:32:53 -05:00