Re: [PATCH] modpost: file2alias: define size of alias
From: Masahiro Yamada
Date: Mon Feb 18 2019 - 02:21:58 EST
Hi Mattias,
On Thu, Feb 7, 2019 at 9:31 PM Mattias Jacobsson <2pi@xxxxxx> wrote:
>
> The size of the variable alias provided to do_entry functions are
> currently not readily available. Thus hindering do_entry functions to
> perform bounds checking.
>
> Define the macro ALIAS_SIZE containing the size of the variable alias.
>
> Signed-off-by: Mattias Jacobsson <2pi@xxxxxx>
Sorry for late reply.
I can apply this to my kbuild tree shortly, but
it looks like a prerequisite for your
"platform/x86: wmi: use MODULE_DEVICE_TABLE() instead of MODULE_ALIAS()"
If you want all the patches to go through x86 platform-driver tree,
I am fine with that too.
Please let me know what you want.
Thanks.
--
Best Regards
Masahiro Yamada