From: kbuild test robot <lkp@intel.com>
To: Peter Hung <hpeter@gmail.com>
Cc: kbuild-all@01.org, johan@kernel.org, gregkh@linuxfoundation.org,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
tom_tsai@fintek.com.tw, peter_hong@fintek.com.tw,
Peter Hung <hpeter+linux_kernel@gmail.com>
Subject: Re: [PATCH V6 1/1] usb:serial: Add Fintek F81532/534 driver
Date: Tue, 3 Nov 2015 15:06:49 +0800 [thread overview]
Message-ID: <201511031527.UYAx5m4v%fengguang.wu@intel.com> (raw)
In-Reply-To: <1446522669-18987-1-git-send-email-hpeter+linux_kernel@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 7281 bytes --]
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@fintek.com.tw>");
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 41629 bytes --]
next prev parent reply other threads:[~2015-11-03 7:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-03 3:51 Peter Hung
2015-11-03 6:28 ` kbuild test robot
2015-11-03 7:06 ` kbuild test robot [this message]
2015-11-03 9:45 ` Andy Shevchenko
2015-11-04 8:41 ` Peter Hung
2015-11-03 10:03 ` Oliver Neukum
2015-11-04 8:19 ` Peter Hung
2015-11-04 8:38 ` Oliver Neukum
2015-11-05 2:48 ` Peter Hung
2015-11-05 2:55 ` Peter Hung
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201511031527.UYAx5m4v%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=hpeter+linux_kernel@gmail.com \
--cc=hpeter@gmail.com \
--cc=johan@kernel.org \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=peter_hong@fintek.com.tw \
--cc=tom_tsai@fintek.com.tw \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®