aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorKefeng Wang <[email protected]>2016-12-07 22:44:36 +0000
committerLinus Torvalds <[email protected]>2016-12-08 01:10:00 +0000
commit166ad0e1e2132ff0cda08b94af8301655fcabbcd (patch)
tree601dc97976191b7baa0ba833cd2bda2bf7745b50 /net/lapb/lapb_iface.c
parentradix tree test suite: fix compilation (diff)
downloadkernel-166ad0e1e2132ff0cda08b94af8301655fcabbcd.tar.gz
kernel-166ad0e1e2132ff0cda08b94af8301655fcabbcd.zip
kcov: add missing #include <linux/sched.h>
In __sanitizer_cov_trace_pc we use task_struct and fields within it, but as we haven't included <linux/sched.h>, it is not guaranteed to be defined. While we usually happen to acquire the definition through a transitive include, this is fragile (and hasn't been true in the past, causing issues with backports). Include <linux/sched.h> to avoid any fragility. [[email protected]: rewrote changelog] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Kefeng Wang <[email protected]> Acked-by: Mark Rutland <[email protected]> Cc: Dmitry Vyukov <[email protected]> Cc: Andrey Ryabinin <[email protected]> Cc: James Morse <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions