public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mips: sibyte: add missing MODULE_DESCRIPTION() macro
@ 2024-07-18 23:17 Jeff Johnson
  2024-07-23  7:48 ` Thomas Bogendoerfer
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Johnson @ 2024-07-18 23:17 UTC (permalink / raw)
  To: Thomas Bogendoerfer
  Cc: linux-mips, linux-kernel, kernel-janitors, Jeff Johnson

Since commit 1fffe7a34c89 ("script: modpost: emit a warning when the
description is missing"), a module without a MODULE_DESCRIPTION() will
result in a warning with make W=1. The following warning is being
observed when ARCH=mips and CONFIG_SIBYTE_TBPROF=m:

WARNING: modpost: missing MODULE_DESCRIPTION() in arch/mips/sibyte/common/sb_tbprof.o

Add the missing invocation of the MODULE_DESCRIPTION() macro.

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
I'm trying to fix all of these issues in 6.11, so please take this
through your "for current" path instead of your "for next" path. If
you don't have a "for current" path, Greg KH has indicated he'll pick
up the stragglers before the 6.11 rc-final.
---
 arch/mips/sibyte/common/sb_tbprof.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/mips/sibyte/common/sb_tbprof.c b/arch/mips/sibyte/common/sb_tbprof.c
index af5333986900..149a9151bc0b 100644
--- a/arch/mips/sibyte/common/sb_tbprof.c
+++ b/arch/mips/sibyte/common/sb_tbprof.c
@@ -589,4 +589,5 @@ module_exit(sbprof_tb_cleanup);
 
 MODULE_ALIAS_CHARDEV_MAJOR(SBPROF_TB_MAJOR);
 MODULE_AUTHOR("Ralf Baechle <ralf@linux-mips.org>");
+MODULE_DESCRIPTION("Support for ZBbus profiling");
 MODULE_LICENSE("GPL");

---
base-commit: 51835949dda3783d4639cfa74ce13a3c9829de00
change-id: 20240718-md-mips-arch-mips-sibyte-common-7c51d90b31f2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-23  7:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-18 23:17 [PATCH] mips: sibyte: add missing MODULE_DESCRIPTION() macro Jeff Johnson
2024-07-23  7:48 ` Thomas Bogendoerfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox