summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2018-10-08 14:28:46 -0700
committerChristoph Hellwig <hch@lst.de>2018-10-17 08:58:29 +0200
commit0d2bdf9f4134582bc7c4b82cb516cb27952127d0 (patch)
tree4eeccf6e4311a005ff3123712d4c2d499b3720b5 /mm
parentd3d0bc78be300098104d9fde9ca1330694a70f45 (diff)
downloadtalos-obmc-linux-0d2bdf9f4134582bc7c4b82cb516cb27952127d0.tar.gz
talos-obmc-linux-0d2bdf9f4134582bc7c4b82cb516cb27952127d0.zip
nvme-fc: rework the request initialization code
Instead of setting and then clearing the first_sgl pointer for AEN requests, leave that pointer zero. This patch does not change how requests are initialized but avoids that Coverity reports the following complaint for nvme_fc_init_aen_ops(): CID 1418400 (#1 of 1): Out-of-bounds access (OVERRUN) 4. overrun-buffer-val: Overrunning buffer pointed to by aen_op of 312 bytes by passing it to a function which accesses it at byte offset 312. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: James Smart <james.smart@broadcom.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud