diff options
| author | Pankaj Raghav <[email protected]> | 2022-12-01 12:52:34 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2022-12-06 08:05:59 +0000 |
| commit | 6f2d71524bcfdeb1fcbd22a4a92a5b7b161ab224 (patch) | |
| tree | 36f4817d7117543f1b8fe88d9e35151d9cfea491 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | nvme: fix SRCU protection of nvme_ns_head list (diff) | |
| download | kernel-6f2d71524bcfdeb1fcbd22a4a92a5b7b161ab224.tar.gz kernel-6f2d71524bcfdeb1fcbd22a4a92a5b7b161ab224.zip | |
nvme initialize core quirks before calling nvme_init_subsystem
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: ab9e00cc72fa ("nvme: track subsystems")
Signed-off-by: Pankaj Raghav <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
