[PATCH master] include: linux/printk.h: include <stdarg.h> to make header self-contained
Sascha Hauer
sha at pengutronix.de
Mon Dec 13 14:20:27 PST 2021
On Sat, Dec 11, 2021 at 09:40:26AM +0100, Ahmad Fatoum wrote:
> 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 at a3f.at>
> ---
> include/linux/printk.h | 1 +
> 1 file changed, 1 insertion(+)
Applied, thanks
Sascha
>
> 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 at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list