diff options
author | 2024-06-05 13:26:05 +1200 | |
---|---|---|
committer | 2024-06-05 14:52:15 +0530 | |
commit | 310ec03841a36e3f45fb528f0dfdfe5b9e84b037 (patch) | |
tree | d0e0c7b753affe38fede47b4077f31224040acef /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drm/v3d: Fix perfmon build error/warning (diff) | |
download | wireguard-linux-310ec03841a36e3f45fb528f0dfdfe5b9e84b037.tar.xz wireguard-linux-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 <v-songbaohua@oppo.com>
Acked-by: John Stultz <jstultz@google.com>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240605012605.5341-1-21cnbao@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions