Commit 170e086
committed
nvme: fix bogus kzalloc() return check in nvme_init_effects_log()
nvme_init_effects_log() returns failure when kzalloc() is successful,
which is obviously wrong and causes failures to boot. Correct the
check.
Fixes: d4a95ad ("nvme: Add error path for xa_store in nvme_init_effects")
Signed-off-by: Jens Axboe <[email protected]>1 parent e494e45 commit 170e086
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3182 | 3182 | | |
3183 | 3183 | | |
3184 | 3184 | | |
3185 | | - | |
| 3185 | + | |
3186 | 3186 | | |
3187 | 3187 | | |
3188 | 3188 | | |
| |||
0 commit comments