Re: [PATCH] scsi: csiostor: Fix dereference of null pointer rn

From: Martin K. Petersen

Date: Tue Feb 03 2026 - 22:34:49 EST



Colin,

> The error exit path when rn is NULL ends up deferencing the null
> pointer rn via the use of the macro CSIO_INC_STATS. Fix this by
> adding a new error return path label after the use of the macro
> to avoid the deference.

Applied to 6.20/scsi-staging, thanks!

--
Martin K. Petersen