aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorNicholas Mc Guire <[email protected]>2019-02-15 10:24:22 +0100
committerGreg Kroah-Hartman <[email protected]>2019-02-19 11:12:08 +0100
commite4b08e16b7d9d030b6475ef48f94d734a39f3c81 (patch)
tree3e02c6f52f1240a234ceaeeff3f36f2b0d28c56f /tools/perf/scripts/python/futex-contention.py
parent9bcf065e28122588a6cbee08cf847826dacbb438 (diff)
staging: r8822be: check kzalloc return or bail
The kzalloc() in halmac_parse_psd_data_88xx() can fail and return NULL so check the psd_set->data after allocation and if allocation failed return HALMAC_CMD_PROCESS_ERROR. Signed-off-by: Nicholas Mc Guire <[email protected]> Fixes: 938a0447f094 ("staging: r8822be: Add code for halmac sub-drive") Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions