Content-Type: multipart/mixed; boundary="===============5675783133371951912==" MIME-Version: 1.0 From: kbuild test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH v3 net-next 4/8] net: dsa: implement auto-normalization of MTU for bridge hardware datapath Date: Thu, 02 Apr 2020 09:25:03 +0800 Message-ID: <20200402012503.GF8179@shao2-debian> In-Reply-To: <20200326224040.32014-5-olteanv@gmail.com> List-Id: --===============5675783133371951912== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Vladimir, I love your patch! Perhaps something to improve: [auto build test WARNING on net-next/master] [also build test WARNING on linus/master v5.6-rc7 next-20200327] [if your patch is applied to the wrong git tree, please drop us a note to h= elp 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/37406= 982] url: https://github.com/0day-ci/linux/commits/Vladimir-Oltean/Configure-= the-MTU-on-DSA-switches/20200327-094801 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git = 92b7e62e5630a370955a4760bbeb3967457034ec reproduce: # apt-get install sparse # sparse version: v0.6.1-187-gbff9b106-dirty make ARCH=3Dx86_64 allmodconfig make C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' :::::: branch date: 17 hours ago :::::: commit date: 17 hours ago If you fix the issue, kindly add following tag Reported-by: kbuild test robot net/dsa/slave.c:506:13: sparse: sparse: incorrect type in initializer (d= ifferent address spaces) @@ expected void const [noderef] *__vpp= _verify @@ got const [noderef] *__vpp_verify @@ net/dsa/slave.c:506:13: sparse: expected void const [noderef] = *__vpp_verify net/dsa/slave.c:506:13: sparse: got struct pcpu_sw_netstats * net/dsa/slave.c:640:21: sparse: sparse: incorrect type in initializer (d= ifferent address spaces) @@ expected void const [noderef] *__vpp= _verify @@ got const [noderef] *__vpp_verify @@ net/dsa/slave.c:640:21: sparse: expected void const [noderef] = *__vpp_verify net/dsa/slave.c:640:21: sparse: got struct pcpu_sw_netstats * net/dsa/slave.c:1106:21: sparse: sparse: incorrect type in initializer (= different address spaces) @@ expected void const [noderef] *__vp= p_verify @@ got const [noderef] *__vpp_verify @@ net/dsa/slave.c:1106:21: sparse: expected void const [noderef] *__vpp_verify net/dsa/slave.c:1106:21: sparse: got struct pcpu_sw_netstats * >> net/dsa/slave.c:1264:6: sparse: sparse: symbol 'dsa_bridge_mtu_normaliza= tion' was not declared. Should it be static? net/dsa/slave.c:1682:20: sparse: sparse: incorrect type in assignment (d= ifferent address spaces) @@ expected struct pcpu_sw_netstats *stats64 @@= got struct pcpu_sw_netstruct pcpu_sw_netstats *stats64 @@ net/dsa/slave.c:1682:20: sparse: expected struct pcpu_sw_netstats *st= ats64 net/dsa/slave.c:1682:20: sparse: got struct pcpu_sw_netstats [noderef= ] *pcpu_stats net/dsa/slave.c:1726:22: sparse: sparse: incorrect type in argument 1 (d= ifferent address spaces) @@ expected void [noderef] *__pdata @@ = got svoid [noderef] *__pdata @@ net/dsa/slave.c:1726:22: sparse: expected void [noderef] *__p= data net/dsa/slave.c:1726:22: sparse: got struct pcpu_sw_netstats *stats64 net/dsa/slave.c:1745:22: sparse: sparse: incorrect type in argument 1 (d= ifferent address spaces) @@ expected void [noderef] *__pdata @@ = got svoid [noderef] *__pdata @@ net/dsa/slave.c:1745:22: sparse: expected void [noderef] *__p= data net/dsa/slave.c:1745:22: sparse: got struct pcpu_sw_netstats *stats64 Please review and possibly fold the followup patch. --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============5675783133371951912==--