diff options
| author | Ross Lagerwall <[email protected]> | 2023-01-20 17:43:54 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2023-01-23 16:42:11 +0000 |
| commit | 98e3528012cd571c48bbae7c7c0f868823254b6c (patch) | |
| tree | e421e2cf07afe503b450988888c1e92c76a9dbc8 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | Merge tag 'nvme-6.2-2023-01-20' of git://git.infradead.org/nvme into block-6.2 (diff) | |
| download | kernel-98e3528012cd571c48bbae7c7c0f868823254b6c.tar.gz kernel-98e3528012cd571c48bbae7c7c0f868823254b6c.zip | |
nvme-fc: fix initialization order
ctrl->ops is used by nvme_alloc_admin_tag_set() but set by
nvme_init_ctrl() so reorder the calls to avoid a NULL pointer
dereference.
Fixes: 6dfba1c09c10 ("nvme-fc: use the tagset alloc/free helpers")
Signed-off-by: Ross Lagerwall <[email protected]>
Reviewed-by: Sagi Grimberg <[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
