Add WARN_ONCE definition to allow single time notification
of warnings to the user.
Taken from Linux kernel (4.17) with slight changes
(Removed __section(.data.once))
Signed-off-by: Ramon Fried
---
v2: removed change-id, added taken from description to commit message.
include/linux/bug.h | 18
From: Ramon Fried
Add WARN_ONCE definition to allow single time notification
of warnings to the user.
Change-Id: If14d878dba04f3c976c0c2ae079a0f7642047006
---
v2: accidently commited the wrong file. noticed by Masahiro Yamada
include/linux/bug.h | 18 ++
1 file changed, 18
2 matches
Mail list logo