aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorVladimir Zapolskiy <[email protected]>2016-03-09 23:22:19 +0000
committerMike Snitzer <[email protected]>2016-08-30 23:41:43 +0000
commit91e630d9ae6de6f740ef7c8176736eb55366833e (patch)
tree5041057fb7bb3d50805dd0de8c29d0126b337675 /tools/perf/builtin-annotate.c
parentdm log writes: fix bug with too large bios (diff)
downloadkernel-91e630d9ae6de6f740ef7c8176736eb55366833e.tar.gz
kernel-91e630d9ae6de6f740ef7c8176736eb55366833e.zip
dm log writes: fix check of kthread_run() return value
The kthread_run() function returns either a valid task_struct or ERR_PTR() value, check for NULL is invalid. This change fixes potential for oops, e.g. in OOM situation. Signed-off-by: Vladimir Zapolskiy <[email protected]> Signed-off-by: Mike Snitzer <[email protected]> Cc: [email protected]
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions