Re: [PATCH] gpiolib: tighten up ACPI legacy gpio lookups

From: kbuild test robot
Date: Thu Nov 05 2015 - 16:03:16 EST

Hi Dmitry,

[auto build test ERROR on: gpio/for-next]
[also build test ERROR on: v4.3 next-20151105]

base: for-next
config: cris-etrax-100lx_v2_defconfig (attached as .config)
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=cris

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
drivers/gpio/gpiolib.c:1859:35: error: dereferencing pointer to incomplete type

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;
1858 /* Never fallback if the device has properties */
> 1859 if (adev-> || adev->driver_gpios)
1860 return false;
1862 mutex_lock(&acpi_gpio_lookup_lock);

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: Binary data