Merge tag 'sched_ext-for-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tj...
[linux-block.git] / include / linux / ubsan.h
... / ...
CommitLineData
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _LINUX_UBSAN_H
3#define _LINUX_UBSAN_H
4
5#ifdef CONFIG_UBSAN_TRAP
6const char *report_ubsan_failure(struct pt_regs *regs, u32 check_type);
7#else
8static inline const char *report_ubsan_failure(struct pt_regs *regs, u32 check_type)
9{
10 return NULL;
11}
12#endif
13
14#endif