Re: [PATCH] scsi: aacraid: address UBSAN warning regression

2017-11-28 Thread Martin K. Petersen
Arnd, > As reported by Meelis Roos, my previous patch causes an incorrect > calculation of the timeout, through an undefined signed integer > overflow: Applied to 4.15/scsi-fixes, thank you! -- Martin K. Petersen Oracle Linux Engineering

[PATCH] scsi: aacraid: address UBSAN warning regression

2017-11-28 Thread Arnd Bergmann
As reported by Meelis Roos, my previous patch causes an incorrect calculation of the timeout, through an undefined signed integer overflow: [ 12.228155] UBSAN: Undefined behaviour in drivers/scsi/aacraid/commsup.c:2514:49 [ 12.228229] signed integer overflow: [ 12.228283] 964297611 * 250 ca