Files
linux/drivers/scsi
Dan Carpenter 9dcf111dd3 scsi: qla4xxx: Prevent a potential error pointer dereference
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.

Fixes: 13483730a1 ("[SCSI] qla4xxx: fix flash/ddb support")
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Chris Leech <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
2025-08-14 23:22:46 -04:00
..
2025-07-14 21:10:30 -04:00
2025-06-09 21:30:14 -04:00
2024-12-09 21:59:52 -05:00
2024-12-09 21:59:52 -05:00
…
…
2024-12-09 21:59:52 -05:00
…
…
2024-12-09 21:59:52 -05:00
…
…
…
…
2024-12-09 21:59:52 -05:00
…
…
…
2024-12-09 21:59:52 -05:00
2024-12-09 21:59:52 -05:00
…
2024-12-09 21:59:52 -05:00
2024-03-10 18:15:48 -04:00
…
2024-12-09 21:59:52 -05:00
2025-01-02 13:42:35 -05:00
…
…
…
…
…
2024-12-09 21:59:52 -05:00
…
2025-05-05 13:22:39 -06:00
…
2024-12-09 21:59:52 -05:00
…
2025-05-05 13:22:39 -06:00
…
2025-02-03 18:04:55 -05:00
…
…
…
…
2024-08-12 22:05:50 -04:00
2024-08-12 22:05:50 -04:00
2024-12-09 21:59:52 -05:00
…
…
2025-05-05 13:22:39 -06:00
…
…
…
2024-06-20 15:19:17 -06:00
…
2024-12-09 21:59:52 -05:00
…
…
…