Re: [PATCH v6 1/6] acpi: Create subtable parsing infrastructure

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

 



Hi Keith,

I love your patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v4.20-rc7 next-20181218]
[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/Dan-Williams/mm-Randomize-free-memory/20181218-130230
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.2.0 make.cross ARCH=arm64 

All errors (new ones prefixed by >>):

   drivers//irqchip/irq-gic-v3.c: In function 'gic_acpi_collect_virt_info':
>> drivers//irqchip/irq-gic-v3.c:1542:11: error: passing argument 2 of 'acpi_table_parse_madt' from incompatible pointer type [-Werror=incompatible-pointer-types]
              gic_acpi_parse_virt_madt_gicc, 0);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers//irqchip/irq-gic-v3.c:20:0:
   include/linux/acpi.h:249:5: note: expected 'acpi_tbl_entry_handler {aka int (*)(union acpi_subtable_headers *, const long unsigned int)}' but argument is of type 'int (*)(struct acpi_subtable_header *, const long unsigned int)'
    int acpi_table_parse_madt(enum acpi_madt_type id,
        ^~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/acpi_table_parse_madt +1542 drivers//irqchip/irq-gic-v3.c

1839e576 Julien Grall 2016-04-11  1536  
1839e576 Julien Grall 2016-04-11  1537  static bool __init gic_acpi_collect_virt_info(void)
1839e576 Julien Grall 2016-04-11  1538  {
1839e576 Julien Grall 2016-04-11  1539  	int count;
1839e576 Julien Grall 2016-04-11  1540  
1839e576 Julien Grall 2016-04-11  1541  	count = acpi_table_parse_madt(ACPI_MADT_TYPE_GENERIC_INTERRUPT,
1839e576 Julien Grall 2016-04-11 @1542  				      gic_acpi_parse_virt_madt_gicc, 0);
1839e576 Julien Grall 2016-04-11  1543  
1839e576 Julien Grall 2016-04-11  1544  	return (count > 0);
1839e576 Julien Grall 2016-04-11  1545  }
1839e576 Julien Grall 2016-04-11  1546  

:::::: The code at line 1542 was first introduced by commit
:::::: 1839e576968f34b9a31da9f0033f8de12a1c9de6 irqchip/gic-v3: Parse and export virtual GIC information

:::::: TO: Julien Grall <julien.grall@xxxxxxx>
:::::: CC: Christoffer Dall <christoffer.dall@xxxxxxxxxx>

---
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 ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux