Skip to content
Commit bb0cf2bd authored by Martin George's avatar Martin George Committed by Greg Kroah-Hartman
Browse files

nvme: send Identify with CNS 06h only to I/O controllers



[ Upstream commit def84ab6 ]

Identify CNS 06h (I/O Command Set Specific Identify Controller data
structure) is supported only on i/o controllers.

But nvme_init_non_mdts_limits() currently invokes this on all
controllers.  Correct this by ensuring this is sent to I/O
controllers only.

Signed-off-by: default avatarMartin George <marting@netapp.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 3221808c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment