summaryrefslogtreecommitdiffstats
path: root/kernel/smp.c
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2018-10-27 12:41:54 -0700
committerJens Axboe <axboe@kernel.dk>2018-11-02 08:14:45 -0600
commitd19b8bc82fc232d17ec45ca148388e4ba05ac4b9 (patch)
treeebe45567a8f479d13799b88b03622a82e6360585 /kernel/smp.c
parentb5f2954d30c77649bce9c27e7a0a94299d9cfdf8 (diff)
downloadlinux-stable-d19b8bc82fc232d17ec45ca148388e4ba05ac4b9.tar.gz
linux-stable-d19b8bc82fc232d17ec45ca148388e4ba05ac4b9.tar.bz2
linux-stable-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 <jsmart2021@gmail.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/smp.c')
0 files changed, 0 insertions, 0 deletions