commit | e3bc0401c1de2feb15601685b85b4dea45130386 | [log] [tgz] |
---|---|---|
author | John Ogness <john.ogness@linutronix.de> | Mon Sep 14 14:39:50 2020 +0206 |
committer | Petr Mladek <pmladek@suse.com> | Tue Sep 15 15:44:49 2020 +0200 |
tree | 4382d0415d7f72a7fb9a9cde0ebe4f80573e871e | |
parent | 2a7f87ed05b9035ef818d0f46fe6aef5640224e3 [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