Re: [PATCH] scsi: mpt3sas: Fix incorrectly assigned error return and check

From: Martin K. Petersen
Date: Tue Aug 10 2021 - 01:17:15 EST


On Wed, 4 Aug 2021 14:49:40 +0100, Colin King wrote:

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Currently the call to _base_static_config_pages is assigning the error
> return to variable rc but checking the error return in error r. Fix this
> by assigning the error return to variable r instread of rc.
>
>
> [...]

Applied to 5.14/scsi-fixes, thanks!

[1/1] scsi: mpt3sas: Fix incorrectly assigned error return and check
https://git.kernel.org/mkp/scsi/c/40d32727931c

--
Martin K. Petersen Oracle Linux Engineering