From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 33009173 for ; Mon, 13 Dec 2021 04:55:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1639371339; x=1670907339; h=date:from:to:cc:subject:message-id:mime-version; bh=1Jj4LHnxYVAotFxoF9mkBEj/DMroH+iLGee9/NEZDB0=; b=ifdWT9PlFpO2VsKJLvNhiNdcO/89R4dU9T/6WNnT9WB4Gpq/gnSpOAfH TFK4HJy8BlRUMASHwLu2Ja1F9BDMhxnwo7wMvPn82lEpobI5Qe8kLNPTb QLyrq8hjo+61LbP8bwUPrgSpOTHTQ7X3EZj5NMIDnWhVg/B30f5LEpPfr +lTNUeCepUb2IyDdt0KNOJN8h98LJpl0+7LBiKIRO1+ura2jcInk+2yLe JyeisI2CAfrMKSbJYXO+6MJTjj2R6gDnrjGsGkNlnbNxp39fVSBs/B3b/ W40KctWtew7hU6Q+fOnCdZHcp1XAJqftcq0Z9otXGbLL7W99tPbrM+zXL Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10196"; a="302044210" X-IronPort-AV: E=Sophos;i="5.88,201,1635231600"; d="scan'208";a="302044210" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Dec 2021 20:55:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,201,1635231600"; d="scan'208";a="464488620" Received: from lkp-server02.sh.intel.com (HELO 9e1e9f9b3bcb) ([10.239.97.151]) by orsmga006.jf.intel.com with ESMTP; 12 Dec 2021 20:55:37 -0800 Received: from kbuild by 9e1e9f9b3bcb with local (Exim 4.92) (envelope-from ) id 1mwdNA-0006I8-Bm; Mon, 13 Dec 2021 04:55:36 +0000 Date: Mon, 13 Dec 2021 12:55:30 +0800 From: kernel test robot To: "Russell King (Oracle)" Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org Subject: [arm:zii 147/186] drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1531:49: error: incompatible pointer types passing 'struct phylink_config *' to parameter of type 'struct phylink_pcs *' Message-ID: <202112131233.tkpcN3nU-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) tree: git://git.armlinux.org.uk/~rmk/linux-arm.git zii head: bc8489278c9545054f74b2226d3e2c09ec4e05fe commit: 7123048813642c4842fcf8e6f4ce6315926cc164 [147/186] net: axienet: convert to phylink_pcs config: riscv-randconfig-c006-20211212 (https://download.01.org/0day-ci/archive/20211213/202112131233.tkpcN3nU-lkp@intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 097a1cb1d5ebb3a0ec4bcaed8ba3ff6a8e33c00a) 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 # install riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu git remote add arm git://git.armlinux.org.uk/~rmk/linux-arm.git git fetch --no-tags arm zii git checkout 7123048813642c4842fcf8e6f4ce6315926cc164 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/net/ethernet/xilinx/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1523:33: error: use of undeclared identifier 'lp' phylink_mii_c22_pcs_an_restart(lp->pcs_phy); ^ >> drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1531:49: error: incompatible pointer types passing 'struct phylink_config *' to parameter of type 'struct phylink_pcs *' [-Werror,-Wincompatible-pointer-types] struct net_device *ndev = pcs_to_axienet_local(pcs)->ndev; ^~~ drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1506:71: note: passing argument to parameter 'pcs' here static struct axienet_local *pcs_to_axienet_local(struct phylink_pcs *pcs) ^ drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1532:53: error: incompatible pointer types passing 'struct phylink_config *' to parameter of type 'struct phylink_pcs *' [-Werror,-Wincompatible-pointer-types] struct mdio_device *pcs_phy = pcs_to_axienet_local(pcs)->pcs_phy; ^~~ drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1506:71: note: passing argument to parameter 'pcs' here static struct axienet_local *pcs_to_axienet_local(struct phylink_pcs *pcs) ^ drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1537:8: error: use of undeclared identifier 'iface' iface == PHY_INTERFACE_MODE_SGMII ? ^ drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1554:16: error: incompatible function pointer types initializing 'int (*)(struct phylink_pcs *, unsigned int, phy_interface_t, const unsigned long *, bool)' (aka 'int (*)(struct phylink_pcs *, unsigned int, phy_interface_t, const unsigned long *, _Bool)') with an expression of type 'int (struct phylink_config *, unsigned int, phy_interface_t, const unsigned long *, bool)' (aka 'int (struct phylink_config *, unsigned int, phy_interface_t, const unsigned long *, _Bool)') [-Werror,-Wincompatible-function-pointer-types] .pcs_config = axienet_pcs_config, ^~~~~~~~~~~~~~~~~~ 5 errors generated. vim +1531 drivers/net/ethernet/xilinx/xilinx_axienet_main.c 1525 1526 static int axienet_pcs_config(struct phylink_config *pcs, unsigned int mode, 1527 phy_interface_t interface, 1528 const unsigned long *advertising, 1529 bool permit_pause_to_mac) 1530 { > 1531 struct net_device *ndev = pcs_to_axienet_local(pcs)->ndev; 1532 struct mdio_device *pcs_phy = pcs_to_axienet_local(pcs)->pcs_phy; 1533 int ret; 1534 1535 ret = mdiobus_write(pcs_phy->bus, pcs_phy->addr, 1536 XLNX_MII_STD_SELECT_REG, 1537 iface == PHY_INTERFACE_MODE_SGMII ? 1538 XLNX_MII_STD_SELECT_SGMII : 0); 1539 if (ret < 0) { 1540 netdev_warn(ndev, "Failed to switch PHY interface: %d\n", 1541 ret); 1542 return ret; 1543 } 1544 1545 ret = phylink_mii_c22_pcs_config(pcs_phy, mode, interface, advertising); 1546 if (ret < 0) 1547 netdev_warn(ndev, "Failed to configure PCS: %d\n", ret); 1548 1549 return ret; 1550 } 1551 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A34ADC433EF for ; Mon, 13 Dec 2021 04:57:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=OjnP8Ot6vJTwqA1I8CWBlbg4oUhXc0uF3NUeNqnYPY4=; b=3mCQC/MrsDaY5W 4exTilS8zgIZo0+rMw/aEOnOwmpI1oWL/qQtO05JKYkXy9/FoCLapGI7T4nXuNuDSNfhO7RC4i+EC LD0vIKjL5kfdxPDykHf7MB/Rl6e/yGGHrleFuvvCAzCZt084QEv0W11k5ftOjsS0ahAOoDemVrIhS pkfgbycXikGJ2A8Jot9rRjf1tLTWkMjclG0g6lINIxkgWvtDv9pSH0tGZ+MCqvXo4wWhHbNxC0Bvz HDYDFmk1Uo5HbJxdMS4LoZD3ssXkwf0wAm66Svo6jTXOLmQ3CLepc6wpVC/pLhpPtioJR9lJhZ14H lAsxVx98Q37sVP5NywVw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwdNJ-007mOg-JL; Mon, 13 Dec 2021 04:55:45 +0000 Received: from mga06.intel.com ([134.134.136.31]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwdNF-007mOL-LB for linux-arm-kernel@lists.infradead.org; Mon, 13 Dec 2021 04:55:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1639371341; x=1670907341; h=date:from:to:cc:subject:message-id:mime-version; bh=1Jj4LHnxYVAotFxoF9mkBEj/DMroH+iLGee9/NEZDB0=; b=lUvRGbW6C0NesM0CQQ/DnYxmANVFc4kaj7k/rSbUYyZflDHhBijWOOw2 DTO/+6ZDMfGJwnaYiE3OLTMFyhswg799LzxjHL1T/vwhXtJSP34FOR6MX egG5bMgSV5Z1Q/JVu4xPdLs/Lva98XlZhgw7MCuQc/nH8kNN4zx3Z/RyS g9r2O89j0uYvY0pddx87bvNDLXohvsXM6Ful2vlg3T1HfDThFOcy/jCYe 1guta/A0FY6dAJWdWTtOPy8ej6IU8ldpfFI2229DpmrxhFvLglWS9hagd HSuXwhVD5HxqungeC4wmpcRXaECWq6sSHQNp7N/qXFliXkv1HzT1NmRs8 w==; X-IronPort-AV: E=McAfee;i="6200,9189,10196"; a="299444914" X-IronPort-AV: E=Sophos;i="5.88,201,1635231600"; d="scan'208";a="299444914" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Dec 2021 20:55:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,201,1635231600"; d="scan'208";a="464488620" Received: from lkp-server02.sh.intel.com (HELO 9e1e9f9b3bcb) ([10.239.97.151]) by orsmga006.jf.intel.com with ESMTP; 12 Dec 2021 20:55:37 -0800 Received: from kbuild by 9e1e9f9b3bcb with local (Exim 4.92) (envelope-from ) id 1mwdNA-0006I8-Bm; Mon, 13 Dec 2021 04:55:36 +0000 Date: Mon, 13 Dec 2021 12:55:30 +0800 From: kernel test robot To: "Russell King (Oracle)" Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org Subject: [arm:zii 147/186] drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1531:49: error: incompatible pointer types passing 'struct phylink_config *' to parameter of type 'struct phylink_pcs *' Message-ID: <202112131233.tkpcN3nU-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211212_205541_785107_3A99C407 X-CRM114-Status: GOOD ( 11.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org tree: git://git.armlinux.org.uk/~rmk/linux-arm.git zii head: bc8489278c9545054f74b2226d3e2c09ec4e05fe commit: 7123048813642c4842fcf8e6f4ce6315926cc164 [147/186] net: axienet: convert to phylink_pcs config: riscv-randconfig-c006-20211212 (https://download.01.org/0day-ci/archive/20211213/202112131233.tkpcN3nU-lkp@intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 097a1cb1d5ebb3a0ec4bcaed8ba3ff6a8e33c00a) 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 # install riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu git remote add arm git://git.armlinux.org.uk/~rmk/linux-arm.git git fetch --no-tags arm zii git checkout 7123048813642c4842fcf8e6f4ce6315926cc164 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/net/ethernet/xilinx/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1523:33: error: use of undeclared identifier 'lp' phylink_mii_c22_pcs_an_restart(lp->pcs_phy); ^ >> drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1531:49: error: incompatible pointer types passing 'struct phylink_config *' to parameter of type 'struct phylink_pcs *' [-Werror,-Wincompatible-pointer-types] struct net_device *ndev = pcs_to_axienet_local(pcs)->ndev; ^~~ drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1506:71: note: passing argument to parameter 'pcs' here static struct axienet_local *pcs_to_axienet_local(struct phylink_pcs *pcs) ^ drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1532:53: error: incompatible pointer types passing 'struct phylink_config *' to parameter of type 'struct phylink_pcs *' [-Werror,-Wincompatible-pointer-types] struct mdio_device *pcs_phy = pcs_to_axienet_local(pcs)->pcs_phy; ^~~ drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1506:71: note: passing argument to parameter 'pcs' here static struct axienet_local *pcs_to_axienet_local(struct phylink_pcs *pcs) ^ drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1537:8: error: use of undeclared identifier 'iface' iface == PHY_INTERFACE_MODE_SGMII ? ^ drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1554:16: error: incompatible function pointer types initializing 'int (*)(struct phylink_pcs *, unsigned int, phy_interface_t, const unsigned long *, bool)' (aka 'int (*)(struct phylink_pcs *, unsigned int, phy_interface_t, const unsigned long *, _Bool)') with an expression of type 'int (struct phylink_config *, unsigned int, phy_interface_t, const unsigned long *, bool)' (aka 'int (struct phylink_config *, unsigned int, phy_interface_t, const unsigned long *, _Bool)') [-Werror,-Wincompatible-function-pointer-types] .pcs_config = axienet_pcs_config, ^~~~~~~~~~~~~~~~~~ 5 errors generated. vim +1531 drivers/net/ethernet/xilinx/xilinx_axienet_main.c 1525 1526 static int axienet_pcs_config(struct phylink_config *pcs, unsigned int mode, 1527 phy_interface_t interface, 1528 const unsigned long *advertising, 1529 bool permit_pause_to_mac) 1530 { > 1531 struct net_device *ndev = pcs_to_axienet_local(pcs)->ndev; 1532 struct mdio_device *pcs_phy = pcs_to_axienet_local(pcs)->pcs_phy; 1533 int ret; 1534 1535 ret = mdiobus_write(pcs_phy->bus, pcs_phy->addr, 1536 XLNX_MII_STD_SELECT_REG, 1537 iface == PHY_INTERFACE_MODE_SGMII ? 1538 XLNX_MII_STD_SELECT_SGMII : 0); 1539 if (ret < 0) { 1540 netdev_warn(ndev, "Failed to switch PHY interface: %d\n", 1541 ret); 1542 return ret; 1543 } 1544 1545 ret = phylink_mii_c22_pcs_config(pcs_phy, mode, interface, advertising); 1546 if (ret < 0) 1547 netdev_warn(ndev, "Failed to configure PCS: %d\n", ret); 1548 1549 return ret; 1550 } 1551 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============3415281924617091682==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [arm:zii 147/186] drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1531:49: error: incompatible pointer types passing 'struct phylink_config *' to parameter of type 'struct phylink_pcs *' Date: Mon, 13 Dec 2021 12:55:30 +0800 Message-ID: <202112131233.tkpcN3nU-lkp@intel.com> List-Id: --===============3415281924617091682== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable tree: git://git.armlinux.org.uk/~rmk/linux-arm.git zii head: bc8489278c9545054f74b2226d3e2c09ec4e05fe commit: 7123048813642c4842fcf8e6f4ce6315926cc164 [147/186] net: axienet: co= nvert to phylink_pcs config: riscv-randconfig-c006-20211212 (https://download.01.org/0day-ci/arc= hive/20211213/202112131233.tkpcN3nU-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 097a1c= b1d5ebb3a0ec4bcaed8ba3ff6a8e33c00a) reproduce (this is a W=3D1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu git remote add arm git://git.armlinux.org.uk/~rmk/linux-arm.git git fetch --no-tags arm zii git checkout 7123048813642c4842fcf8e6f4ce6315926cc164 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Driscv SHELL=3D/bin/bash drivers/net/ethernet/xilinx/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1523:33: error: use of= undeclared identifier 'lp' phylink_mii_c22_pcs_an_restart(lp->pcs_phy); ^ >> drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1531:49: error: incomp= atible pointer types passing 'struct phylink_config *' to parameter of type= 'struct phylink_pcs *' [-Werror,-Wincompatible-pointer-types] struct net_device *ndev =3D pcs_to_axienet_local(pcs)->ndev; ^~~ drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1506:71: note: passing= argument to parameter 'pcs' here static struct axienet_local *pcs_to_axienet_local(struct phylink_pcs *pc= s) ^ drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1532:53: error: incomp= atible pointer types passing 'struct phylink_config *' to parameter of type= 'struct phylink_pcs *' [-Werror,-Wincompatible-pointer-types] struct mdio_device *pcs_phy =3D pcs_to_axienet_local(pcs)->pcs_p= hy; ^~~ drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1506:71: note: passing= argument to parameter 'pcs' here static struct axienet_local *pcs_to_axienet_local(struct phylink_pcs *pc= s) ^ drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1537:8: error: use of = undeclared identifier 'iface' iface =3D=3D PHY_INTERFACE_MODE_SGMII ? ^ drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1554:16: error: incomp= atible function pointer types initializing 'int (*)(struct phylink_pcs *, u= nsigned int, phy_interface_t, const unsigned long *, bool)' (aka 'int (*)(s= truct phylink_pcs *, unsigned int, phy_interface_t, const unsigned long *, = _Bool)') with an expression of type 'int (struct phylink_config *, unsigned= int, phy_interface_t, const unsigned long *, bool)' (aka 'int (struct phyl= ink_config *, unsigned int, phy_interface_t, const unsigned long *, _Bool)'= ) [-Werror,-Wincompatible-function-pointer-types] .pcs_config =3D axienet_pcs_config, ^~~~~~~~~~~~~~~~~~ 5 errors generated. vim +1531 drivers/net/ethernet/xilinx/xilinx_axienet_main.c 1525 = 1526 static int axienet_pcs_config(struct phylink_config *pcs, unsigned i= nt mode, 1527 phy_interface_t interface, 1528 const unsigned long *advertising, 1529 bool permit_pause_to_mac) 1530 { > 1531 struct net_device *ndev =3D pcs_to_axienet_local(pcs)->ndev; 1532 struct mdio_device *pcs_phy =3D pcs_to_axienet_local(pcs)->pcs_phy; 1533 int ret; 1534 = 1535 ret =3D mdiobus_write(pcs_phy->bus, pcs_phy->addr, 1536 XLNX_MII_STD_SELECT_REG, 1537 iface =3D=3D PHY_INTERFACE_MODE_SGMII ? 1538 XLNX_MII_STD_SELECT_SGMII : 0); 1539 if (ret < 0) { 1540 netdev_warn(ndev, "Failed to switch PHY interface: %d\n", 1541 ret); 1542 return ret; 1543 } 1544 = 1545 ret =3D phylink_mii_c22_pcs_config(pcs_phy, mode, interface, advert= ising); 1546 if (ret < 0) 1547 netdev_warn(ndev, "Failed to configure PCS: %d\n", ret); 1548 = 1549 return ret; 1550 } 1551 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org --===============3415281924617091682==--