linux-mediatek.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: DENG Qingfang <dqfext@gmail.com>
Cc: "Andrew Lunn" <andrew@lunn.ch>,
	kbuild-all@lists.01.org, "Paul Fertser" <fercerpav@gmail.com>,
	"netdev@vger.kernel.org, Sean Wang" <sean.wang@mediatek.com>,
	riddlariddla@hotmail.com,
	"René van Dorst" <opensource@vdorst.com>,
	linux-mediatek@lists.infradead.org,
	"Stijn Segers" <foss@volatilesystems.org>,
	"CHEN Minqiang" <ptpt52@gmail.com>,
	"John Crispin" <john@phrozen.org>,
	"Szabolcs Hubai" <szab.hu@gmail.com>,
	"Chuanhong Guo" <gch981213@gmail.com>,
	"Vivien Didelot" <vivien.didelot@gmail.com>
Subject: Re: [PATCH net-next] net: dsa: mt7530: fix tagged frames pass-through in VLAN-unaware mode
Date: Tue, 14 Apr 2020 12:58:12 +0800	[thread overview]
Message-ID: <202004141240.1qVIIHPz%lkp@intel.com> (raw)
In-Reply-To: <20200413181609.29566-1-dqfext@gmail.com>

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

Hi DENG,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on net-next/master]
[also build test ERROR on net/master linus/master v5.7-rc1 next-20200413]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/DENG-Qingfang/net-dsa-mt7530-fix-tagged-frames-pass-through-in-VLAN-unaware-mode/20200414-045838
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 7f80ccfe996871ca69648efee74a60ae7ad0dcd9
config: m68k-allmodconfig (attached as .config)
compiler: m68k-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
        # save the attached .config to linux build tree
        GCC_VERSION=9.3.0 make.cross ARCH=m68k 

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

All errors (new ones prefixed by >>):

   In file included from drivers/net/dsa/mt7530.c:23:
>> drivers/net/dsa/mt7530.h:181:29: error: expected ',' or '}' before ';' token
     181 |  MT7530_VLAN_EG_DISABLED = 0;
         |                             ^
   drivers/net/dsa/mt7530.c: In function 'mt7530_port_set_vlan_unaware':
>> drivers/net/dsa/mt7530.c:851:17: error: 'MT7530_VLAN_EG_CONSISTENT' undeclared (first use in this function); did you mean 'MT7530_VLAN_TRANSPARENT'?
     851 |      PVC_EG_TAG(MT7530_VLAN_EG_CONSISTENT));
         |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/net/dsa/mt7530.h:175:29: note: in definition of macro 'PVC_EG_TAG'
     175 | #define  PVC_EG_TAG(x)   (((x) & 0x7) << 8)
         |                             ^
   drivers/net/dsa/mt7530.c:851:17: note: each undeclared identifier is reported only once for each function it appears in
     851 |      PVC_EG_TAG(MT7530_VLAN_EG_CONSISTENT));
         |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/net/dsa/mt7530.h:175:29: note: in definition of macro 'PVC_EG_TAG'
     175 | #define  PVC_EG_TAG(x)   (((x) & 0x7) << 8)
         |                             ^
   drivers/net/dsa/mt7530.c: In function 'mt7530_setup':
   drivers/net/dsa/mt7530.c:1388:18: error: 'MT7530_VLAN_EG_CONSISTENT' undeclared (first use in this function); did you mean 'MT7530_VLAN_TRANSPARENT'?
    1388 |       PVC_EG_TAG(MT7530_VLAN_EG_CONSISTENT));
         |                  ^~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/net/dsa/mt7530.h:175:29: note: in definition of macro 'PVC_EG_TAG'
     175 | #define  PVC_EG_TAG(x)   (((x) & 0x7) << 8)
         |                             ^

vim +181 drivers/net/dsa/mt7530.h

   179	
   180	enum mt7530_vlan_port_eg_tag {
 > 181		MT7530_VLAN_EG_DISABLED = 0;
   182		MT7530_VLAN_EG_CONSISTENT = 1;
   183	};
   184	

---
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: 52979 bytes --]

[-- Attachment #3: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

      reply	other threads:[~2020-04-14  4:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-13 18:16 [PATCH net-next] net: dsa: mt7530: fix tagged frames pass-through in VLAN-unaware mode DENG Qingfang
2020-04-14  4:58 ` 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=202004141240.1qVIIHPz%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=andrew@lunn.ch \
    --cc=dqfext@gmail.com \
    --cc=fercerpav@gmail.com \
    --cc=foss@volatilesystems.org \
    --cc=gch981213@gmail.com \
    --cc=john@phrozen.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=opensource@vdorst.com \
    --cc=ptpt52@gmail.com \
    --cc=riddlariddla@hotmail.com \
    --cc=sean.wang@mediatek.com \
    --cc=szab.hu@gmail.com \
    --cc=vivien.didelot@gmail.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;
as well as URLs for NNTP newsgroup(s).