]> www.infradead.org Git - users/hch/nvme-cli.git/commit
Warn on admin-passthru opcode not matching read/write flag
authorKelly Ursenbach <kelly.ursenbach@eideticom.com>
Wed, 4 Dec 2019 19:45:39 +0000 (12:45 -0700)
committerKeith Busch <kbusch@kernel.org>
Wed, 4 Dec 2019 20:16:11 +0000 (13:16 -0700)
commitb867852c1f5ebcc15e5466b2ef511ff77be08bc1
tree85d1e23d00032caca9f3ec6fbc8554e601463f85
parent1a849362766155c61e3a482559b051d3bcf3a921
Warn on admin-passthru opcode not matching read/write flag

Opcode bits 1:0 indicate the direction of data transfer. These
bits should agree with the read or write flags provided.

Signed-off-by: Kelly Ursenbach <kelly.ursenbach@eideticom.com>
nvme.c