Dan, > We wanted to exit the loop with "div" set to zero, but instead, if we > don't hit the break then "div" is -1 when we finish the loop. It > leads to an array underflow a few lines later. Applied to 4.16/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering