aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAditya Pakki <[email protected]>2019-03-20 10:57:54 -0500
committerMika Westerberg <[email protected]>2019-03-22 13:23:31 +0300
commit2cc12751cf464a722ff57b54d17d30c84553f9c0 (patch)
tree9a72d0caf356d9f6ebc7a32f57d752fd631e2699 /tools/perf/scripts/python
parente4dfdd5804cce1255f99c5dd033526a18135a616 (diff)
thunderbolt: Fix to check for kmemdup failure
Memory allocated via kmemdup might fail and return a NULL pointer. This patch adds a check on the return value of kmemdup and passes the error upstream. Signed-off-by: Aditya Pakki <[email protected]> Reviewed-by: Mukesh Ojha <[email protected]> Signed-off-by: Mika Westerberg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions