mirror of
https://gitee.com/openharmony/kernel_linux
synced 2025-05-25 16:16:36 +00:00

BUG_ON() is rather useless for debugging as it leads to panic(). Use WARN_ON() and handle the error cases accordingly. Signed-off-by: Takashi Iwai <tiwai@suse.de>