Re: [PATCH V9 3/9] nvmet: add NVM command set identifier support
From: Christoph Hellwig <hch@lst.de>
Date: 2021-01-12 07:28:11
Also in:
linux-block
From: Christoph Hellwig <hch@lst.de>
Date: 2021-01-12 07:28:11
Also in:
linux-block
The Command Set Identifier has no "NVM" in its name.
+static inline bool nvmet_cc_css_check(u8 cc_css)
+{
+ switch (cc_css <<= NVME_CC_CSS_SHIFT) {
+ case NVME_CC_CSS_NVM:
+ return true;
+ default:
+ return false;
+ }
+}This hunk looks misplaced, it isn't very useful on its own, but should go together with the multiple command set support. _______________________________________________ Linux-nvme mailing list Linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme