drm/ast: Only warn about unsupported TX chips on Gen4 and later
[drm/drm-misc.git] / include / linux / ubsan.h
blobd8219cbe09ff8d4d504bff36b74cf72f44e4a4c1
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_UBSAN_H
3 #define _LINUX_UBSAN_H
5 #ifdef CONFIG_UBSAN_TRAP
6 const char *report_ubsan_failure(struct pt_regs *regs, u32 check_type);
7 #else
8 static inline const char *report_ubsan_failure(struct pt_regs *regs, u32 check_type)
10 return NULL;
12 #endif
14 #endif