[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZxqsTO0BAQLPJDJL@bombadil.infradead.org>
Date: Thu, 24 Oct 2024 13:21:32 -0700
From: Luis Chamberlain <mcgrof@...nel.org>
To: Jeff Johnson <quic_jjohnson@...cinc.com>
Cc: linux-modules@...r.kernel.org, linux-kernel@...r.kernel.org,
petr.pavlu@...e.com, samitolvanen@...gle.com, da.gomez@...sung.com,
masahiroy@...nel.org, deller@....de, linux-arch@...r.kernel.org,
live-patching@...r.kernel.org, kris.van.hees@...cle.com
Subject: Re: [PATCH v3] selftests: add new kallsyms selftests
On Wed, Oct 23, 2024 at 10:28:49AM -0700, Jeff Johnson wrote:
> On 10/21/24 12:33, Luis Chamberlain wrote:
> ...
> > +gen_template_module_exit()
> > +{
> > + cat <<____END_MODULE
> > +static int __init auto_test_module_init(void)
> > +{
> > + return auto_runtime_test();
> > +}
> > +module_init(auto_test_module_init);
> > +
> > +static void __exit auto_test_module_exit(void)
> > +{
> > +}
> > +module_exit(auto_test_module_exit);
> > +
> > +MODULE_AUTHOR("Luis Chamberlain <mcgrof@...nel.org>");
> > +MODULE_LICENSE("GPL");
> > +____END_MODULE
> > +}
>
> Since commit 1fffe7a34c89 ("script: modpost: emit a warning when the
> description is missing"), a module without a MODULE_DESCRIPTION() will
> result in a warning when built with make W=1. Is that a concern here?
> Should we add a MODULE_DESCRIPTION()?
News to me, I'll send a follup patch with just that alone as I already
merged this onto modules-next.
Luis
Powered by blists - more mailing lists