aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorLogan Gunthorpe <[email protected]>2020-07-24 11:25:12 -0600
committerChristoph Hellwig <[email protected]>2020-07-29 07:45:20 +0200
commit2bf5d3bbffad06639db518c8dcf8a14c7dce770e (patch)
tree02bc202bfbaf5ab02a22566a8d6cc9a93bc3f056 /lib/test_overflow.c
parentece0278c1c96905c53a6cbb253927530fc707cfa (diff)
nvme: clear any SGL flags in passthru commands
The host driver should decide whether to use SGLs or PRPs and they currently assume the flags are cleared after the call to nvme_setup_cmd(). However, passed-through commands may erroneously set these bits; so clear them for all cases. Signed-off-by: Logan Gunthorpe <[email protected]> Reviewed-by: Keith Busch <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions