drm/i915/dmabuf: dmabuf cleanup
authorMichael J. Ruhl <michael.j.ruhl@intel.com>
Fri, 28 Oct 2022 15:50:28 +0000 (16:50 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Mon, 31 Oct 2022 14:16:13 +0000 (14:16 +0000)
commit81aa3f8e26e0fd8bffcaaaaf7e7a79ccc0a46111
tree631d9129455abb42c0cf8f5a6273113f914ea36d
parent6427ab570c30cdfbbf00d2ae334d2ec47ce80c73
drm/i915/dmabuf: dmabuf cleanup

Some minor cleanup of some variables for consistency.

Normalize struct sg_table to sgt.
Normalize struct dma_buf_attachment to attach.
checkpatch issues sizeof(), !NULL updates.

Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221028155029.494736-3-matthew.auld@intel.com
drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c