diff options
author | Klaus Jensen <k.jensen@samsung.com> | 2021-06-17 21:06:52 +0200 |
---|---|---|
committer | Klaus Jensen <k.jensen@samsung.com> | 2021-06-29 07:16:25 +0200 |
commit | 2a132309e45dfce6dcae901388c05c3cc3cb8d73 (patch) | |
tree | 7affa08177d0c5a2bfad9caf08078fe9d4703425 /block | |
parent | 189a8bf7f64aff9c2e26a6e6f2adc654eb9bbe81 (diff) |
hw/nvme: use prinfo directly in nvme_check_prinfo and nvme_dif_check
The nvme_check_prinfo() and nvme_dif_check() functions operate on the
16 bit "control" member of the NvmeCmd. These functions do not otherwise
operate on an NvmeCmd or an NvmeRequest, so change them to expect the
actual 4 bit PRINFO field and add constants that work on this field as
well.
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions