Re: [PATCH master] include: linux/printk.h: include <stdarg.h> to make header self-contained

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>
> ---
>  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@xxxxxxxxxxxxxxxxxxx
> 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 |

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



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux