Hi Andy, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3-rc6 next-20190830] [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/Andy-Shevchenko/ACPI-platform-Unregister-stale-platform-devices/20190902-001307 config: x86_64-lkp (attached as .config) compiler: gcc-7 (Debian 7.4.0-11) 7.4.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): drivers//acpi/acpi_platform.c: In function 'acpi_platform_device_find_by_adev': >> drivers//acpi/acpi_platform.c:38:8: error: implicit declaration of function 'bus_find_device_by_acpi_dev'; did you mean 'bus_find_device_by_name'? [-Werror=implicit-function-declaration] dev = bus_find_device_by_acpi_dev(&platform_bus_type, adev); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bus_find_device_by_name drivers//acpi/acpi_platform.c:38:6: warning: assignment makes pointer from integer without a cast [-Wint-conversion] dev = bus_find_device_by_acpi_dev(&platform_bus_type, adev); ^ cc1: some warnings being treated as errors vim +38 drivers//acpi/acpi_platform.c 33 34 static struct platform_device *acpi_platform_device_find_by_adev(struct acpi_device *adev) 35 { 36 struct device *dev; 37 > 38 dev = bus_find_device_by_acpi_dev(&platform_bus_type, adev); 39 return dev ? to_platform_device(dev) : NULL; 40 } 41 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip