[gpio:devel 70/72] drivers/pinctrl/sunxi/../../gpio/gpiolib.h:136:44: error: parameter 4 ('flags') has 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:   d6858159a08147cacffdd361f5a03f5c7c16090c
commit: 2670865cd56a00ffae67d40b64458d5f265ceb54 [70/72] gpio: acpi: separation of concerns
config: arm-sunxi_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
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
        git checkout 2670865cd56a00ffae67d40b64458d5f265ceb54
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   In file included from drivers/pinctrl/sunxi/pinctrl-sunxi.c:32:0:
>> drivers/pinctrl/sunxi/../../gpio/gpiolib.h:136:44: error: parameter 4 ('flags') has incomplete type
            unsigned int idx, enum gpiod_flags flags,
                                               ^~~~~
>> drivers/pinctrl/sunxi/../../gpio/gpiolib.h:135:1: error: function declaration isn't a prototype [-Werror=strict-prototypes]
    acpi_find_gpio(struct device *dev, const char *con_id,
    ^~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +136 drivers/pinctrl/sunxi/../../gpio/gpiolib.h

   129	acpi_gpiochip_request_interrupts(struct gpio_chip *chip) { }
   130	
   131	static inline void
   132	acpi_gpiochip_free_interrupts(struct gpio_chip *chip) { }
   133	
   134	static inline struct gpio_desc *
 > 135	acpi_find_gpio(struct device *dev, const char *con_id,
 > 136		       unsigned int idx, enum gpiod_flags flags,
   137		       enum gpio_lookup_flags *lookupflags)
   138	{
   139		return ERR_PTR(-ENOENT);

---
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