Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp655793rdb; Tue, 5 Dec 2023 16:31:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IEZj2dTnuNqg7nUXZMfTwrw84T99M4h+W89+Qhxs0jRp2RmRNqA8EJSZm63SIFDHFli5mOE X-Received: by 2002:a05:6a20:72aa:b0:17b:1f76:86ee with SMTP id o42-20020a056a2072aa00b0017b1f7686eemr114492pzk.16.1701822685801; Tue, 05 Dec 2023 16:31:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701822685; cv=none; d=google.com; s=arc-20160816; b=UcvnHE9LUdqoYlU8OEmPmg1cquapdb/3izsco45ts1niewu5fz+GrGB8BhfKMDy5Tm rJZe3qosmTiIAaiAivUgpBTCd0KpYUKuQJoOin3CKwWFZJ6L5e/vJQZXDCiLd04lZ35x HnXoG+A+rtEKsn2LD2w0O9Er8LkoAcnRmRrB9DfZIoucegKWEdp02PtRLljjm0pLxKVp bw3LdD7xAKuG7isAfVj7/I4ngYOqhLE+sKg5W7tBIwB3Eq3aCiYeNvhPmBI60bzyfEtF Jds2sK7qoVO5DrTBIYIb6Cl4XjehFjL7x6xqKZg6/pJgIiRstE27yMwsec7+fKM6+eCz hPuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=3oU3SMi4nm1xfhmwQhdePB7a8ZOkde18NNe44ij6qck=; fh=ELsH73vnDm45JX5cI25O17C+GEiI6OJ8YvyCf0eHhDg=; b=nkGSe06wIjtkp7GoBqBaMcrCTx61YxjkKQUjmvZz0aouFrMuqD+Hnvg3Yx6kJ9FG1L eAUR69yAnRDGvlM5IhO2hFn18bNDN3JXOQgq9xreigfbbMxrm4WrlX3uxG3H/ZV2jgJB HnFPAIMoBWmY4icsRGkcQvuAWCSRDnE+0bhJdDzK3yNW5CcliW9WfTKw/gsLRE4gEkcl Wvtvx4F8FeNzkR7+T838/La8o7Pm26iUmHkSRFPHnTS4Ii7tShAAeQSWBisdWweSoQwk ZErNJUl5LpKi7JyCj8DksFPi2/VxQ6c5EWMS7CPGIzkq76wUjbtJ45hcn1aURqs+MMEy FlhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=DbVS1o4I; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id ih5-20020a056a008c0500b006ce70be4c40si1666711pfb.349.2023.12.05.16.31.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 16:31:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=DbVS1o4I; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 129B2805C160; Tue, 5 Dec 2023 16:31:23 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346643AbjLFAaF (ORCPT + 99 others); Tue, 5 Dec 2023 19:30:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229680AbjLFAaE (ORCPT ); Tue, 5 Dec 2023 19:30:04 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99C091A4; Tue, 5 Dec 2023 16:30:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701822610; x=1733358610; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=mdXpbLSSPrhcTHgM8fSyObWcIrwsztSdnomr2m3TkXA=; b=DbVS1o4I8Ihd8Nwdzqva06ExWDYUU6o0DSee9Gp0F2kHh/Ih1x3vVIhk fx/p31+g0sTvwwNeWYrFi8Kh1frcK8CXbsz7E/7MfakJqoDSj2ft7PvZN 0KIiFy+3Y3HrHW2NGaQNTy0qf8FEwNONDcZTfhtGgCWiVgKjtpxAhjPia obNJ+qP+poORDbSwxNb+fNCOuEq6yMvPApxZK62o1GxcWg3u07eEgjJx8 mh1omZhqByqDabUSVSUGOIwxoaMYXQ6kzowAigffqYQizZ0y0bhuvCuvm inhuwXrpZxlQI0uRzBUso7RAIHt1Rq6n209t7of3RQAoI0y5vFa1FPAlp A==; X-IronPort-AV: E=McAfee;i="6600,9927,10915"; a="374163885" X-IronPort-AV: E=Sophos;i="6.04,253,1695711600"; d="scan'208";a="374163885" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2023 16:30:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10915"; a="771112925" X-IronPort-AV: E=Sophos;i="6.04,253,1695711600"; d="scan'208";a="771112925" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by orsmga002.jf.intel.com with ESMTP; 05 Dec 2023 16:30:03 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rAfnd-0009x4-1v; Wed, 06 Dec 2023 00:30:01 +0000 Date: Wed, 6 Dec 2023 08:29:36 +0800 From: kernel test robot To: Serge Semin , Andrew Lunn , Heiner Kallweit , Russell King , Alexandre Torgue , Jose Abreu , Maxime Chevallier , Tomer Maimon , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vladimir Oltean , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin Cc: oe-kbuild-all@lists.linux.dev, netdev@vger.kernel.org, Serge Semin , openbmc@lists.ozlabs.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH net-next 11/16] net: pcs: xpcs: Change xpcs_create_mdiodev() suffix to "byaddr" Message-ID: <202312060843.C3pV7P8b-lkp@intel.com> References: <20231205103559.9605-12-fancer.lancer@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231205103559.9605-12-fancer.lancer@gmail.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 05 Dec 2023 16:31:23 -0800 (PST) Hi Serge, kernel test robot noticed the following build warnings: [auto build test WARNING on net-next/main] url: https://github.com/intel-lab-lkp/linux/commits/Serge-Semin/net-pcs-xpcs-Drop-sentinel-entry-from-2500basex-ifaces-list/20231205-183808 base: net-next/main patch link: https://lore.kernel.org/r/20231205103559.9605-12-fancer.lancer%40gmail.com patch subject: [PATCH net-next 11/16] net: pcs: xpcs: Change xpcs_create_mdiodev() suffix to "byaddr" config: x86_64-randconfig-006-20231206 (https://download.01.org/0day-ci/archive/20231206/202312060843.C3pV7P8b-lkp@intel.com/config) compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231206/202312060843.C3pV7P8b-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202312060843.C3pV7P8b-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/net/ethernet/wangxun/txgbe/txgbe_phy.c: In function 'txgbe_mdio_pcs_init': drivers/net/ethernet/wangxun/txgbe/txgbe_phy.c:150:9: error: implicit declaration of function 'xpcs_create_mdiodev'; did you mean 'xpcs_create_byaddr'? [-Werror=implicit-function-declaration] xpcs = xpcs_create_mdiodev(mii_bus, 0, PHY_INTERFACE_MODE_10GBASER); ^~~~~~~~~~~~~~~~~~~ xpcs_create_byaddr >> drivers/net/ethernet/wangxun/txgbe/txgbe_phy.c:150:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion] xpcs = xpcs_create_mdiodev(mii_bus, 0, PHY_INTERFACE_MODE_10GBASER); ^ cc1: some warnings being treated as errors vim +150 drivers/net/ethernet/wangxun/txgbe/txgbe_phy.c 854cace61387b6 Jiawen Wu 2023-06-06 121 854cace61387b6 Jiawen Wu 2023-06-06 122 static int txgbe_mdio_pcs_init(struct txgbe *txgbe) 854cace61387b6 Jiawen Wu 2023-06-06 123 { 854cace61387b6 Jiawen Wu 2023-06-06 124 struct mii_bus *mii_bus; 854cace61387b6 Jiawen Wu 2023-06-06 125 struct dw_xpcs *xpcs; 854cace61387b6 Jiawen Wu 2023-06-06 126 struct pci_dev *pdev; 854cace61387b6 Jiawen Wu 2023-06-06 127 struct wx *wx; 854cace61387b6 Jiawen Wu 2023-06-06 128 int ret = 0; 854cace61387b6 Jiawen Wu 2023-06-06 129 854cace61387b6 Jiawen Wu 2023-06-06 130 wx = txgbe->wx; 854cace61387b6 Jiawen Wu 2023-06-06 131 pdev = wx->pdev; 854cace61387b6 Jiawen Wu 2023-06-06 132 854cace61387b6 Jiawen Wu 2023-06-06 133 mii_bus = devm_mdiobus_alloc(&pdev->dev); 854cace61387b6 Jiawen Wu 2023-06-06 134 if (!mii_bus) 854cace61387b6 Jiawen Wu 2023-06-06 135 return -ENOMEM; 854cace61387b6 Jiawen Wu 2023-06-06 136 854cace61387b6 Jiawen Wu 2023-06-06 137 mii_bus->name = "txgbe_pcs_mdio_bus"; 854cace61387b6 Jiawen Wu 2023-06-06 138 mii_bus->read_c45 = &txgbe_pcs_read; 854cace61387b6 Jiawen Wu 2023-06-06 139 mii_bus->write_c45 = &txgbe_pcs_write; 854cace61387b6 Jiawen Wu 2023-06-06 140 mii_bus->parent = &pdev->dev; 854cace61387b6 Jiawen Wu 2023-06-06 141 mii_bus->phy_mask = ~0; 854cace61387b6 Jiawen Wu 2023-06-06 142 mii_bus->priv = wx; 854cace61387b6 Jiawen Wu 2023-06-06 143 snprintf(mii_bus->id, MII_BUS_ID_SIZE, "txgbe_pcs-%x", d8c21ef7b2b147 Xiongfeng Wang 2023-08-08 144 pci_dev_id(pdev)); 854cace61387b6 Jiawen Wu 2023-06-06 145 854cace61387b6 Jiawen Wu 2023-06-06 146 ret = devm_mdiobus_register(&pdev->dev, mii_bus); 854cace61387b6 Jiawen Wu 2023-06-06 147 if (ret) 854cace61387b6 Jiawen Wu 2023-06-06 148 return ret; 854cace61387b6 Jiawen Wu 2023-06-06 149 854cace61387b6 Jiawen Wu 2023-06-06 @150 xpcs = xpcs_create_mdiodev(mii_bus, 0, PHY_INTERFACE_MODE_10GBASER); 854cace61387b6 Jiawen Wu 2023-06-06 151 if (IS_ERR(xpcs)) 854cace61387b6 Jiawen Wu 2023-06-06 152 return PTR_ERR(xpcs); 854cace61387b6 Jiawen Wu 2023-06-06 153 854cace61387b6 Jiawen Wu 2023-06-06 154 txgbe->xpcs = xpcs; 854cace61387b6 Jiawen Wu 2023-06-06 155 854cace61387b6 Jiawen Wu 2023-06-06 156 return 0; 854cace61387b6 Jiawen Wu 2023-06-06 157 } 854cace61387b6 Jiawen Wu 2023-06-06 158 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki