aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNicholas Mc Guire <hofrat@osadl.org>2019-04-19 01:31:08 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-19 14:59:36 +0200
commita5112277872a56017b777770e2fd4324d4a6c866 (patch)
tree18cae8bbb72af031c48c385b4661fcea87933add /tools/perf/scripts/python
parentstaging: comedi: Add lockdep_assert_held() calls for dev->attach_lock (diff)
downloadlinux-a5112277872a56017b777770e2fd4324d4a6c866.tar.gz
linux-a5112277872a56017b777770e2fd4324d4a6c866.zip
staging: vc04_services: handle kzalloc failure
The kzalloc here was being used without checking the return - if the kzalloc fails return VCHIQ_ERROR. The call-site of vchiq_platform_init_state() vchiq_init_state() was not responding to an allocation failure so checks for != VCHIQ_SUCCESS and pass VCHIQ_ERROR up to vchiq_platform_init() which then will fail with -EINVAL. Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org> Reported-by: kbuild test robot <lkp@intel.com> Acked-By: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions