Hi Bartosz, I love your patch! Yet something to improve: [auto build test ERROR on gpio/for-next] [also build test ERROR on v4.16 next-20180410] [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/Bartosz-Golaszewski/gpiolib-add-hogs-support-for-machine-code/20180410-232047 base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next config: i386-randconfig-a0-201814 (attached as .config) compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): In file included from drivers//mfd/sm501.c:23:0: >> include/linux/gpio/machine.h:56:19: error: field 'dflags' has incomplete type enum gpiod_flags dflags; ^ vim +/dflags +56 include/linux/gpio/machine.h 41 42 /** 43 * struct gpiod_hog - GPIO line hog table 44 * @chip_label: name of the chip the GPIO belongs to 45 * @chip_hwnum: hardware number (i.e. relative to the chip) of the GPIO 46 * @line_name: consumer name for the hogged line 47 * @lflags: mask of GPIO lookup flags 48 * @dflags: GPIO flags used to specify the direction and value 49 */ 50 struct gpiod_hog { 51 struct list_head list; 52 const char *chip_label; 53 u16 chip_hwnum; 54 const char *line_name; 55 enum gpio_lookup_flags lflags; > 56 enum gpiod_flags dflags; 57 }; 58 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip