Re: [PATCH] gpiolib: tighten up ACPI legacy gpio lookups
From: kbuild test robot
Date: Thu Nov 05 2015 - 15:59:38 EST
Hi Dmitry,
[auto build test ERROR on: gpio/for-next]
[also build test ERROR on: v4.3 next-20151105]
url: https://github.com/0day-ci/linux/commits/Dmitry-Torokhov/gpiolib-tighten-up-ACPI-legacy-gpio-lookups/20151106-034359
base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next
config: mips-txx9 (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=mips
All errors (new ones prefixed by >>):
drivers/gpio/gpiolib.c: In function 'acpi_can_fallback_to_crs':
>> drivers/gpio/gpiolib.c:1859:10: error: dereferencing pointer to incomplete type 'struct acpi_device'
if (adev->data.properties || adev->driver_gpios)
^
vim +1859 drivers/gpio/gpiolib.c
1853 static bool acpi_can_fallback_to_crs(struct acpi_device *adev,
1854 const char *con_id)
1855 {
1856 struct acpi_gpio_lookup *l, *lookup = NULL;
1857
1858 /* Never fallback if the device has properties */
> 1859 if (adev->data.properties || adev->driver_gpios)
1860 return false;
1861
1862 mutex_lock(&acpi_gpio_lookup_lock);
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data