[PATCH 4.9 01/62] staging: ion: Prevent incorrect reference counting behavour

2021-12-06 Thread Greg Kroah-Hartman
From: Lee Jones Supply additional checks in order to prevent unexpected results. Fixes: b892bf75b2034 ("ion: Switch ion to use dma-buf") Suggested-by: Dan Carpenter Signed-off-by: Lee Jones Signed-off-by: Greg Kroah-Hartman --- drivers/staging/android/ion/ion.c |6 ++ 1 file changed

[PATCH 4.4 01/52] staging: ion: Prevent incorrect reference counting behavour

2021-12-06 Thread Greg Kroah-Hartman
From: Lee Jones Supply additional checks in order to prevent unexpected results. Fixes: b892bf75b2034 ("ion: Switch ion to use dma-buf") Suggested-by: Dan Carpenter Signed-off-by: Lee Jones Signed-off-by: Greg Kroah-Hartman --- drivers/staging/android/ion/ion.c |6 ++ 1 file changed