[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 1 Jan 2018 16:27:35 +0800
From: kbuild test robot <lkp@...el.com>
To: Jason Wang <jasowang@...hat.com>
Cc: kbuild-all@...org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, mst@...hat.com, jbrouer@...hat.com,
Jason Wang <jasowang@...hat.com>,
Jesper Dangaard Brouer <brouer@...hat.com>
Subject: Re: [PATCH net-next 2/2] tuntap: XDP transmission
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
Powered by blists - more mailing lists