[PATCH RFC 7/8] arm64: kasan: Add system_supports_tags helper

Andrey Konovalov andreyknvl at google.com
Tue Oct 20 08:39:24 EDT 2020


On Tue, Oct 20, 2020 at 8:23 AM Hillf Danton <hdanton at sina.com> wrote:
>
> On Wed, 14 Oct 2020 22:44:35 +0200
> >
> >  #ifdef CONFIG_KASAN_HW_TAGS
> > +#define arch_system_supports_tags()          system_supports_mte()
>
> s/system_supports/support/ in order to look more like the brother of
>
> >  #define arch_init_tags(max_tag)                      mte_init_tags(max_tag)

Well, init_tags() does initialize tags, but supports_tags() doesn't
not enable support for tags, and rather returns its status. So using
"support" here would be wrong from the English language standpoint.



More information about the linux-arm-kernel mailing list