mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Jason Wang <jasowang@redhat.com>
Cc: kbuild-all@01.org, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org, mst@redhat.com, jbrouer@redhat.com,
	Jason Wang <jasowang@redhat.com>,
	Jesper Dangaard Brouer <brouer@redhat.com>
Subject: Re: [PATCH net-next 2/2] tuntap: XDP transmission
Date: Mon, 1 Jan 2018 16:27:35 +0800	[thread overview]
Message-ID: <201801011602.CMcXzt1f%fengguang.wu@intel.com> (raw)
In-Reply-To: <1514541604-12728-3-git-send-email-jasowang@redhat.com>

Hi Jason,

I love your patch! Perhaps something to improve:

[auto build test WARNING on net-next/master]

url:    https://github.com/0day-ci/linux/commits/Jason-Wang/XDP-transmission-for-tuntap/20180101-105946
reproduce:
        # apt-get install sparse
        make ARCH=x86_64 allmodconfig
        make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)


vim +1274 drivers/net/tun.c

  1270	
  1271	static void tun_xdp_flush(struct net_device *dev)
  1272	{
  1273		struct tun_struct *tun = netdev_priv(dev);
> 1274		struct tun_file *tfile = tun->tfiles[0];
  1275	
  1276		/* Notify and wake up reader process */
  1277		if (tfile->flags & TUN_FASYNC)
  1278			kill_fasync(&tfile->fasync, SIGIO, POLL_IN);
  1279		tfile->socket.sk->sk_data_ready(tfile->socket.sk);
  1280	}
  1281	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

      parent reply	other threads:[~2018-01-01  8:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-29 10:00 [PATCH net-next 0/2] XDP transmission for tuntap Jason Wang
2017-12-29 10:00 ` [PATCH net-next 1/2] tun/tap: use ptr_ring instead of skb_array Jason Wang
2017-12-29 10:00 ` [PATCH net-next 2/2] tuntap: XDP transmission Jason Wang
2017-12-29 12:32   ` Jesper Dangaard Brouer
2018-01-02  3:00     ` Jason Wang
2018-01-01  3:48   ` kbuild test robot
2018-01-01  3:55     ` Joe Perches
2018-01-02  3:32       ` Jason Wang
2018-01-01  4:09   ` kbuild test robot
2018-01-01  8:27   ` kbuild test robot [this message]

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=201801011602.CMcXzt1f%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=brouer@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=jbrouer@redhat.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=netdev@vger.kernel.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 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®