All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Joakim Zhang <qiangqing.zhang@nxp.com>,
	davem@davemloft.net, kuba@kernel.org,
	frieder.schrempf@kontron.de, andrew@lunn.ch
Cc: kbuild-all@lists.01.org, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH V2 2/2] net: fec: add ndo_select_queue to fix TX bandwidth fluctuations
Date: Fri, 18 Jun 2021 23:11:25 +0800	[thread overview]
Message-ID: <202106182349.fU22m0sU-lkp@intel.com> (raw)
In-Reply-To: <20210611095005.3909-3-qiangqing.zhang@nxp.com>

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

Hi Joakim,

Thank you for the patch! Perhaps something to improve:

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

url:    https://github.com/0day-ci/linux/commits/Joakim-Zhang/net-fec-fix-TX-bandwidth-fluctuations/20210616-221117
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git c7654495916e109f76a67fd3ae68f8fa70ab4faa
config: parisc-randconfig-s031-20210618 (attached as .config)
compiler: hppa-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.3-341-g8af24329-dirty
        # https://github.com/0day-ci/linux/commit/a0ef15273c2798319e07a8277161e99b4a22b41e
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Joakim-Zhang/net-fec-fix-TX-bandwidth-fluctuations/20210616-221117
        git checkout a0ef15273c2798319e07a8277161e99b4a22b41e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=parisc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)
>> drivers/net/ethernet/freescale/fec_main.c:3250:30: sparse: sparse: cast to restricted __be16
>> drivers/net/ethernet/freescale/fec_main.c:3250:16: sparse: sparse: restricted __be16 degrades to integer

vim +3250 drivers/net/ethernet/freescale/fec_main.c

  3244	
  3245	static u16 fec_enet_get_raw_vlan_tci(struct sk_buff *skb)
  3246	{
  3247		struct vlan_ethhdr *vhdr;
  3248		unsigned short vlan_TCI = 0;
  3249	
> 3250		if (skb->protocol == ntohs(ETH_P_ALL)) {
  3251			vhdr = (struct vlan_ethhdr *)(skb->data);
  3252			vlan_TCI = ntohs(vhdr->h_vlan_TCI);
  3253		}
  3254	
  3255		return vlan_TCI;
  3256	}
  3257	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34577 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH V2 2/2] net: fec: add ndo_select_queue to fix TX bandwidth fluctuations
Date: Fri, 18 Jun 2021 23:11:25 +0800	[thread overview]
Message-ID: <202106182349.fU22m0sU-lkp@intel.com> (raw)
In-Reply-To: <20210611095005.3909-3-qiangqing.zhang@nxp.com>

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

Hi Joakim,

Thank you for the patch! Perhaps something to improve:

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

url:    https://github.com/0day-ci/linux/commits/Joakim-Zhang/net-fec-fix-TX-bandwidth-fluctuations/20210616-221117
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git c7654495916e109f76a67fd3ae68f8fa70ab4faa
config: parisc-randconfig-s031-20210618 (attached as .config)
compiler: hppa-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.3-341-g8af24329-dirty
        # https://github.com/0day-ci/linux/commit/a0ef15273c2798319e07a8277161e99b4a22b41e
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Joakim-Zhang/net-fec-fix-TX-bandwidth-fluctuations/20210616-221117
        git checkout a0ef15273c2798319e07a8277161e99b4a22b41e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=parisc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)
>> drivers/net/ethernet/freescale/fec_main.c:3250:30: sparse: sparse: cast to restricted __be16
>> drivers/net/ethernet/freescale/fec_main.c:3250:16: sparse: sparse: restricted __be16 degrades to integer

vim +3250 drivers/net/ethernet/freescale/fec_main.c

  3244	
  3245	static u16 fec_enet_get_raw_vlan_tci(struct sk_buff *skb)
  3246	{
  3247		struct vlan_ethhdr *vhdr;
  3248		unsigned short vlan_TCI = 0;
  3249	
> 3250		if (skb->protocol == ntohs(ETH_P_ALL)) {
  3251			vhdr = (struct vlan_ethhdr *)(skb->data);
  3252			vlan_TCI = ntohs(vhdr->h_vlan_TCI);
  3253		}
  3254	
  3255		return vlan_TCI;
  3256	}
  3257	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34577 bytes --]

  reply	other threads:[~2021-06-18 15:12 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-11  9:50 [PATCH V2 net-next 0/2] net: fec: fix TX bandwidth fluctuations Joakim Zhang
2021-06-11  9:50 ` [PATCH V2 1/2] net: fec: add FEC_QUIRK_HAS_MULTI_QUEUES represents i.MX6SX ENET IP Joakim Zhang
2021-06-11  9:50 ` [PATCH V2 2/2] net: fec: add ndo_select_queue to fix TX bandwidth fluctuations Joakim Zhang
2021-06-18 15:11   ` kernel test robot [this message]
2021-06-18 15:11     ` kernel test robot
2021-06-11 20:25 ` [PATCH V2 net-next 0/2] net: fec: " David Miller
2021-06-15  6:46   ` Joakim Zhang
2021-06-15 12:27     ` Andrew Lunn
2021-06-16  8:28       ` Joakim Zhang
2021-06-16 13:06         ` Andrew Lunn
2021-06-17 11:40           ` Joakim Zhang
2021-06-17 13:04             ` Andrew Lunn
2021-06-18  8:11               ` Joakim Zhang

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=202106182349.fU22m0sU-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=frieder.schrempf@kontron.de \
    --cc=kbuild-all@lists.01.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=qiangqing.zhang@nxp.com \
    /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.