Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v5.0-rc1 15 lines 441 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _LINUX_KASAN_CHECKS_H 3#define _LINUX_KASAN_CHECKS_H 4 5#ifdef CONFIG_KASAN 6void kasan_check_read(const volatile void *p, unsigned int size); 7void kasan_check_write(const volatile void *p, unsigned int size); 8#else 9static inline void kasan_check_read(const volatile void *p, unsigned int size) 10{ } 11static inline void kasan_check_write(const volatile void *p, unsigned int size) 12{ } 13#endif 14 15#endif