Re: [PATCH] scsi: qla4xxx: Prevent a potential error pointer dereference

From: Martin K. Petersen
Date: Thu Aug 14 2025 - 23:39:23 EST


On Wed, 13 Aug 2025 08:49:08 +0300, Dan Carpenter wrote:

> The qla4xxx_get_ep_fwdb() function is supposed to return NULL on error,
> but qla4xxx_ep_connect() returns error pointers. Propagating the error
> pointers will lead to an Oops in the caller, so change the error
> pointers to NULL.
>
>

Applied to 6.17/scsi-fixes, thanks!

[1/1] scsi: qla4xxx: Prevent a potential error pointer dereference
https://git.kernel.org/mkp/scsi/c/9dcf111dd3e7

--
Martin K. Petersen