lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202204212259.kughfomJ-lkp@intel.com>
Date:   Thu, 21 Apr 2022 23:02:30 +0800
From:   kernel test robot <lkp@...el.com>
To:     Ingo Molnar <mingo@...nel.org>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org
Subject: [mingo-tip:sched/headers 2453/2579]
 drivers/media/tuners/xc2028.c:46:21: error: expected identifier

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head:   49e1ec6c70a6eb4b7de9250a455b8b63eb42afbe
commit: 2038c03daa4310f7cee8937d18f4514749cb40ab [2453/2579] headers/deps: driver/core: Optimize <linux/device/driver.h> dependencies, remove <linux/module.h> inclusion
config: mips-randconfig-r026-20220419 (https://download.01.org/0day-ci/archive/20220421/202204212259.kughfomJ-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c1c49a356162b22554088d269f7689bdb044a9f1)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install mips cross compiling tool for clang build
        # apt-get install binutils-mips-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=2038c03daa4310f7cee8937d18f4514749cb40ab
        git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
        git fetch --no-tags mingo-tip sched/headers
        git checkout 2038c03daa4310f7cee8937d18f4514749cb40ab
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash drivers/media/tuners/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

>> drivers/media/tuners/xc2028.c:46:21: error: expected identifier
   module_param(debug, int, 0644);
                       ^
>> drivers/media/tuners/xc2028.c:46:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
   module_param(debug, int, 0644);
   ^
>> drivers/media/tuners/xc2028.c:46:13: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
   module_param(debug, int, 0644);
               ^
                                void
   drivers/media/tuners/xc2028.c:47:25: error: expected identifier
   MODULE_PARM_DESC(debug, "enable verbose debug messages");
                           ^
   drivers/media/tuners/xc2028.c:47:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
   MODULE_PARM_DESC(debug, "enable verbose debug messages");
   ^
   drivers/media/tuners/xc2028.c:47:17: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
   MODULE_PARM_DESC(debug, "enable verbose debug messages");
                   ^
                                                          void
   drivers/media/tuners/xc2028.c:50:27: error: expected identifier
   module_param(no_poweroff, int, 0644);
                             ^
   drivers/media/tuners/xc2028.c:50:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
   module_param(no_poweroff, int, 0644);
   ^
   drivers/media/tuners/xc2028.c:50:13: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
   module_param(no_poweroff, int, 0644);
               ^
                                      void
   drivers/media/tuners/xc2028.c:51:31: error: expected identifier
   MODULE_PARM_DESC(no_poweroff, "0 (default) powers device off when not used.\n"
                                 ^
   drivers/media/tuners/xc2028.c:51:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
   MODULE_PARM_DESC(no_poweroff, "0 (default) powers device off when not used.\n"
   ^
   drivers/media/tuners/xc2028.c:51:17: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
   MODULE_PARM_DESC(no_poweroff, "0 (default) powers device off when not used.\n"
                   ^
>> drivers/media/tuners/xc2028.c:56:32: error: redefinition of parameter 'audio_std'
   module_param_string(audio_std, audio_std, sizeof(audio_std), 0);
                                  ^
   drivers/media/tuners/xc2028.c:56:43: error: expected identifier
   module_param_string(audio_std, audio_std, sizeof(audio_std), 0);
                                             ^
   drivers/media/tuners/xc2028.c:56:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
   module_param_string(audio_std, audio_std, sizeof(audio_std), 0);
   ^
   drivers/media/tuners/xc2028.c:56:20: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
   module_param_string(audio_std, audio_std, sizeof(audio_std), 0);
                      ^
                                                                 void
   drivers/media/tuners/xc2028.c:58:2: error: expected identifier
           "Audio standard. XC3028 audio decoder explicitly needs to know what audio\n"
           ^
   drivers/media/tuners/xc2028.c:57:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
   MODULE_PARM_DESC(audio_std,
   ^
   drivers/media/tuners/xc2028.c:57:17: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
   MODULE_PARM_DESC(audio_std,
                   ^
   fatal error: too many errors emitted, stopping now [-ferror-limit=]
   20 errors generated.


vim +46 drivers/media/tuners/xc2028.c

ef8c1888b32132 drivers/media/video/tuner-xc2028.c         Mauro Carvalho Chehab 2007-11-16  44  
83fb340b318487 drivers/media/video/tuner-xc2028.c         Mauro Carvalho Chehab 2007-11-15  45  static int debug;
83fb340b318487 drivers/media/video/tuner-xc2028.c         Mauro Carvalho Chehab 2007-11-15 @46  module_param(debug, int, 0644);
83fb340b318487 drivers/media/video/tuner-xc2028.c         Mauro Carvalho Chehab 2007-11-15  47  MODULE_PARM_DESC(debug, "enable verbose debug messages");
83fb340b318487 drivers/media/video/tuner-xc2028.c         Mauro Carvalho Chehab 2007-11-15  48  
74a89b2ae352ac drivers/media/common/tuners/tuner-xc2028.c Mauro Carvalho Chehab 2008-12-05  49  static int no_poweroff;
74a89b2ae352ac drivers/media/common/tuners/tuner-xc2028.c Mauro Carvalho Chehab 2008-12-05  50  module_param(no_poweroff, int, 0644);
4900877b7cdcb8 drivers/media/common/tuners/tuner-xc2028.c Devin Heitmueller     2009-04-28 @51  MODULE_PARM_DESC(no_poweroff, "0 (default) powers device off when not used.\n"
74a89b2ae352ac drivers/media/common/tuners/tuner-xc2028.c Mauro Carvalho Chehab 2008-12-05  52  	"1 keep device energized and with tuner ready all the times.\n"
74a89b2ae352ac drivers/media/common/tuners/tuner-xc2028.c Mauro Carvalho Chehab 2008-12-05  53  	"  Faster, but consumes more power and keeps the device hotter\n");
74a89b2ae352ac drivers/media/common/tuners/tuner-xc2028.c Mauro Carvalho Chehab 2008-12-05  54  
a82200fb59e7d1 drivers/media/video/tuner-xc2028.c         Mauro Carvalho Chehab 2007-11-15  55  static char audio_std[8];
a82200fb59e7d1 drivers/media/video/tuner-xc2028.c         Mauro Carvalho Chehab 2007-11-15 @56  module_param_string(audio_std, audio_std, sizeof(audio_std), 0);
a82200fb59e7d1 drivers/media/video/tuner-xc2028.c         Mauro Carvalho Chehab 2007-11-15  57  MODULE_PARM_DESC(audio_std,
2af3eb647e9b90 drivers/media/tuners/tuner-xc2028.c        Mauro Carvalho Chehab 2016-10-12  58  	"Audio standard. XC3028 audio decoder explicitly needs to know what audio\n"
a82200fb59e7d1 drivers/media/video/tuner-xc2028.c         Mauro Carvalho Chehab 2007-11-15  59  	"standard is needed for some video standards with audio A2 or NICAM.\n"
a82200fb59e7d1 drivers/media/video/tuner-xc2028.c         Mauro Carvalho Chehab 2007-11-15  60  	"The valid values are:\n"
a82200fb59e7d1 drivers/media/video/tuner-xc2028.c         Mauro Carvalho Chehab 2007-11-15  61  	"A2\n"
a82200fb59e7d1 drivers/media/video/tuner-xc2028.c         Mauro Carvalho Chehab 2007-11-15  62  	"A2/A\n"
a82200fb59e7d1 drivers/media/video/tuner-xc2028.c         Mauro Carvalho Chehab 2007-11-15  63  	"A2/B\n"
a82200fb59e7d1 drivers/media/video/tuner-xc2028.c         Mauro Carvalho Chehab 2007-11-15  64  	"NICAM\n"
a82200fb59e7d1 drivers/media/video/tuner-xc2028.c         Mauro Carvalho Chehab 2007-11-15  65  	"NICAM/A\n"
a82200fb59e7d1 drivers/media/video/tuner-xc2028.c         Mauro Carvalho Chehab 2007-11-15  66  	"NICAM/B\n");
a82200fb59e7d1 drivers/media/video/tuner-xc2028.c         Mauro Carvalho Chehab 2007-11-15  67  

:::::: The code at line 46 was first introduced by commit
:::::: 83fb340b3184875a63564ea174350b1d1b081874 V4L/DVB (6595): Corrects printk lines

:::::: TO: Mauro Carvalho Chehab <mchehab@...radead.org>
:::::: CC: Mauro Carvalho Chehab <mchehab@...radead.org>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ