]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: improve the NVME_CONNECT_AUTHREQ* definitions
authorChristoph Hellwig <hch@lst.de>
Tue, 20 Sep 2022 13:38:58 +0000 (15:38 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 27 Sep 2022 07:22:09 +0000 (09:22 +0200)
commit4e8fec6aa9fc5895cfbec4041da850fa2c09b00c
treeb0b8916ef9b48caa7dda30b51bcec75664b99317
parent6413b80d5a7389cd7220f221aaf3b459a8621e07
nvme: improve the NVME_CONNECT_AUTHREQ* definitions

Mark them as unsigned so that we don't need extra casts, and define
them relative to cdword0 instead of requiring extra shifts.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Hannes Reinecke <hare@suse.de>
drivers/nvme/target/fabrics-cmd.c
include/linux/nvme.h