WSL2-Linux-Kernel/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 staging: android: Kconfig; Remove excessive hyphens 2018-05-08 13:24:15 +02:00
Makefile staging: Android: Add 'vsoc' driver for cuttlefish. 2018-04-23 14:51:37 +02:00
TODO staging: Android: vsoc: Create wc kernel mapping for region shm. 2018-05-03 13:53:03 -07:00
ashmem.c drivers:staging:android:ashmem: Changing return type from int to loff_t 2018-03-19 19:43:24 +01:00
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