linux/drivers/dma-buf
John Stultz 58f0e25d0d ANDROID: dma-buf: Fix error path on system heaps use of the page pool
Daniel Mentz relayed to me that Janghyuck Kim noted that
dma_buf_page_pool_create() returns NULL on error, so the
IS_ERR() check on the return value will never be true.

This patch fixes up the checking so we look for NULL instead and
properly return ENOMEM in that case.

Cc: Daniel Mentz <danielmentz@google.com>
Reported-by: Janghyuck Kim <janghyuck.kim@samsung.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Fixes: 23762f02e1 ("ANDROID: dma-buf: system_heap: Add pagepool support to system heap")
Change-Id: Ia428e262cda5cc6bd39a3fbcddade7877473a563
2021-03-19 09:04:07 +00:00
..
heaps ANDROID: dma-buf: Fix error path on system heaps use of the page pool 2021-03-19 09:04:07 +00:00
dma-buf-sysfs-stats.c ANDROID: dmabuf: Add mmap_count to struct dmabuf 2021-02-11 16:51:57 +00:00
dma-buf-sysfs-stats.h BACKPORT: FROMLIST: dmabuf: Add the capability to expose DMA-BUF stats in sysfs 2021-02-02 18:47:43 +00:00
dma-buf.c ANDROID: dma-buf: add get_each_dmabuf function 2021-03-09 03:44:12 +00:00
dma-fence-array.c
dma-fence-chain.c dma-buf: fence-chain: Document missing dma_fence_chain_init() parameter in kerneldoc 2020-09-03 17:47:02 +05:30
dma-fence.c dma-buf: fix kernel-doc warning in dma-fence.c 2020-09-02 14:39:15 +02:00
dma-heap.c ANDROID: Add EXPORT_SYMBOL_GPL for dma_heap_get_name 2021-02-10 19:42:33 +00:00
dma-resv.c dma-buf/dma-resv: Respect num_fences when initializing the shared fence list. 2020-12-30 11:54:26 +01:00
Kconfig BACKPORT: FROMLIST: dmabuf: Add the capability to expose DMA-BUF stats in sysfs 2021-02-02 18:47:43 +00:00
Makefile BACKPORT: FROMLIST: dmabuf: Add the capability to expose DMA-BUF stats in sysfs 2021-02-02 18:47:43 +00:00
selftest.c
selftest.h
selftests.h Merge drm/drm-next into drm-intel-next-queued 2020-06-25 18:05:03 +03:00
seqno-fence.c
st-dma-fence-chain.c dma-buf: fix dma-fence-chain out of order test 2020-07-02 15:21:40 +02:00
st-dma-fence.c
sw_sync.c
sync_debug.c
sync_debug.h
sync_file.c - A fix for a memory leak in the dma-buf support 2019-12-09 17:13:19 +10:00
sync_trace.h
udmabuf.c drm-misc-next for 5.10: 2020-09-23 09:52:24 +10:00