diff options
| author | Barry Song <[email protected]> | 2024-06-05 01:26:05 +0000 |
|---|---|---|
| committer | Sumit Semwal <[email protected]> | 2024-06-05 09:22:15 +0000 |
| commit | 310ec03841a36e3f45fb528f0dfdfe5b9e84b037 (patch) | |
| tree | d0e0c7b753affe38fede47b4077f31224040acef /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | drm/v3d: Fix perfmon build error/warning (diff) | |
| download | kernel-310ec03841a36e3f45fb528f0dfdfe5b9e84b037.tar.gz kernel-310ec03841a36e3f45fb528f0dfdfe5b9e84b037.zip | |
dma-buf: align fd_flags and heap_flags with dma_heap_allocation_data
dma_heap_allocation_data defines the UAPI as follows:
struct dma_heap_allocation_data {
__u64 len;
__u32 fd;
__u32 fd_flags;
__u64 heap_flags;
};
However, dma_heap_buffer_alloc() casts both fd_flags and heap_flags
into unsigned int. We're inconsistent with types in the non UAPI
arguments. This patch fixes it.
Signed-off-by: Barry Song <[email protected]>
Acked-by: John Stultz <[email protected]>
Signed-off-by: Sumit Semwal <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
