1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _SKC_LINUX_BUG_H 3 #define _SKC_LINUX_BUG_H 4 5 #include <stdio.h> 6 #include <stdlib.h> 7 8 #define WARN_ON(cond) \ 9 ((cond) ? printf("Internal warning(%s:%d, %s): %s\n", \ 10 __FILE__, __LINE__, __func__, #cond) : 0) 11 12 #endif 13