diff options
| author | Bart Van Assche <[email protected]> | 2018-10-18 22:45:45 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2018-10-24 01:32:34 +0000 |
| commit | 5b0af4777b1bf397787f03336f0db34f185ca565 (patch) | |
| tree | 82daff70aa2809d74e26e2d1b1b7f3f0a3e8e690 /drivers/scsi/mpt3sas/mpi/mpi2_raid.h | |
| parent | scsi: qla2xxx: Remove a set-but-not-used variable (diff) | |
| download | kernel-5b0af4777b1bf397787f03336f0db34f185ca565.tar.gz kernel-5b0af4777b1bf397787f03336f0db34f185ca565.zip | |
scsi: qla2xxx: Make sure that qlafx00_ioctl_iosb_entry() initializes 'res'
Only one of the two code paths in qlafx00_ioctl_iosb_entry() initializes
the variable 'res'. Make sure that 'res' is initialized before
sp->done(sp, res) is called.
Cc: Himanshu Madhani <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Acked-by: Himanshu Madhani <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions
