diff options
author | Norbert Manthey <nmanthey@amazon.de> | 2018-02-27 08:47:40 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-03-09 07:59:13 +0100 |
commit | 13a453c241b78934a945b1af572d0533612c9bd1 (patch) | |
tree | fb52ee03217dccd4863da4d168c9bb84dcd4d20c /include | |
parent | Merge branch 'linus' into sched/core, to pick up fixes (diff) | |
download | linux-dev-13a453c241b78934a945b1af572d0533612c9bd1.tar.xz linux-dev-13a453c241b78934a945b1af572d0533612c9bd1.zip |
sched/fair: Add ';' after label attributes
Due to using GCC defines for configuration, some labels might be unused in
certain configurations. While adding a __maybe_unused to the label is
fine in general, the line has to be terminated with ';'. This is also
reflected in the GCC documentation, but GCC parsed the previous variant
without an error message.
This has been spotted while compiling with goto-cc, the compiler for the
CPROVER tool suite.
Signed-off-by: Norbert Manthey <nmanthey@amazon.de>
Signed-off-by: Michael Tautschnig <tautschn@amazon.co.uk>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1519717660-16157-1-git-send-email-nmanthey@amazon.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions