linux/drivers/staging/android
Laura Abbott 0a2bc00341 staging: android: ion: Return an ERR_PTR in ion_map_kernel
The expected return value from ion_map_kernel is an ERR_PTR. The error
path for a vmalloc failure currently just returns NULL, triggering
a warning in ion_buffer_kmap_get. Encode the vmalloc failure as an ERR_PTR.

Reported-by: syzbot+55b1d9f811650de944c6@syzkaller.appspotmail.com
Signed-off-by: Laura Abbott <labbott@redhat.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-06-25 22:54:04 +08:00
..
ion staging: android: ion: Return an ERR_PTR in ion_map_kernel 2018-06-25 22:54:04 +08:00
uapi staging: android: ion: Fix license identifier comment format 2018-05-08 13:34:39 +02:00
Kconfig
Makefile
TODO
ashmem.c
ashmem.h staging: android: Clean up license identifiers 2018-05-08 13:24:15 +02:00
vsoc.c staging: android: vsoc: Fix ending '(' warnings in vsoc_probe_device 2018-05-08 13:24:16 +02:00