All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] revocable: fix missing module license and description
@ 2026-01-19 19:51 Danilo Krummrich
  2026-01-20  6:04 ` Tzung-Bi Shih
  2026-01-20 10:02 ` Danilo Krummrich
  0 siblings, 2 replies; 4+ messages in thread
From: Danilo Krummrich @ 2026-01-19 19:51 UTC (permalink / raw)
  To: gregkh, rafael, tzungbi, broonie; +Cc: linux-kernel, Danilo Krummrich

Fix missing MODULE_LICENSE() and MODULE_DESCRIPTION() in the revocable
Kunit test module.

Reported-by: Mark Brown <broonie@kernel.org>
Closes: https://lore.kernel.org/all/aW6GNvuQVNCUcoy-@sirena.org.uk/
Fixes: cd7693419bb5 ("revocable: Add Kunit test cases")
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
---
 drivers/base/revocable_test.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/base/revocable_test.c b/drivers/base/revocable_test.c
index 28d46ce1ba0c..873a44082b6c 100644
--- a/drivers/base/revocable_test.c
+++ b/drivers/base/revocable_test.c
@@ -137,3 +137,6 @@ static struct kunit_suite revocable_test_suite = {
 };
 
 kunit_test_suite(revocable_test_suite);
+
+MODULE_DESCRIPTION("KUnit tests for the revocable API");
+MODULE_LICENSE("GPL");

base-commit: 744905705113a6ab4c38127f18cc0d71594cfaec
-- 
2.52.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* Re: [PATCH] revocable: fix missing module license and description
@ 2026-01-20  8:17 kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2026-01-20  8:17 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "low confidence static check warning: drivers/base/revocable_test.c:141:1: sparse: sparse: bad integer constant expression"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20260119195141.12843-1-dakr@kernel.org>
References: <20260119195141.12843-1-dakr@kernel.org>
TO: Danilo Krummrich <dakr@kernel.org>
TO: gregkh@linuxfoundation.org
TO: rafael@kernel.org
TO: tzungbi@kernel.org
TO: broonie@kernel.org
CC: linux-kernel@vger.kernel.org
CC: Danilo Krummrich <dakr@kernel.org>

Hi Danilo,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 744905705113a6ab4c38127f18cc0d71594cfaec]

url:    https://github.com/intel-lab-lkp/linux/commits/Danilo-Krummrich/revocable-fix-missing-module-license-and-description/20260120-035657
base:   744905705113a6ab4c38127f18cc0d71594cfaec
patch link:    https://lore.kernel.org/r/20260119195141.12843-1-dakr%40kernel.org
patch subject: [PATCH] revocable: fix missing module license and description
:::::: branch date: 12 hours ago
:::::: commit date: 12 hours ago
config: openrisc-randconfig-r134-20260120 (https://download.01.org/0day-ci/archive/20260120/202601201432.ouoVHvm5-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 12.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260120/202601201432.ouoVHvm5-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202601201432.ouoVHvm5-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/base/revocable_test.c:141:1: sparse: sparse: bad integer constant expression
   drivers/base/revocable_test.c:141:1: sparse: sparse: static assertion failed: "MODULE_INFO(description, ...) contains embedded NUL byte"
   drivers/base/revocable_test.c:142:1: sparse: sparse: bad integer constant expression
   drivers/base/revocable_test.c:142:1: sparse: sparse: static assertion failed: "MODULE_INFO(file, ...) contains embedded NUL byte"
   drivers/base/revocable_test.c:142:1: sparse: sparse: bad integer constant expression
   drivers/base/revocable_test.c:142:1: sparse: sparse: static assertion failed: "MODULE_INFO(license, ...) contains embedded NUL byte"

vim +141 drivers/base/revocable_test.c

6a15cba130af06 Danilo Krummrich 2026-01-19  140  
6a15cba130af06 Danilo Krummrich 2026-01-19 @141  MODULE_DESCRIPTION("KUnit tests for the revocable API");

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

end of thread, other threads:[~2026-01-20 10:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-19 19:51 [PATCH] revocable: fix missing module license and description Danilo Krummrich
2026-01-20  6:04 ` Tzung-Bi Shih
2026-01-20 10:02 ` Danilo Krummrich
  -- strict thread matches above, loose matches on Subject: below --
2026-01-20  8:17 kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.