Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scsi: qla2xxx: Fix smatch warning in qla25xx_delete_{rsp|req}_que
This patch fixes following warnings reported by smatch: drivers/scsi/qla2xxx/qla_mid.c:586 qla25xx_delete_req_que() error: we previously assumed 'req' could be null (see line 580) drivers/scsi/qla2xxx/qla_mid.c:602 qla25xx_delete_rsp_que() error: we previously assumed 'rsp' could be null (see line 596) Fixes: 7867b98 ("scsi: qla2xxx: Fix memory leak in dual/target mode") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
- 5.17-for-mesa-ci
- a6xx-gmu-oob
- bcm2835-defconfig-64-next
- bcm2835-defconfig-next
- bcm2835-drivers-next
- bcm2835-dt-64-next
- bcm2835-dt-64-next-v2
- bcm2835-dt-next
- bcm2835-dt-next-v2
- bcm2835-maintainers-fixes
- bcm2835-maintainers-next
- bcm2835-power
- bcm2835-rpi-poe-hat
- bcm2835-soc-next
- cheza-pagetables
- db820c-mesa-ci
- db820c-mesa-upstream
- db820c-upstream-cpufreq
- drm-misc-next-hx8357d
- drm-msm-a5xx-fixes
- drm-msm-address-space
- drm-v3d-cs
- drm-v3d-tfu
- drm-vc4-debugfs-regs
- drm-vc4-dpi
- drm-vc4-misc
- drm-vc4-sand
- for-next
- gitlab-ci
- mesa-ci-5.12rc5
- v3d-gmp
- v5.14-rc3-for-mesa-ci
- vc5