Re: [PATCH v5] modpost: check for static EXPORT_SYMBOL* functions

From: Denis Efremov
Date: Tue Aug 13 2019 - 17:11:14 EST


On 13.08.2019 19:07, Masahiro Yamada wrote:
> Hi Denis,
>
> I squashed the following fix-up.
>
>
> diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
> index 3e6d36ddfcdf..2773f9f9bae2 100644
> --- a/scripts/mod/modpost.c
> +++ b/scripts/mod/modpost.c
> @@ -2386,6 +2386,7 @@ static void read_dump(const char *fname,
> unsigned int kernel)
> s = sym_add_exported(symname, mod, export_no(export));
> s->kernel = kernel;
> s->preloaded = 1;
> + s->is_static = 0;
> sym_update_crc(symname, mod, crc, export_no(export));
> }
> release_file(file, size);

Hi!

Thank you very much indeed.

Best regards,
Denis