aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/compression.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2025-08-13 05:49:08 +0000
committerMartin K. Petersen <[email protected]>2025-08-15 03:22:46 +0000
commit9dcf111dd3e7ed5fce82bb108e3a3fc001c07225 (patch)
treeaf12b0f95d7390db36afa6be6a2929146d096d94 /fs/btrfs/compression.c
parentscsi: ufs: ufs-pci: Add support for Intel Wildcat Lake (diff)
downloadkernel-9dcf111dd3e7ed5fce82bb108e3a3fc001c07225.tar.gz
kernel-9dcf111dd3e7ed5fce82bb108e3a3fc001c07225.zip
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: 13483730a13b ("[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]>
Diffstat (limited to 'fs/btrfs/compression.c')
0 files changed, 0 insertions, 0 deletions