Re: [PATCH] [media] sir_ir: annotate hardware config module parameters

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

 



Hi Sean,

[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v4.12-rc4 next-20170607]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Sean-Young/sir_ir-annotate-hardware-config-module-parameters/20170608-052931
base:   git://linuxtv.org/media_tree.git master
config: x86_64-randconfig-x019-201723 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

>> drivers/media/rc/sir_ir.c:437:30: error: macro "module_param_hw" requires 4 arguments, but only 3 given
    module_param_hw(io, int, 0444);
                                 ^
>> drivers/media/rc/sir_ir.c:437:1: warning: data definition has no type or storage class
    module_param_hw(io, int, 0444);
    ^~~~~~~~~~~~~~~
>> drivers/media/rc/sir_ir.c:437:1: error: type defaults to 'int' in declaration of 'module_param_hw' [-Werror=implicit-int]
   drivers/media/rc/sir_ir.c:440:31: error: macro "module_param_hw" requires 4 arguments, but only 3 given
    module_param_hw(irq, int, 0444);
                                  ^
   drivers/media/rc/sir_ir.c:440:1: warning: data definition has no type or storage class
    module_param_hw(irq, int, 0444);
    ^~~~~~~~~~~~~~~
   drivers/media/rc/sir_ir.c:440:1: error: type defaults to 'int' in declaration of 'module_param_hw' [-Werror=implicit-int]
   cc1: some warnings being treated as errors

vim +/module_param_hw +437 drivers/media/rc/sir_ir.c

   431	module_exit(sir_ir_exit);
   432	
   433	MODULE_DESCRIPTION("Infrared receiver driver for SIR type serial ports");
   434	MODULE_AUTHOR("Milan Pikula");
   435	MODULE_LICENSE("GPL");
   436	
 > 437	module_param_hw(io, int, 0444);
   438	MODULE_PARM_DESC(io, "I/O address base (0x3f8 or 0x2f8)");
   439	
   440	module_param_hw(irq, int, 0444);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux