summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2025-08-13 08:49:08 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2025-08-14 23:22:46 -0400
commit9dcf111dd3e7ed5fce82bb108e3a3fc001c07225 (patch)
treeaf12b0f95d7390db36afa6be6a2929146d096d94 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent823f95575d85454ccad7d5b684aec42e57b962f6 (diff)
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 <dan.carpenter@linaro.org> Link: https://lore.kernel.org/r/aJwnVKS9tHsw1tEu@stanley.mountain Reviewed-by: Chris Leech <cleech@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions