diff options
| author | James Smart <[email protected]> | 2018-10-27 19:41:54 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2018-11-02 14:14:45 +0000 |
| commit | d19b8bc82fc232d17ec45ca148388e4ba05ac4b9 (patch) | |
| tree | ebe45567a8f479d13799b88b03622a82e6360585 /drivers/scsi/mpt3sas/mpi/mpi2_raid.h | |
| parent | blkcg: revert blkcg cleanups series (diff) | |
| download | kernel-d19b8bc82fc232d17ec45ca148388e4ba05ac4b9.tar.gz kernel-d19b8bc82fc232d17ec45ca148388e4ba05ac4b9.zip | |
nvme-fc: fix request private initialization
The patch made to avoid Coverity reporting of out of bounds access
on aen_op moved the assignment of a pointer, leaving it null when it
was subsequently used to calculate a private pointer. Thus the private
pointer was bad.
Move/correct the private pointer initialization to be in sync with the
patch.
Fixes: 0d2bdf9f4134 ("nvme-fc: rework the request initialization code")
Signed-off-by: James Smart <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions
