[PATCH v3 2/3] kasan: integrate the common part of two KASAN tag-based modes
Alexander Potapenko
glider at google.com
Tue Jun 22 02:27:51 PDT 2021
> diff --git a/mm/kasan/report_tags.h b/mm/kasan/report_tags.h
> new file mode 100644
> index 000000000000..1cb872177904
> --- /dev/null
> +++ b/mm/kasan/report_tags.h
Why don't you make it a C file instead?
> +const char *kasan_get_bug_type(struct kasan_access_info *info)
If this function has to be in the header, it should be declared as
static inline.
But I don't think it has to be there in the first place.
More information about the Linux-mediatek
mailing list