* [sailus-media-tree:media-ref 1/17] drivers/media/mc/mc-device.c:31:1: error: unknown type name 'param_check_unsigned'
@ 2026-10-17 15:57 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-17 15:57 UTC (permalink / raw)
To: Sakari Ailus; +Cc: llvm, oe-kbuild-all, linux-media
tree: git://linuxtv.org/sailus/media_tree.git media-ref
head: cf47170584526b52366e936406ce2430b99a03a9
commit: d50da12ab1df5599da158568d31337d2daeee81d [1/17] media: Add "kaboom" module parameter
config: hexagon-randconfig-1001-20261017 (https://download.01.org/0day-ci/archive/20261017/202610172349.NeNGF1lj-lkp@intel.com/config)
compiler: clang version 21.1.8 (https://github.com/llvm/llvm-project 2078da43e25a4623cab2d0d60decddf709aaea28)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261017/202610172349.NeNGF1lj-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/oe-kbuild-all/202610172349.NeNGF1lj-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/media/mc/mc-device.c:31:1: error: unknown type name 'param_check_unsigned'
31 | module_param(kaboom, unsigned int, 0077);
| ^
include/linux/moduleparam.h:140:2: note: expanded from macro 'module_param'
140 | module_param_named(name, name, type, perm)
| ^
include/linux/moduleparam.h:163:2: note: expanded from macro 'module_param_named'
163 | param_check_##type(name, &(value)); \
| ^
<scratch space>:165:1: note: expanded from here
165 | param_check_unsigned
| ^
>> drivers/media/mc/mc-device.c:31:1: error: expected ')'
include/linux/moduleparam.h:140:2: note: expanded from macro 'module_param'
140 | module_param_named(name, name, type, perm)
| ^
include/linux/moduleparam.h:163:25: note: expanded from macro 'module_param_named'
163 | param_check_##type(name, &(value)); \
| ^
drivers/media/mc/mc-device.c:31:1: note: to match this '('
include/linux/moduleparam.h:140:2: note: expanded from macro 'module_param'
140 | module_param_named(name, name, type, perm)
| ^
include/linux/moduleparam.h:163:20: note: expanded from macro 'module_param_named'
163 | param_check_##type(name, &(value)); \
| ^
>> drivers/media/mc/mc-device.c:31:1: error: use of undeclared identifier 'param_ops_unsigned'; did you mean 'param_ops_uint'?
31 | module_param(kaboom, unsigned int, 0077);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:140:2: note: expanded from macro 'module_param'
140 | module_param_named(name, name, type, perm)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:164:25: note: expanded from macro 'module_param_named'
164 | module_param_cb(name, ¶m_ops_##type, &value, perm); \
| ^~~~~~~~~~~~~~~~
<scratch space>:166:1: note: expanded from here
166 | param_ops_unsigned
| ^~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:459:38: note: 'param_ops_uint' declared here
459 | extern const struct kernel_param_ops param_ops_uint;
| ^
>> drivers/media/mc/mc-device.c:31:31: error: expected '}'
31 | module_param(kaboom, unsigned int, 0077);
| ^
drivers/media/mc/mc-device.c:31:1: note: to match this '{'
31 | module_param(kaboom, unsigned int, 0077);
| ^
include/linux/moduleparam.h:140:2: note: expanded from macro 'module_param'
140 | module_param_named(name, name, type, perm)
| ^
include/linux/moduleparam.h:164:2: note: expanded from macro 'module_param_named'
164 | module_param_cb(name, ¶m_ops_##type, &value, perm); \
| ^
include/linux/moduleparam.h:189:2: note: expanded from macro 'module_param_cb'
189 | __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0)
| ^
include/linux/moduleparam.h:305:4: note: expanded from macro '__module_param_call'
305 | = { __param_str_##name, THIS_MODULE, ops, \
| ^
4 errors generated.
vim +/param_check_unsigned +31 drivers/media/mc/mc-device.c
29
30 static unsigned int kaboom;
> 31 module_param(kaboom, unsigned int, 0077);
32
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-17 15:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-17 15:57 [sailus-media-tree:media-ref 1/17] drivers/media/mc/mc-device.c:31:1: error: unknown type name 'param_check_unsigned' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox