Content-Type: multipart/mixed; boundary="===============3373477359968534479==" MIME-Version: 1.0 From: kbuild test robot To: kbuild-all@lists.01.org Subject: Re: [RFC, net-next, v2, 1/1] net: stmmac: Enable SERDES power up/down sequence Date: Sat, 11 Apr 2020 05:55:54 +0800 Message-ID: <202004110537.NBPGmd5X%lkp@intel.com> In-Reply-To: <20200409154823.26480-2-weifeng.voon@intel.com> List-Id: --===============3373477359968534479== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Voon, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on linus/master] [also build test WARNING on next-20200410] [cannot apply to v5.6] [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/Voon-Weifeng/Enable-SERDES= -power-up-down/20200410-033839 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git = 5d30bcacd91af6874481129797af364a53cd9b46 If you fix the issue, kindly add following tag as appropriate Reported-by: kbuild test robot cppcheck warnings: (new ones prefixed by >>) drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c:57:6: warning: The sco= pe of the variable 'val_rd' can be reduced. [variableScope] int val_rd =3D 0; ^ >> drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c:57:13: warning: Variab= le 'val_rd' is assigned a value that is never used. [unreadVariable] int val_rd =3D 0; ^ vim +/val_rd +57 drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c 52 = 53 static int serdes_status_poll(struct stmmac_priv *priv, int phyaddr, 54 int phyreg, u32 mask, u32 val) 55 { 56 unsigned int retries =3D 10; > 57 int val_rd =3D 0; 58 = 59 do { 60 val_rd =3D mdiobus_read(priv->mii, phyaddr, phyreg); 61 if ((val_rd & mask) =3D=3D (val & mask)) 62 return 0; 63 udelay(POLL_DELAY_US); 64 } while (--retries); 65 = 66 return -ETIMEDOUT; 67 } 68 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============3373477359968534479==--