+2
−1
Loading
Avoid sending CNS values other than 0 and 1 to controllers with the Identify CNS quirk added in commit 6442451b ("nvme: add a quirk for identify 0x2"). This probably doesn't affect either of the controllers with the quirk in practice, since this command is already only sent to controllers that report NVMe version 1.3 or newer, but let's add the check anyway for consistency. Change-Id: I858c28ab7d43714c501dd22d6797259054f0f0a8 Signed-off-by:Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/410941 Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>