aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/core.c
diff options
context:
space:
mode:
authorJia-Ju Bai <[email protected]>2021-03-08 03:52:41 +0000
committerMartin K. Petersen <[email protected]>2021-03-25 02:07:45 +0000
commit3401ecf7fc1b9458a19d42c0e26a228f18ac7dda (patch)
treed58ebb246e900bec7b657f69740fa6b950a83436 /drivers/usb/cdns3/core.c
parentscsi: qedi: Fix error return code of qedi_alloc_global_queues() (diff)
downloadkernel-3401ecf7fc1b9458a19d42c0e26a228f18ac7dda.tar.gz
kernel-3401ecf7fc1b9458a19d42c0e26a228f18ac7dda.zip
scsi: mpt3sas: Fix error return code of mpt3sas_base_attach()
When kzalloc() returns NULL, no error return code of mpt3sas_base_attach() is assigned. To fix this bug, r is assigned with -ENOMEM in this case. Link: https://lore.kernel.org/r/[email protected] Fixes: c696f7b83ede ("scsi: mpt3sas: Implement device_remove_in_progress check in IOCTL path") Reported-by: TOTE Robot <[email protected]> Signed-off-by: Jia-Ju Bai <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/core.c')
0 files changed, 0 insertions, 0 deletions