From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============0013615133778365798==" MIME-Version: 1.0 From: kbuild test robot To: kbuild-all@lists.01.org Subject: Re: [RFC net-next 2/3] net: marvell: prestera: Add PCI interface support Date: Tue, 10 Mar 2020 03:44:05 +0800 Message-ID: <202003100332.DvlfMmSa%lkp@intel.com> In-Reply-To: <20200225163025.9430-3-vadym.kochan@plvision.eu> List-Id: --===============0013615133778365798== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Vadym, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on net-next/master] [also build test WARNING on linux/master net/master linus/master v5.6-rc5 n= ext-20200306] [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/Vadym-Kochan/net-marvell-p= restera-Add-Switchdev-driver-for-Prestera-family-ASIC-device-98DX326x-AC3x/= 20200226-034237 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git = 3b3e808cd883dd2e39c85e6d8debc0020b5ef5e7 If you fix the issue, kindly add following tag Reported-by: kbuild test robot smatch warnings: drivers/net/ethernet/marvell/prestera/prestera_pci.c:591 mvsw_pr_fw_rev_che= ck() warn: always true condition '(rev->min >=3D 0) =3D> (0-u16max >=3D 0)' drivers/net/ethernet/marvell/prestera/prestera_pci.c:806 mvsw_pr_pci_init()= error: uninitialized symbol 'err'. vim +591 drivers/net/ethernet/marvell/prestera/prestera_pci.c 585 = 586 static int mvsw_pr_fw_rev_check(struct mvsw_pr_fw *fw) 587 { 588 struct mvsw_fw_rev *rev =3D &fw->dev.fw_rev; 589 = 590 if (rev->maj =3D=3D MVSW_SUPP_FW_MAJ_VER && > 591 rev->min >=3D MVSW_SUPP_FW_MIN_VER) { 592 return 0; 593 } 594 = 595 dev_err(mvsw_fw_dev(fw), "Driver supports FW version only '%u.%u.%u= '", 596 MVSW_SUPP_FW_MAJ_VER, 597 MVSW_SUPP_FW_MIN_VER, 598 MVSW_SUPP_FW_PATCH_VER); 599 = 600 return -EINVAL; 601 } 602 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============0013615133778365798==--