aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorMinwoo Im <minwoo.im.dev@gmail.com>2020-11-05 23:28:47 +0900
committerChristoph Hellwig <hch@lst.de>2020-11-14 09:57:55 +0100
commit0f0d2c876c96d4908a9ef40959a44bec21bdd6cf (patch)
treeed1c26558b7c6bfba30767390465be4f89a1ac8a /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parent9f16a66733c90b5f33f624b0b0e36a345b0aaf93 (diff)
nvme: free sq/cq dbbuf pointers when dbbuf set fails
If Doorbell Buffer Config command fails even 'dev->dbbuf_dbs != NULL' which means OACS indicates that NVME_CTRL_OACS_DBBUF_SUPP is set, nvme_dbbuf_update_and_check_event() will check event even it's not been successfully set. This patch fixes mismatch among dbbuf for sq/cqs in case that dbbuf command fails. Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions