[ Upstream commit 6299358d ]
If a device provides an NQN it is expected to be globally unique.
Unfortunately some firmware revisions for Intel 760p/Pro 7600p devices did
not satisfy this requirement. In these circumstances if a system has >1
affected device then only one device is enabled. If this quirk is enabled
then the device supplied subnqn is ignored and we fallback to generating
one as if the field was empty. In this case we also suppress the version
check so we don't print a warning when the quirk is enabled.
Reviewed-by: Keith Busch <firstname.lastname@example.org>
Signed-off-by: James Dingwall <email@example.com>
Signed-off-by: Christoph Hellwig <firstname.lastname@example.org>
Signed-off-by: Sasha Levin <email@example.com>