Commit 6f2d715
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: ab9e00c ("nvme: track subsystems")
Signed-off-by: Pankaj Raghav <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>1 parent 899d2a0 commit 6f2d715
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3095 | 3095 | | |
3096 | 3096 | | |
3097 | 3097 | | |
3098 | | - | |
3099 | | - | |
3100 | | - | |
3101 | | - | |
3102 | 3098 | | |
3103 | 3099 | | |
3104 | 3100 | | |
| |||
3111 | 3107 | | |
3112 | 3108 | | |
3113 | 3109 | | |
| 3110 | + | |
| 3111 | + | |
| 3112 | + | |
| 3113 | + | |
3114 | 3114 | | |
3115 | 3115 | | |
3116 | 3116 | | |
| |||
0 commit comments