Re: [PATCH] staging: rtl8192e: add missing MODULE_DESCRIPTION() macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/11/24 02:33, Jeff Johnson wrote:
make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/rtl8192e/rtllib.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/rtl8192e/rtllib_crypt_ccmp.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/rtl8192e/rtllib_crypt_tkip.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/rtl8192e/rtllib_crypt_wep.o

Add the missing invocations of the MODULE_DESCRIPTION() macro.

Signed-off-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>
---
  drivers/staging/rtl8192e/rtllib_crypt_ccmp.c | 1 +
  drivers/staging/rtl8192e/rtllib_crypt_tkip.c | 1 +
  drivers/staging/rtl8192e/rtllib_crypt_wep.c  | 1 +
  drivers/staging/rtl8192e/rtllib_module.c     | 1 +
  4 files changed, 4 insertions(+)

diff --git a/drivers/staging/rtl8192e/rtllib_crypt_ccmp.c b/drivers/staging/rtl8192e/rtllib_crypt_ccmp.c
index cbb8c8dbe9b0..da9e630b594c 100644
--- a/drivers/staging/rtl8192e/rtllib_crypt_ccmp.c
+++ b/drivers/staging/rtl8192e/rtllib_crypt_ccmp.c
@@ -407,4 +407,5 @@ static void __exit rtllib_crypto_ccmp_exit(void)
  module_init(rtllib_crypto_ccmp_init);
  module_exit(rtllib_crypto_ccmp_exit);
+MODULE_DESCRIPTION("Support module for rtllib CCMP crypto");
  MODULE_LICENSE("GPL");
diff --git a/drivers/staging/rtl8192e/rtllib_crypt_tkip.c b/drivers/staging/rtl8192e/rtllib_crypt_tkip.c
index 0244b524a7d4..3969b6b916ed 100644
--- a/drivers/staging/rtl8192e/rtllib_crypt_tkip.c
+++ b/drivers/staging/rtl8192e/rtllib_crypt_tkip.c
@@ -708,4 +708,5 @@ static void __exit rtllib_crypto_tkip_exit(void)
  module_init(rtllib_crypto_tkip_init);
  module_exit(rtllib_crypto_tkip_exit);
+MODULE_DESCRIPTION("Support module for rtllib TKIP crypto");
  MODULE_LICENSE("GPL");
diff --git a/drivers/staging/rtl8192e/rtllib_crypt_wep.c b/drivers/staging/rtl8192e/rtllib_crypt_wep.c
index 21c2b7666d6f..eae75d122553 100644
--- a/drivers/staging/rtl8192e/rtllib_crypt_wep.c
+++ b/drivers/staging/rtl8192e/rtllib_crypt_wep.c
@@ -238,4 +238,5 @@ static void __exit rtllib_crypto_wep_exit(void)
  module_init(rtllib_crypto_wep_init);
  module_exit(rtllib_crypto_wep_exit);
+MODULE_DESCRIPTION("Support module for rtllib WEP crypto");
  MODULE_LICENSE("GPL");
diff --git a/drivers/staging/rtl8192e/rtllib_module.c b/drivers/staging/rtl8192e/rtllib_module.c
index e7af4a25b0be..469a69726c16 100644
--- a/drivers/staging/rtl8192e/rtllib_module.c
+++ b/drivers/staging/rtl8192e/rtllib_module.c
@@ -175,4 +175,5 @@ static void __exit rtllib_exit(void)
  module_init(rtllib_init);
  module_exit(rtllib_exit);
+MODULE_DESCRIPTION("Support module for rtllib wireless devices");
  MODULE_LICENSE("GPL");

---
base-commit: 83a7eefedc9b56fe7bfeff13b6c7356688ffa670
change-id: 20240610-md-drivers-staging-rtl8192e-0935b6c4b336



Tested-by: Philipp Hortmann <philipp.g.hortmann@xxxxxxxxx>





[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux