[gpio:devel 70/72] drivers/gpio/gpiolib-acpi.c:594:3: error: dereferencing pointer to incomplete type

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git devel
head:   145dbc2ae805bddb37ce401f1935f892b0ff1de4
commit: 720ad80dcf314f26030c8dfcd9f50ffff4a0ebbc [70/72] gpio: acpi: separation of concerns
config: i386-randconfig-i0-10031017 (attached as .config)
compiler: gcc-4.8 (Debian 4.8.4-1) 4.8.4
reproduce:
        git checkout 720ad80dcf314f26030c8dfcd9f50ffff4a0ebbc
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/gpio/gpiolib-acpi.c: In function 'acpi_find_gpio':
   drivers/gpio/gpiolib-acpi.c:593:23: error: 'GPIO_ACTIVE_LOW' undeclared (first use in this function)
     if (info.polarity == GPIO_ACTIVE_LOW)
                          ^
   drivers/gpio/gpiolib-acpi.c:593:23: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/gpio/gpiolib-acpi.c:594:3: error: dereferencing pointer to incomplete type
      *lookupflags |= GPIO_ACTIVE_LOW;
      ^

vim +594 drivers/gpio/gpiolib-acpi.c

   587			    info.gpioint) {
   588				dev_dbg(dev, "refusing GpioInt() entry when doing GPIOD_OUT_* lookup\n");
   589				return ERR_PTR(-ENOENT);
   590			}
   591		}
   592	
 > 593		if (info.polarity == GPIO_ACTIVE_LOW)
 > 594			*lookupflags |= GPIO_ACTIVE_LOW;
   595	
   596		return desc;
   597	}

---
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 SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux