mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH master] include: linux/printk.h: include <stdarg.h> to make header self-contained
@ 2021-12-11  8:40 Ahmad Fatoum
  2021-12-13 22:20 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2021-12-11  8:40 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

The point of <linux/printk.h> is to have a minimal self-contained header
for use where ever printing is required. va_list was used, but not
defined, remedy this.

Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
---
 include/linux/printk.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/printk.h b/include/linux/printk.h
index 212041927251..39523b0572a0 100644
--- a/include/linux/printk.h
+++ b/include/linux/printk.h
@@ -4,6 +4,7 @@
 
 #include <linux/list.h>
 #include <printk.h>
+#include <stdarg.h>
 
 #define MSG_EMERG      0    /* system is unusable */
 #define MSG_ALERT      1    /* action must be taken immediately */
-- 
2.33.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-13 22:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-11  8:40 [PATCH master] include: linux/printk.h: include <stdarg.h> to make header self-contained Ahmad Fatoum
2021-12-13 22:20 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox