Skip to content
Snippets Groups Projects
Commit 948f32c8 authored by Ramon Fried's avatar Ramon Fried Committed by Tom Rini
Browse files

bug.h: introduce WARN_ONCE


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: default avatarRamon Fried <ramon.fried@gmail.com>
[trini: Drop the musb and dwc3 compat versions]
Signed-off-by: default avatarTom Rini <trini@konsulko.com>
parent 46960ad6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment