summaryrefslogtreecommitdiffstats
path: root/kernel/uid16.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2008-11-11 15:28:41 -0500
committerIngo Molnar <mingo@elte.hu>2008-11-11 22:02:35 +0100
commit3e89c7bb92fc92bb964734341487798c8d497bae (patch)
tree9b20d0a934152220981e3a25c27ee0d799bc9de3 /kernel/uid16.c
parentf83c9d0fe42a7544b4d4ffcebb2e6716fcfd95c0 (diff)
downloadop-kernel-dev-3e89c7bb92fc92bb964734341487798c8d497bae.zip
op-kernel-dev-3e89c7bb92fc92bb964734341487798c8d497bae.tar.gz
ring-buffer: clean up warn ons
Impact: Restructure WARN_ONs in ring_buffer.c The current WARN_ON macros in ring_buffer.c are quite ugly. This patch cleans them up and uses a single RB_WARN_ON that returns the value of the condition. This allows the caller to abort the function if the condition is true. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/uid16.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud