[pm:bleeding-edge 7/10] drivers/acpi/button.c:659:0: error: unterminated argument list invoking macro "module_driver"

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head:   834d804571470ca0b77a69243c54dbb9384e321d
commit: 0d8588c92566455f14214188bc7803ea63ab463d [7/10] ACPI / button: make module loadable when booted in non-ACPI mode
config: i386-randconfig-x014-201816 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
        git checkout 0d8588c92566455f14214188bc7803ea63ab463d
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

>> drivers/acpi/button.c:659:0: error: unterminated argument list invoking macro "module_driver"
    module_driver(acpi_button_driver, __acpi_bus_register_driver,
    
>> drivers/acpi/button.c:659:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
    module_driver(acpi_button_driver, __acpi_bus_register_driver,
    ^~~~~~~~~~~~~
   drivers/acpi/button.c:653:13: warning: '__acpi_bus_unregister_driver' defined but not used [-Wunused-function]
    static void __acpi_bus_unregister_driver(struct acpi_driver *driver)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/acpi/button.c:638:12: warning: '__acpi_bus_register_driver' defined but not used [-Wunused-function]
    static int __acpi_bus_register_driver(struct acpi_driver *driver)
               ^~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/acpi/button.c:109:27: warning: 'acpi_button_driver' defined but not used [-Wunused-variable]
    static struct acpi_driver acpi_button_driver = {
                              ^~~~~~~~~~~~~~~~~~

vim +/module_driver +659 drivers/acpi/button.c

   658	
 > 659	module_driver(acpi_button_driver, __acpi_bus_register_driver,

---
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 IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux