kernel_optimize_test/drivers/scsi/aacraid
Dan Carpenter 25c21d20bc scsi: aacraid: Fix an oops in error handling
If the memdup_user() function fails then it results in an Oops in the
error handling code when we try to kfree() and error pointer.

Link: https://lore.kernel.org/r/20200513093703.GB347693@mwanda
Fixes: 8d925b1f00 ("scsi: aacraid: Use memdup_user() as a cleanup")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2020-05-14 20:24:01 -04:00
..
aachba.c scsi: core: Remove 'list' entry from struct scsi_cmnd 2020-05-07 21:06:20 -04:00
aacraid.h scsi: aacraid: bump version 2019-10-18 19:34:18 -04:00
commctrl.c scsi: aacraid: Fix an oops in error handling 2020-05-14 20:24:01 -04:00
comminit.c scsi: aacraid: use scsi_host_busy_iter() to wait for outstanding commands 2020-02-28 20:54:52 -05:00
commsup.c scsi: aacraid: Make some symbols static 2020-05-07 22:01:02 -04:00
dpcsup.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 18 2019-05-21 11:28:46 +02:00
linit.c scsi: aacraid: Make some symbols static 2020-05-07 22:01:02 -04:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
nark.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 18 2019-05-21 11:28:46 +02:00
rkt.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 18 2019-05-21 11:28:46 +02:00
rx.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 18 2019-05-21 11:28:46 +02:00
sa.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 18 2019-05-21 11:28:46 +02:00
src.c scsi: aacraid: fixed firmware assert issue 2019-10-18 19:34:17 -04:00
TODO