All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael S. Tsirkin <mst@redhat.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH RFC v7 net-next] netdev: pass the stuck queue to the timeout handler
Date: Tue, 03 Dec 2019 14:45:09 -0500	[thread overview]
Message-ID: <20191203144459-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <CAKwvOdm6QUn0jaNkr-D=WnKt42DzxeX9DCnJckzezPbBg+QpVw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 7197 bytes --]

On Tue, Dec 03, 2019 at 10:37:48AM -0800, Nick Desaulniers wrote:
> Hi Michael,
> Below is a report from 0day from a build w/ Clang, can you please take
> a look?  Looks like the signedness of the final parameter of the
> callback should be changed?

Yep, fixing it up, thanks!

> On Tue, Dec 3, 2019 at 9:46 AM kbuild test robot <lkp@intel.com> wrote:
> >
> > CC: kbuild-all(a)lists.01.org
> > In-Reply-To: <20191203071101.427592-1-mst@redhat.com>
> > References: <20191203071101.427592-1-mst@redhat.com>
> > TO: "Michael S. Tsirkin" <mst@redhat.com>
> >
> > Hi "Michael,
> >
> > [FYI, it's a private test report for your RFC patch.]
> > [auto build test ERROR on v5.4-rc8]
> > [also build test ERROR on v5.4 v5.4-rc7]
> > [cannot apply to net-next/master jkirsher-next-queue/dev-queue net/master next-20191202 next-20191203]
> > [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/netdev-pass-the-stuck-queue-to-the-timeout-handler/20191203-152315
> > base:    af42d3466bdc8f39806b26f593604fdc54140bcb
> > config: x86_64-rhel-7.6 (attached as .config)
> > compiler: clang version 10.0.0 (git://gitmirror/llvm_project 7999cd41d16d841d66c9c91b56bddaf209c54955)
> > reproduce:
> >         # save the attached .config to linux build tree
> >         make ARCH=x86_64
> >
> > If you fix the issue, kindly add following tag
> > Reported-by: kbuild test robot <lkp@intel.com>
> >
> > All errors (new ones prefixed by >>):
> >
> > >> drivers/net/ethernet/sfc/efx.c:2467:21: error: incompatible pointer types initializing 'void (*)(struct net_device *, unsigned int)' with an expression of type 'void (struct net_device *, int)' [-Werror,-Wincompatible-pointer-types]
> >            .ndo_tx_timeout         = efx_watchdog,
> >                                      ^~~~~~~~~~~~
> >    1 error generated.
> > --
> > >> drivers/net/ethernet/sfc/falcon/efx.c:2219:21: error: incompatible pointer types initializing 'void (*)(struct net_device *, unsigned int)' with an expression of type 'void (struct net_device *, int)' [-Werror,-Wincompatible-pointer-types]
> >            .ndo_tx_timeout         = ef4_watchdog,
> >                                      ^~~~~~~~~~~~
> >    1 error generated.
> >
> > vim +2467 drivers/net/ethernet/sfc/efx.c
> >
> > e5fbd977641c92 drivers/net/ethernet/sfc/efx.c Jon Cooper        2017-02-08  2462
> > 7fa8d547049aae drivers/net/ethernet/sfc/efx.c Shradha Shah      2015-05-06  2463  static const struct net_device_ops efx_netdev_ops = {
> > c3ecb9f3235ce6 drivers/net/sfc/efx.c          Stephen Hemminger 2008-11-21  2464        .ndo_open               = efx_net_open,
> > c3ecb9f3235ce6 drivers/net/sfc/efx.c          Stephen Hemminger 2008-11-21  2465        .ndo_stop               = efx_net_stop,
> > 4472702e657580 drivers/net/sfc/efx.c          Ben Hutchings     2010-06-08  2466        .ndo_get_stats64        = efx_net_stats,
> > c3ecb9f3235ce6 drivers/net/sfc/efx.c          Stephen Hemminger 2008-11-21 @2467        .ndo_tx_timeout         = efx_watchdog,
> > c3ecb9f3235ce6 drivers/net/sfc/efx.c          Stephen Hemminger 2008-11-21  2468        .ndo_start_xmit         = efx_hard_start_xmit,
> > c3ecb9f3235ce6 drivers/net/sfc/efx.c          Stephen Hemminger 2008-11-21  2469        .ndo_validate_addr      = eth_validate_addr,
> > c3ecb9f3235ce6 drivers/net/sfc/efx.c          Stephen Hemminger 2008-11-21  2470        .ndo_do_ioctl           = efx_ioctl,
> > c3ecb9f3235ce6 drivers/net/sfc/efx.c          Stephen Hemminger 2008-11-21  2471        .ndo_change_mtu         = efx_change_mtu,
> > c3ecb9f3235ce6 drivers/net/sfc/efx.c          Stephen Hemminger 2008-11-21  2472        .ndo_set_mac_address    = efx_set_mac_address,
> > 0fca8c97612f90 drivers/net/ethernet/sfc/efx.c Ben Hutchings     2012-01-09  2473        .ndo_set_rx_mode        = efx_set_rx_mode,
> > abfe903980161b drivers/net/sfc/efx.c          Ben Hutchings     2011-04-05  2474        .ndo_set_features       = efx_set_features,
> > 4a53ea8a74248a drivers/net/ethernet/sfc/efx.c Andrew Rybchenko  2016-06-15  2475        .ndo_vlan_rx_add_vid    = efx_vlan_rx_add_vid,
> > 4a53ea8a74248a drivers/net/ethernet/sfc/efx.c Andrew Rybchenko  2016-06-15  2476        .ndo_vlan_rx_kill_vid   = efx_vlan_rx_kill_vid,
> > cd2d5b529cdb9b drivers/net/ethernet/sfc/efx.c Ben Hutchings     2012-02-14  2477  #ifdef CONFIG_SFC_SRIOV
> > 7fa8d547049aae drivers/net/ethernet/sfc/efx.c Shradha Shah      2015-05-06  2478        .ndo_set_vf_mac         = efx_sriov_set_vf_mac,
> > 7fa8d547049aae drivers/net/ethernet/sfc/efx.c Shradha Shah      2015-05-06  2479        .ndo_set_vf_vlan        = efx_sriov_set_vf_vlan,
> > 7fa8d547049aae drivers/net/ethernet/sfc/efx.c Shradha Shah      2015-05-06  2480        .ndo_set_vf_spoofchk    = efx_sriov_set_vf_spoofchk,
> > 7fa8d547049aae drivers/net/ethernet/sfc/efx.c Shradha Shah      2015-05-06  2481        .ndo_get_vf_config      = efx_sriov_get_vf_config,
> > 4392dc6900618c drivers/net/ethernet/sfc/efx.c Edward Cree       2015-05-20  2482        .ndo_set_vf_link_state  = efx_sriov_set_vf_link_state,
> > cd2d5b529cdb9b drivers/net/ethernet/sfc/efx.c Ben Hutchings     2012-02-14  2483  #endif
> > 08a7b29be9734a drivers/net/ethernet/sfc/efx.c Bert Kenward      2017-01-10  2484        .ndo_get_phys_port_id   = efx_get_phys_port_id,
> > ac019f08953278 drivers/net/ethernet/sfc/efx.c Bert Kenward      2017-01-10  2485        .ndo_get_phys_port_name = efx_get_phys_port_name,
> > 94b274bf5fba6c drivers/net/sfc/efx.c          Ben Hutchings     2011-01-10  2486        .ndo_setup_tc           = efx_setup_tc,
> > 64d8ad6d745bbb drivers/net/sfc/efx.c          Ben Hutchings     2011-01-05  2487  #ifdef CONFIG_RFS_ACCEL
> > 64d8ad6d745bbb drivers/net/sfc/efx.c          Ben Hutchings     2011-01-05  2488        .ndo_rx_flow_steer      = efx_filter_rfs,
> > 64d8ad6d745bbb drivers/net/sfc/efx.c          Ben Hutchings     2011-01-05  2489  #endif
> > e5fbd977641c92 drivers/net/ethernet/sfc/efx.c Jon Cooper        2017-02-08  2490        .ndo_udp_tunnel_add     = efx_udp_tunnel_add,
> > e5fbd977641c92 drivers/net/ethernet/sfc/efx.c Jon Cooper        2017-02-08  2491        .ndo_udp_tunnel_del     = efx_udp_tunnel_del,
> > c3ecb9f3235ce6 drivers/net/sfc/efx.c          Stephen Hemminger 2008-11-21  2492  };
> > c3ecb9f3235ce6 drivers/net/sfc/efx.c          Stephen Hemminger 2008-11-21  2493
> >
> > :::::: The code at line 2467 was first introduced by commit
> > :::::: c3ecb9f3235ce6e39249690cdd24d678894c2c72 sfc: 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
> 
> 
> 
> -- 
> Thanks,
> ~Nick Desaulniers

  reply	other threads:[~2019-12-03 19:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201912040139.EtA8bCsH%lkp@intel.com>
2019-12-03 18:37 ` [PATCH RFC v7 net-next] netdev: pass the stuck queue to the timeout handler Nick Desaulniers
2019-12-03 19:45   ` Michael S. Tsirkin [this message]
2019-12-03  7:12 Michael S. Tsirkin
  -- strict thread matches above, loose matches on Subject: below --
2019-12-03  7:12 Michael S. Tsirkin
2019-12-03 18:07 ` Jakub Kicinski
2019-12-03 18:07 ` Jakub Kicinski
2019-12-03 19:24 ` Heiner Kallweit
2019-12-03 19:47 ` Shannon Nelson

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=20191203144459-mutt-send-email-mst@kernel.org \
    --to=mst@redhat.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.