summaryrefslogtreecommitdiff
path: root/kernel/cred.c
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2020-09-14 14:39:50 +0206
committerPetr Mladek <pmladek@suse.com>2020-09-15 15:44:49 +0200
commite3bc0401c1de2feb15601685b85b4dea45130386 (patch)
tree4382d0415d7f72a7fb9a9cde0ebe4f80573e871e /kernel/cred.c
parent2a7f87ed05b9035ef818d0f46fe6aef5640224e3 (diff)
printk: ringbuffer: add BLK_DATALESS() macro
Rather than continually needing to explicitly check @begin and @next to identify a dataless block, introduce and use a BLK_DATALESS() macro. Signed-off-by: John Ogness <john.ogness@linutronix.de> Reviewed-by: Petr Mladek <pmladek@suse.com> Signed-off-by: Petr Mladek <pmladek@suse.com> Link: https://lore.kernel.org/r/20200914123354.832-3-john.ogness@linutronix.de
Diffstat (limited to 'kernel/cred.c')
0 files changed, 0 insertions, 0 deletions