Re: [PATCH][V2] scsi: aacraid: rcode is unsigned and should be signed int

From: Martin K. Petersen
Date: Tue Feb 07 2017 - 17:23:39 EST


>>>>> "Colin" == Colin King <colin.king@xxxxxxxxxxxxx> writes:

Colin> aac_fib_send can return -ve error returns and hence rcode should
Colin> be signed. Currently the rcode >= 0 check is always true and -ve
Colin> errors are not being checked.

Colin> Thanks to Dan Carpenter for spotting my original broken fix to
Colin> this issue.

Applied to 4.11/scsi-queue.

--
Martin K. Petersen Oracle Linux Engineering