All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	linux-media@vger.kernel.org
Subject: [sailus-media-tree:media-ref 1/17] drivers/media/mc/mc-device.c:31:1: error: unknown type name 'param_check_unsigned'
Date: Sat, 17 Oct 2026 23:57:30 +0800	[thread overview]
Message-ID: <202610172349.NeNGF1lj-lkp@intel.com> (raw)

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, &param_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, &param_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

                 reply	other threads:[~2026-10-17 15:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202610172349.NeNGF1lj-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linux-media@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=sakari.ailus@linux.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 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.