[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2091d820-e95d-f3e1-722b-3b24f028f571@iogearbox.net>
Date: Mon, 8 Nov 2021 13:34:57 +0100
From: Daniel Borkmann <daniel@...earbox.net>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>,
Andy Shevchenko <andy.shevchenko@...il.com>,
kernel test robot <lkp@...el.com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [dborkman-bpf:pr/bpf-tstamp 3/3]
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c:2482:44: warning: shift
count >= width of type
On 11/6/21 10:12 PM, Christophe JAILLET wrote:
> (resend because of HTML issue reported by mailing list daemon)
> Le 06/11/2021 à 19:42, Andy Shevchenko a écrit :
>> +Cc Christophe (can you look into this? It seems your code is involved)
>> On Sat, Nov 6, 2021 at 3:52 AM kernel test robot<lkp@...el.com> wrote:
>>> tree:https://git.kernel.org/pub/scm/linux/kernel/git/dborkman/bpf.git pr/bpf-tstamp
>>> head: f7d619a946e981177777983af26e9e31163ffb38
>>> commit: f7d619a946e981177777983af26e9e31163ffb38 [3/3] net: skb clock bases
>>> config: i386-randconfig-a005-20210928 (attached as .config)
>>> compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dc6e8dfdfe7efecfda318d43a06fae18b40eb498)
>>> reproduce (this is a W=1 build):
>>> wgethttps://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>>> chmod +x ~/bin/make.cross
>>> #https://git.kernel.org/pub/scm/linux/kernel/git/dborkman/bpf.git/commit/?id=f7d619a946e981177777983af26e9e31163ffb38
>>> git remote add dborkman-bpfhttps://git.kernel.org/pub/scm/linux/kernel/git/dborkman/bpf.git
>>> git fetch --no-tags dborkman-bpf pr/bpf-tstamp
>>> git checkout f7d619a946e981177777983af26e9e31163ffb38
>>> # save the attached .config to linux build tree
>>> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=i386
>>>
>>> If you fix the issue, kindly add following tag as appropriate
>>> Reported-by: kernel test robot<lkp@...el.com>
>>>
>>> All warnings (new ones prefixed by >>):
>>>
>>> In file included from drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c:9:
>>> In file included from drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h:22:
>>> include/net/tcp.h:812:27: error: no member named 'skb_mstamp_ns' in 'struct sk_buff'
>>> return tcp_ns_to_ts(skb->skb_mstamp_ns);
>>> ~~~ ^
>>> include/net/tcp.h:818:22: error: no member named 'skb_mstamp_ns' in 'struct sk_buff'
>>> return div_u64(skb->skb_mstamp_ns, NSEC_PER_USEC);
>>> ~~~ ^
>>> include/net/tcp.h:2367:8: error: no member named 'skb_mstamp_ns' in 'struct sk_buff'
>>> skb->skb_mstamp_ns += (u64)tp->tcp_tx_delay * NSEC_PER_USEC;
>>> ~~~ ^
Please ignore these, it is just a local test branch from a private tree.
Thanks,
Daniel
Powered by blists - more mailing lists