Skip to content
Commit 13a453c2 authored by Norbert Manthey's avatar Norbert Manthey Committed by Ingo Molnar
Browse files

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: default avatarNorbert Manthey <nmanthey@amazon.de>
Signed-off-by: default avatarMichael Tautschnig <tautschn@amazon.co.uk>
Signed-off-by: default avatarPeter 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: default avatarIngo Molnar <mingo@kernel.org>
parent fc4c5a38
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment