linux/drivers/dma-buf/heaps
Barry Song b9578c4945 dma-buf/heaps: Correct the types of fd_flags and heap_flags
dma_heap_allocation_data defines the UAPI as follows:

 struct dma_heap_allocation_data {
        __u64 len;
        __u32 fd;
        __u32 fd_flags;
        __u64 heap_flags;
 };

But dma heaps are casting both fd_flags and heap_flags into
unsigned long. This patch makes dma heaps - cma heap and
system heap have consistent types with UAPI.

Signed-off-by: Barry Song <v-songbaohua@oppo.com>
Acked-by: John Stultz <jstultz@google.com>
Reviewed-by: Carlos Llamas <cmllamas@google.com>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240606020213.49854-1-21cnbao@gmail.com
2024-06-19 20:05:34 +05:30
..
cma_heap.c dma-buf/heaps: Correct the types of fd_flags and heap_flags 2024-06-19 20:05:34 +05:30
Kconfig dma-buf: heaps: Add CMA heap to dmabuf heaps 2019-12-11 11:13:37 +05:30
Makefile dma-buf: heaps: Remove heap-helpers code 2020-11-22 22:03:03 +05:30
system_heap.c dma-buf/heaps: Correct the types of fd_flags and heap_flags 2024-06-19 20:05:34 +05:30