aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2018-02-22 17:50:12 +0000
committerJames Hogan <[email protected]>2018-02-23 09:35:54 +0000
commit1b22b4b28fd5fbc51855219e3238b3ab81da8466 (patch)
treeeb9760274125b673e319c4baebc7006caf948ff5 /tools/perf/scripts/python/export-to-postgresql.py
parent6ae1756faddefd7494353380ee546dd38c2f97eb (diff)
MIPS: ath25: Check for kzalloc allocation failure
Currently there is no null check on a failed allocation of board_data, and hence a null pointer dereference will occurr. Fix this by checking for the out of memory null pointer. Fixes: a7473717483e ("MIPS: ath25: add board configuration detection") Signed-off-by: Colin Ian King <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: [email protected] Cc: <[email protected]> # 3.19+ Patchwork: https://patchwork.linux-mips.org/patch/18657/ Signed-off-by: James Hogan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions