printk: Make the printk*once() variants return a value
authorBorislav Petkov <bp@suse.de>
Mon, 4 Jul 2016 22:31:26 +0000 (00:31 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 8 Jul 2016 09:33:18 +0000 (11:33 +0200)
commit069f0cd00df0abfb9252e0dbdc355e40e6ab75fc
treea86d2acab5de6d9eb06c9325e883ec8f75d00ef2
parentef16dd0c2a523d2e3975bb1bea9f5727e3e7146f
printk: Make the printk*once() variants return a value

Have printk*once() return a bool which denotes whether the string was
printed or not so that calling code can react accordingly.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
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/1467671487-10344-3-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/printk.h