Files
linux/drivers
Pankaj Raghav e5d18854cb nvme initialize core quirks before calling nvme_init_subsystem
[ Upstream commit 6f2d71524b ]

A device might have a core quirk for NVME_QUIRK_IGNORE_DEV_SUBNQN
(such as Samsung X5) but it would still give a:

    "missing or invalid SUBNQN field"

warning as core quirks are filled after calling nvme_init_subnqn.  Fill
ctrl->quirks from struct core_quirks before calling nvme_init_subsystem
to fix this.

Tested on a Samsung X5.

Fixes: ab9e00cc72 ("nvme: track subsystems")
Signed-off-by: Pankaj Raghav <p.raghav@samsung.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-14 11:28:30 +01:00
..
2022-11-10 17:46:54 +01:00
2022-05-01 17:00:38 +02:00
2022-12-08 11:18:34 +01:00
2022-12-14 11:28:29 +01:00
2022-04-15 14:15:00 +02:00
2022-08-25 11:15:43 +02:00