diff options
| author | Christophe JAILLET <[email protected]> | 2017-08-27 10:06:50 +0000 |
|---|---|---|
| committer | Pawel Moll <[email protected]> | 2017-12-04 16:48:53 +0000 |
| commit | 24771179c5c138f0ea3ef88b7972979f62f2d5db (patch) | |
| tree | 9d39d3784b6324b6694f9c44ac1e37d71fae2707 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | bus: arm-ccn: constify attribute_group structures. (diff) | |
| download | kernel-24771179c5c138f0ea3ef88b7972979f62f2d5db.tar.gz kernel-24771179c5c138f0ea3ef88b7972979f62f2d5db.zip | |
bus: arm-ccn: Check memory allocation failure
Check memory allocation failures and return -ENOMEM in such cases
This avoids a potential NULL pointer dereference.
Signed-off-by: Christophe JAILLET <[email protected]>
Acked-by: Scott Branden <[email protected]>
Cc: [email protected] # 3.17+
Signed-off-by: Pawel Moll <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
