From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH net-next v2] drivers: net: virtio_net: Implement a dev_watchdog handler
Date: Fri, 29 Nov 2019 03:26:28 +0800 [thread overview]
Message-ID: <201911290132.Nwm8mkbr%lkp@intel.com> (raw)
In-Reply-To: <20191125033959-mutt-send-email-mst@kernel.org>
[-- Attachment #1: Type: text/plain, Size: 4768 bytes --]
Hi "Michael,
I love your patch! Perhaps something to improve:
[auto build test WARNING on net/master]
[cannot apply to net-next/master v5.4 next-20191128]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Michael-S-Tsirkin/Re-PATCH-net-next-v2-drivers-net-virtio_net-Implement-a-dev_watchdog-handler/20191125-180545
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git 312434617cb16be5166316cf9d08ba760b1042a1
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-39-gd06e1d2-dirty
make ARCH=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
drivers/net/ethernet/realtek/8139too.c:2246:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] @@ got restrunsigned int [usertype] @@
drivers/net/ethernet/realtek/8139too.c:2246:9: sparse: expected unsigned int [usertype]
drivers/net/ethernet/realtek/8139too.c:2246:9: sparse: got restricted __le32 [usertype]
drivers/net/ethernet/realtek/8139too.c:2247:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] @@ got restrunsigned int [usertype] @@
drivers/net/ethernet/realtek/8139too.c:2247:9: sparse: expected unsigned int [usertype]
drivers/net/ethernet/realtek/8139too.c:2247:9: sparse: got restricted __le32 [usertype]
>> drivers/net/ethernet/realtek/8139too.c:936:35: sparse: sparse: incorrect type in initializer (incompatible argument 2 (different signedness)) @@ expected void ( *ndo_tx_timeout )( ... ) @@ got void ( *ndo_tx_timeout )( ... ) @@
>> drivers/net/ethernet/realtek/8139too.c:936:35: sparse: expected void ( *ndo_tx_timeout )( ... )
>> drivers/net/ethernet/realtek/8139too.c:936:35: sparse: got void ( * )( ... )
vim +936 drivers/net/ethernet/realtek/8139too.c
d95089dc54ad07 drivers/net/ethernet/realtek/8139too.c Ben Greear 2012-02-10 926
48dfcde46ef23c drivers/net/8139too.c Stephen Hemminger 2008-11-19 927 static const struct net_device_ops rtl8139_netdev_ops = {
48dfcde46ef23c drivers/net/8139too.c Stephen Hemminger 2008-11-19 928 .ndo_open = rtl8139_open,
48dfcde46ef23c drivers/net/8139too.c Stephen Hemminger 2008-11-19 929 .ndo_stop = rtl8139_close,
9184a22701ed25 drivers/net/ethernet/realtek/8139too.c Junchang Wang 2012-03-05 930 .ndo_get_stats64 = rtl8139_get_stats64,
48dfcde46ef23c drivers/net/8139too.c Stephen Hemminger 2008-11-19 931 .ndo_validate_addr = eth_validate_addr,
bda6a15a0d283d drivers/net/8139too.c Jiri Pirko 2009-03-13 932 .ndo_set_mac_address = rtl8139_set_mac_address,
008298231abbeb drivers/net/8139too.c Stephen Hemminger 2008-11-20 933 .ndo_start_xmit = rtl8139_start_xmit,
afc4b13df14312 drivers/net/ethernet/realtek/8139too.c Jiri Pirko 2011-08-16 934 .ndo_set_rx_mode = rtl8139_set_rx_mode,
48dfcde46ef23c drivers/net/8139too.c Stephen Hemminger 2008-11-19 935 .ndo_do_ioctl = netdev_ioctl,
48dfcde46ef23c drivers/net/8139too.c Stephen Hemminger 2008-11-19 @936 .ndo_tx_timeout = rtl8139_tx_timeout,
48dfcde46ef23c drivers/net/8139too.c Stephen Hemminger 2008-11-19 937 #ifdef CONFIG_NET_POLL_CONTROLLER
48dfcde46ef23c drivers/net/8139too.c Stephen Hemminger 2008-11-19 938 .ndo_poll_controller = rtl8139_poll_controller,
48dfcde46ef23c drivers/net/8139too.c Stephen Hemminger 2008-11-19 939 #endif
d95089dc54ad07 drivers/net/ethernet/realtek/8139too.c Ben Greear 2012-02-10 940 .ndo_set_features = rtl8139_set_features,
48dfcde46ef23c drivers/net/8139too.c Stephen Hemminger 2008-11-19 941 };
^1da177e4c3f41 drivers/net/8139too.c Linus Torvalds 2005-04-16 942
:::::: The code at line 936 was first introduced by commit
:::::: 48dfcde46ef23cfad1e0c0f13d4eae15c7f46efc 8139: convert to net_device_ops
:::::: TO: Stephen Hemminger <shemminger@vyatta.com>
:::::: CC: David S. Miller <davem@davemloft.net>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation
next prev parent reply other threads:[~2019-11-28 19:26 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-22 1:36 [PATCH net-next v2] drivers: net: virtio_net: Implement a dev_watchdog handler Julio Faracco
2019-11-22 10:31 ` Michael S. Tsirkin
2019-11-22 10:31 ` Michael S. Tsirkin
2019-11-22 12:59 ` Julio Faracco
2019-11-22 13:53 ` Michael S. Tsirkin
2019-11-22 13:53 ` Michael S. Tsirkin
2019-11-23 22:33 ` Julio Faracco
2019-11-23 22:33 ` Julio Faracco
2019-11-24 10:52 ` Michael S. Tsirkin
2019-11-24 10:52 ` Michael S. Tsirkin
2019-11-24 14:49 ` kbuild test robot
2019-11-24 15:05 ` Michael S. Tsirkin
2019-11-24 15:05 ` Michael S. Tsirkin
2019-11-24 21:48 ` Michael S. Tsirkin
2019-11-24 21:48 ` Michael S. Tsirkin
2019-11-24 23:03 ` Jakub Kicinski
2019-11-24 23:18 ` Michael S. Tsirkin
2019-11-24 23:18 ` Michael S. Tsirkin
2019-11-24 23:29 ` Michael S. Tsirkin
2019-11-24 23:37 ` Jakub Kicinski
2019-11-25 8:42 ` Michael S. Tsirkin
2019-11-28 19:26 ` kbuild test robot [this message]
2019-11-25 8:42 ` Michael S. Tsirkin
2019-11-24 23:37 ` Jakub Kicinski
2019-11-25 8:20 ` kbuild test robot
2019-11-24 23:29 ` Michael S. Tsirkin
2019-11-24 23:03 ` Jakub Kicinski
2019-11-24 15:05 ` Michael S. Tsirkin
2019-11-22 12:59 ` Julio Faracco
-- strict thread matches above, loose matches on Subject: below --
2019-11-22 1:36 Julio Faracco
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=201911290132.Nwm8mkbr%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.