public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Vladimir Oltean <vladimir.oltean@nxp.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	0day robot <lkp@intel.com>
Subject: include/linux/netdevice.h:2339:16: error: 'const struct sk_buff' has no member named 'use_ipv'
Date: Thu, 26 May 2022 21:20:37 +0800	[thread overview]
Message-ID: <202205262147.gC3FSeHN-lkp@intel.com> (raw)

tree:   https://github.com/intel-lab-lkp/linux/commits/UPDATE-20220526-173254/Vladimir-Oltean/selftests-forwarding-add-Per-Stream-Filtering-and-Policing-test-for-Ocelot/20220501-193132
head:   32b52188919f424bfabe1d3c0921ff854fb7f4ee
commit: 32b52188919f424bfabe1d3c0921ff854fb7f4ee selftests: forwarding: add Per-Stream Filtering and Policing test for Ocelot
date:   4 hours ago
config: mips-allmodconfig (https://download.01.org/0day-ci/archive/20220526/202205262147.gC3FSeHN-lkp@intel.com/config)
compiler: mips-linux-gcc (GCC) 11.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/intel-lab-lkp/linux/commit/32b52188919f424bfabe1d3c0921ff854fb7f4ee
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review UPDATE-20220526-173254/Vladimir-Oltean/selftests-forwarding-add-Per-Stream-Filtering-and-Policing-test-for-Ocelot/20220501-193132
        git checkout 32b52188919f424bfabe1d3c0921ff854fb7f4ee
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash drivers/net/wireless/st/cw1200/ net/sched/

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

All errors (new ones prefixed by >>):

   In file included from include/linux/rtnetlink.h:7,
                    from net/sched/act_police.c:15:
   include/linux/netdevice.h: In function 'skb_get_prio_tc_map':
>> include/linux/netdevice.h:2339:16: error: 'const struct sk_buff' has no member named 'use_ipv'
    2339 |         if (skb->use_ipv)
         |                ^~
>> include/linux/netdevice.h:2340:27: error: 'const struct sk_buff' has no member named 'ipv'
    2340 |                 prio = skb->ipv;
         |                           ^~
--
   In file included from include/linux/rtnetlink.h:7,
                    from net/sched/act_gate.c:10:
   include/linux/netdevice.h: In function 'skb_get_prio_tc_map':
>> include/linux/netdevice.h:2339:16: error: 'const struct sk_buff' has no member named 'use_ipv'
    2339 |         if (skb->use_ipv)
         |                ^~
>> include/linux/netdevice.h:2340:27: error: 'const struct sk_buff' has no member named 'ipv'
    2340 |                 prio = skb->ipv;
         |                           ^~
   net/sched/act_gate.c: In function 'tcf_gate_act':
>> net/sched/act_gate.c:145:20: error: 'struct sk_buff' has no member named 'use_ipv'
     145 |                 skb->use_ipv = true;
         |                    ^~
>> net/sched/act_gate.c:146:20: error: 'struct sk_buff' has no member named 'ipv'
     146 |                 skb->ipv = gact->current_ipv;
         |                    ^~


vim +2339 include/linux/netdevice.h

  2332	
  2333	static inline int skb_get_prio_tc_map(const struct sk_buff *skb,
  2334					      const struct net_device *dev)
  2335	{
  2336		__u32 prio = skb->priority;
  2337	
  2338	#if IS_ENABLED(CONFIG_NET_ACT_GATE)
> 2339		if (skb->use_ipv)
> 2340			prio = skb->ipv;
  2341	#endif
  2342	
  2343		return netdev_get_prio_tc_map(dev, prio);
  2344	}
  2345	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

                 reply	other threads:[~2022-05-26 13:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202205262147.gC3FSeHN-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vladimir.oltean@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox