mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Borislav Petkov <bp@alien8.de>
To: Jeff Johnson <quic_jjohnson@quicinc.com>
Cc: Tony Luck <tony.luck@intel.com>,
	James Morse <james.morse@arm.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Robert Richter <rric@kernel.org>,
	linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org,
	kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] EDAC: layerscape: add missing MODULE_DESCRIPTION() macro
Date: Sun, 16 Jun 2024 17:43:47 +0200	[thread overview]
Message-ID: <20240616154347.GCZm8IMxshO8YYTTjB@fat_crate.local> (raw)
In-Reply-To: <20240613-md-arm64-drivers-edac-v1-1-149a4f0f61bb@quicinc.com>

On Thu, Jun 13, 2024 at 02:36:21PM -0700, Jeff Johnson wrote:
> With ARCH=arm64, make allmodconfig && make W=1 C=1 reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/edac/layerscape_edac_mod.o
> 
> Add the missing invocation of the MODULE_DESCRIPTION() macro.
> 
> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
> ---
>  drivers/edac/layerscape_edac.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/edac/layerscape_edac.c b/drivers/edac/layerscape_edac.c
> index d2f895033280..b70d5d258fcb 100644
> --- a/drivers/edac/layerscape_edac.c
> +++ b/drivers/edac/layerscape_edac.c
> @@ -69,6 +69,7 @@ static void __exit fsl_ddr_mc_exit(void)
>  
>  module_exit(fsl_ddr_mc_exit);
>  
> +MODULE_DESCRIPTION("Freescale Layerscape EDAC module");
>  MODULE_LICENSE("GPL");
>  MODULE_AUTHOR("NXP Semiconductor");
>  module_param(edac_op_state, int, 0444);
> 
> ---

$ git grep -E "MODULE_(DESCRIPTION|LICENSE)" drivers/edac/

I'd expect to see regular pairs like this:

drivers/edac/al_mc_edac.c:348:MODULE_LICENSE("GPL v2");
drivers/edac/al_mc_edac.c:350:MODULE_DESCRIPTION("Amazon's Annapurna Lab's Memory Controller EDAC Driver");

drivers/edac/altera_edac.c:2216:MODULE_DESCRIPTION("EDAC Driver for Altera Memories");

drivers/edac/amd64_edac.c:4238:MODULE_LICENSE("GPL");
drivers/edac/amd64_edac.c:4240:MODULE_DESCRIPTION("MC support for AMD64 memory controllers");
...

but there are cases which need fixing.

How about you do them all with one patch?

Thx.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

  reply	other threads:[~2024-06-16 15:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-13 21:36 Jeff Johnson
2024-06-16 15:43 ` Borislav Petkov [this message]
2024-06-17  1:43   ` Jeff Johnson
2024-06-17  7:43     ` Borislav Petkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240616154347.GCZm8IMxshO8YYTTjB@fat_crate.local \
    --to=bp@alien8.de \
    --cc=james.morse@arm.com \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=quic_jjohnson@quicinc.com \
    --cc=rric@kernel.org \
    --cc=tony.luck@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®