aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorKanchan Joshi <[email protected]>2021-04-27 06:47:47 +0000
committerChristoph Hellwig <[email protected]>2021-05-04 07:35:49 +0000
commit51ad06cd698cb9ff280a769ed8d57210a1d2266d (patch)
treee0473e5abf54d0703ed08fa09aa7fd9d05d44494 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parentnvme: add nvme_get_ns helper (diff)
downloadkernel-51ad06cd698cb9ff280a769ed8d57210a1d2266d.tar.gz
kernel-51ad06cd698cb9ff280a769ed8d57210a1d2266d.zip
nvme: avoid memset for passthrough requests
nvme_clear_nvme_request() clears the nvme_command, which is unncessary for passthrough requests as nvme_command is overwritten immediately. Move clearing part from this helper to the caller, so that double memset for passthrough requests is avoided. Signed-off-by: Kanchan Joshi <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions