diff options
author | 2018-06-11 11:06:53 -0700 | |
---|---|---|
committer | 2018-06-25 22:54:04 +0800 | |
commit | 0a2bc00341dcfcc793c0dbf4f8d43adf60458b05 (patch) | |
tree | 56d8e43eea661ff40a4e39e9d7cd8a2fc0ecd69d /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | staging: comedi: quatech_daqp_cs: fix no-op loop daqp_ao_insn_write() (diff) | |
download | wireguard-linux-0a2bc00341dcfcc793c0dbf4f8d43adf60458b05.tar.xz wireguard-linux-0a2bc00341dcfcc793c0dbf4f8d43adf60458b05.zip |
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>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions