[PATCH] include: <asm-generic/bug.h>: implement WARN_ON_ONCE

Sascha Hauer sha at pengutronix.de
Mon Jan 31 01:43:36 PST 2022


On Mon, Jan 31, 2022 at 08:53:50AM +0100, Ahmad Fatoum wrote:
> We have WARN_ON and WARN_ONCE. Add WARN_ON_ONCE as well to accommodate
> Linux driver code using it.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
>  include/asm-generic/bug.h | 12 ++++++++++++
>  1 file changed, 12 insertions(+)

Applied, thanks

Sascha


-- 
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