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

From: Andrey Konovalov
Date: Tue Oct 20 2020 - 08:39:39 EST


On Tue, Oct 20, 2020 at 8:23 AM Hillf Danton <hdanton@xxxxxxxx> 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.