]> git.baikalelectronics.ru Git - kernel.git/commit
dma-buf: cleanup dma_fence_unwrap selftest v2
authorChristian König <christian.koenig@amd.com>
Wed, 4 May 2022 10:28:31 +0000 (12:28 +0200)
committerChristian König <christian.koenig@amd.com>
Mon, 30 May 2022 12:12:21 +0000 (14:12 +0200)
commitfc4ec298dae13611ebbb37d746480b7816d9637a
tree720bea9a6ed1da43d5a17c628a2a7348d155346a
parent6527d3d2a64078a227cc9f26eee25e37d4170e26
dma-buf: cleanup dma_fence_unwrap selftest v2

The selftests, fix the error handling, remove unused functions and stop
leaking memory in failed tests.

v2: fix the memory leak correctly.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20220518135844.3338-2-christian.koenig@amd.com
drivers/dma-buf/st-dma-fence-unwrap.c