diff options
author | Marco Elver <elver@google.com> | 2020-06-16 14:36:22 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-06-29 12:04:48 -0700 |
commit | 9dd979bae4cf76558ff816abe83283308fb1ae8c (patch) | |
tree | 3fe11bc68ff8e03ee4d371c6b76ae13e8627eaee /kernel/context_tracking.c | |
parent | 2888557f68db334a3839dcc262264a4c436f576b (diff) |
kcsan: Silence -Wmissing-prototypes warning with W=1
The functions here should not be forward declared for explicit use
elsewhere in the kernel, as they should only be emitted by the compiler
due to sanitizer instrumentation. Add forward declarations a line above
their definition to shut up warnings in W=1 builds.
Link: https://lkml.kernel.org/r/202006060103.jSCpnV1g%lkp@intel.com
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/context_tracking.c')
0 files changed, 0 insertions, 0 deletions