Hi Peter, [auto build test ERROR on usb/usb-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Peter-Hung/usb-serial-Add-Fintek-F81532-534-driver/20151103-115336 config: tile-allyesconfig (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=tile All errors (new ones prefixed by >>): drivers/usb/serial/f81534.c:504:1: warning: data definition has no type or storage class [enabled by default] drivers/usb/serial/f81534.c:504:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE' drivers/usb/serial/f81534.c:504:1: warning: parameter names (without types) in function declaration [enabled by default] drivers/usb/serial/f81534.c:522:19: error: field 'f81534_gpio_chip' has incomplete type drivers/usb/serial/f81534.c: In function 'f81534_gpio_get': drivers/usb/serial/f81534.c:849:4: error: dereferencing pointer to incomplete type drivers/usb/serial/f81534.c: In function 'f81534_gpio_set': drivers/usb/serial/f81534.c:886:33: error: dereferencing pointer to incomplete type drivers/usb/serial/f81534.c: In function 'f81534_gpio_request': drivers/usb/serial/f81534.c:926:33: error: dereferencing pointer to incomplete type drivers/usb/serial/f81534.c: In function 'f81534_gpio_free': drivers/usb/serial/f81534.c:937:33: error: dereferencing pointer to incomplete type drivers/usb/serial/f81534.c: At top level: drivers/usb/serial/f81534.c:960:15: error: variable 'f81534_gpio_chip_templete' has initializer but incomplete type drivers/usb/serial/f81534.c:961:2: error: unknown field 'owner' specified in initializer drivers/usb/serial/f81534.c:961:11: warning: excess elements in struct initializer [enabled by default] drivers/usb/serial/f81534.c:961:11: warning: (near initialization for 'f81534_gpio_chip_templete') [enabled by default] drivers/usb/serial/f81534.c:962:2: error: unknown field 'get_direction' specified in initializer drivers/usb/serial/f81534.c:962:2: warning: excess elements in struct initializer [enabled by default] drivers/usb/serial/f81534.c:962:2: warning: (near initialization for 'f81534_gpio_chip_templete') [enabled by default] drivers/usb/serial/f81534.c:963:2: error: unknown field 'get' specified in initializer drivers/usb/serial/f81534.c:963:2: warning: excess elements in struct initializer [enabled by default] drivers/usb/serial/f81534.c:963:2: warning: (near initialization for 'f81534_gpio_chip_templete') [enabled by default] drivers/usb/serial/f81534.c:964:2: error: unknown field 'direction_input' specified in initializer drivers/usb/serial/f81534.c:964:2: warning: excess elements in struct initializer [enabled by default] drivers/usb/serial/f81534.c:964:2: warning: (near initialization for 'f81534_gpio_chip_templete') [enabled by default] drivers/usb/serial/f81534.c:965:2: error: unknown field 'set' specified in initializer drivers/usb/serial/f81534.c:965:2: warning: excess elements in struct initializer [enabled by default] drivers/usb/serial/f81534.c:965:2: warning: (near initialization for 'f81534_gpio_chip_templete') [enabled by default] drivers/usb/serial/f81534.c:966:2: error: unknown field 'direction_output' specified in initializer drivers/usb/serial/f81534.c:966:2: warning: excess elements in struct initializer [enabled by default] drivers/usb/serial/f81534.c:966:2: warning: (near initialization for 'f81534_gpio_chip_templete') [enabled by default] drivers/usb/serial/f81534.c:967:2: error: unknown field 'request' specified in initializer drivers/usb/serial/f81534.c:967:2: warning: excess elements in struct initializer [enabled by default] drivers/usb/serial/f81534.c:967:2: warning: (near initialization for 'f81534_gpio_chip_templete') [enabled by default] drivers/usb/serial/f81534.c:968:2: error: unknown field 'free' specified in initializer drivers/usb/serial/f81534.c:968:2: warning: excess elements in struct initializer [enabled by default] drivers/usb/serial/f81534.c:968:2: warning: (near initialization for 'f81534_gpio_chip_templete') [enabled by default] drivers/usb/serial/f81534.c:969:2: error: unknown field 'ngpio' specified in initializer drivers/usb/serial/f81534.c:969:2: warning: excess elements in struct initializer [enabled by default] drivers/usb/serial/f81534.c:969:2: warning: (near initialization for 'f81534_gpio_chip_templete') [enabled by default] drivers/usb/serial/f81534.c:970:2: error: unknown field 'base' specified in initializer drivers/usb/serial/f81534.c:970:2: warning: excess elements in struct initializer [enabled by default] drivers/usb/serial/f81534.c:970:2: warning: (near initialization for 'f81534_gpio_chip_templete') [enabled by default] drivers/usb/serial/f81534.c: In function 'f81534_prepare_gpio': drivers/usb/serial/f81534.c:1566:10: error: invalid application of 'sizeof' to incomplete type 'struct gpio_chip' drivers/usb/serial/f81534.c:1573:2: error: implicit declaration of function 'gpiochip_add' drivers/usb/serial/f81534.c: In function 'f81534_release_gpio': drivers/usb/serial/f81534.c:1587:2: error: implicit declaration of function 'gpiochip_remove' drivers/usb/serial/f81534.c: At top level: drivers/usb/serial/f81534.c:2986:1: warning: data definition has no type or storage class [enabled by default] >> drivers/usb/serial/f81534.c:2986:1: error: type defaults to 'int' in declaration of 'module_init' drivers/usb/serial/f81534.c:2986:1: warning: parameter names (without types) in function declaration [enabled by default] drivers/usb/serial/f81534.c:2986:1: warning: data definition has no type or storage class [enabled by default] >> drivers/usb/serial/f81534.c:2986:1: error: type defaults to 'int' in declaration of 'module_exit' drivers/usb/serial/f81534.c:2986:1: warning: parameter names (without types) in function declaration [enabled by default] drivers/usb/serial/f81534.c:2988:20: error: expected declaration specifiers or '...' before string constant drivers/usb/serial/f81534.c:2989:15: error: expected declaration specifiers or '...' before string constant drivers/usb/serial/f81534.c:2990:15: error: expected declaration specifiers or '...' before string constant drivers/usb/serial/f81534.c:2991:16: error: expected declaration specifiers or '...' before string constant drivers/usb/serial/f81534.c:2986:1: warning: 'usb_serial_module_init' defined but not used cc1: some warnings being treated as errors vim +2986 drivers/usb/serial/f81534.c 2980 }; 2981 2982 static struct usb_serial_driver *const serial_drivers[] = { 2983 &f81534_device, NULL 2984 }; 2985 > 2986 module_usb_serial_driver(serial_drivers, id_table); 2987 2988 MODULE_DESCRIPTION(DRIVER_DESC); 2989 MODULE_AUTHOR("Peter Hong <Peter_Hong@xxxxxxxxxxxxx>"); --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data