[RFC PATCH v1] powerpc/radix/kasan: KASAN support for Radix

Balbir Singh bsingharora at gmail.com
Sun Jul 30 08:58:28 AEST 2017


> +
> +extern struct static_key_false powerpc_kasan_enabled_key;
> +#define check_return_arch_not_ready() \
> +       do {                                                            \
> +               if (!static_branch_likely(&powerpc_kasan_enabled_key))  \
> +                       return;                                         \
> +       } while (0)

This is supposed to call __mem*() before returning, I'll do a new RFC,
I must have missed it in my rebasing somewhere

Balbir


More information about the Linuxppc-dev mailing list