summaryrefslogtreecommitdiff
path: root/drivers/media/cec/cec-api.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-06-20 13:24:42 +0300
committerIngo Molnar <mingo@kernel.org>2017-06-20 13:26:52 +0300
commit6d3aed3d8a0573d0a6eb1160ccd0a0713f4dbc2f (patch)
tree9914dcf5efda89292c18705b6c6aa6a15ef7fc7a /drivers/media/cec/cec-api.c
parentebfa4c02fa4806bfef189e88152b833f2a732bff (diff)
downloadlinux-6d3aed3d8a0573d0a6eb1160ccd0a0713f4dbc2f.tar.xz
sched/debug: Fix SCHED_WARN_ON() to return a value on !CONFIG_SCHED_DEBUG as well
This definition of SCHED_WARN_ON(): #define SCHED_WARN_ON(x) ((void)(x)) is not fully compatible with the 'real' WARN_ON_ONCE() primitive, as it has no return value, so it cannot be used in conditionals. Fix it. Cc: Daniel Axtens <dja@axtens.net> Cc: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/media/cec/cec-api.c')
0 files changed, 0 insertions, 0 deletions