Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp617736rdb; Tue, 5 Dec 2023 15:04:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IEYCzwlVde2EnrnEBseH9blCj/a6RheGnWEcSYuTdeZfOSFR5G1XmbUbjLk9uAavhkTS2aw X-Received: by 2002:a17:90a:f994:b0:286:9cdc:c2cf with SMTP id cq20-20020a17090af99400b002869cdcc2cfmr27899pjb.44.1701817458190; Tue, 05 Dec 2023 15:04:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701817458; cv=none; d=google.com; s=arc-20160816; b=ctT7LypF/KDdaO7cmMmdtDCSAcnS+Uwagg6nONaVb4OjJPuaqF8A69e/mpalPkXmpR rsdjWbEvH2jCc8uDgdeSMtOBpHQffAKf54+hjCKVM4kU0S/nFXB66b7UhvT7wkEIElEB 6DE5nxol/G6DBsD6tX8p/B3PyIbDDHacKHj5MgoocYzplZg/1ub5UlybgikQHM8mclG5 nqd19Gx50w3T09+Jqg+GI2i8t3Ve89Keoy+RqIEmWCg+se8c2HInsp2plDgKa7pd+N4A IAaGpC8BKONbOXq5T4rb8rM4nP5um3EIJnyC9nXuqQT/pBkM3VnNSuENjBed8DOdTUpF 66Yw== 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=g83r3HInQ/hxMfouAM23n3WxbRBw8kW3m/e3hOr45aA=; fh=ELsH73vnDm45JX5cI25O17C+GEiI6OJ8YvyCf0eHhDg=; b=O2e+RSRFDQ7s/vwTMUljekcGPSakGwWkjELeHAKBlJQobvIeH/1k+8rW5fcHG2r14r eR2UIG48a1ozmdV5vCGX84E0wCRNbVKrGARvHROGmgqmom+KLsF8g4kTyvOIsAVaY0Zl 6LhroRVds9idD5RaS9HcNs0zGjTlLGW+Ptm8XITObkQHDCPOQuq0ghkekZpVnnjo+VMA BI84J/eVaFVKcl/Nq0YEzx/rHFlH4L+NsR5k95xRH9zGkos8aecfH6zKZIlGAjGJLn6Y pyqCJMkJU0Ofs0fXLzBjxbVGkLCRkmx7fr2e4bVYUC6zmJ6QCkvMcsyAV129gpVatVvE dHOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="SYV/ofEn"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id ay24-20020a17090b031800b00286949b4352si5007974pjb.4.2023.12.05.15.04.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 15:04:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="SYV/ofEn"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 25F43804EE44; Tue, 5 Dec 2023 15:04:15 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346259AbjLEXD6 (ORCPT + 99 others); Tue, 5 Dec 2023 18:03:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbjLEXD5 (ORCPT ); Tue, 5 Dec 2023 18:03:57 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD189196; Tue, 5 Dec 2023 15:04:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701817443; x=1733353443; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=I+bwbwFyENG7yFV0azLeO6IAGA9bVpvHuBPiiW8IsjQ=; b=SYV/ofEnJC/JLuGm5MIV8hUrcrt1l+AkEeCUXahtiDClYHDOaABIan6A +Gz/cxUVKX59x8Lyb7RF8TwpWskKI4pNQCWPneb2jtJ9OOI6daD6T8i5l vRIHehXIawoV+6I4Knc0EBofkzfnjqpT3JxkC+7dkVEoe8PvSg1S7nqRa /a58N0mjcQhYaqDLaCPEO/odwQN++tMRlRLQuYs7ru/GVsj4Ft8HwZU3v 1eCOk1oYBG9o6HsA+pjrZckTWFJtwJPDXA71ROd6FRxk9REUEGSrbMiqF 30j3OAYgv6TU2FZxzB4t5/ywH5RQOlnGTw5lwMChKMRQBuxmkkOkPW0y7 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10915"; a="393705738" X-IronPort-AV: E=Sophos;i="6.04,253,1695711600"; d="scan'208";a="393705738" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2023 15:04:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,253,1695711600"; d="scan'208";a="19127791" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by orviesa001.jf.intel.com with ESMTP; 05 Dec 2023 15:03:57 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rAeSI-0009q0-2B; Tue, 05 Dec 2023 23:03:54 +0000 Date: Wed, 6 Dec 2023 07:03:46 +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: <202312060634.Cblfigt2-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 groat.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 (groat.vger.email [0.0.0.0]); Tue, 05 Dec 2023 15:04:15 -0800 (PST) Hi Serge, kernel test robot noticed the following build errors: [auto build test ERROR 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: arc-randconfig-001-20231206 (https://download.01.org/0day-ci/archive/20231206/202312060634.Cblfigt2-lkp@intel.com/config) compiler: arc-elf-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231206/202312060634.Cblfigt2-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/202312060634.Cblfigt2-lkp@intel.com/ All error/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:16: error: implicit declaration of function 'xpcs_create_mdiodev'; did you mean 'xpcs_create_byaddr'? [-Werror=implicit-function-declaration] 150 | xpcs = xpcs_create_mdiodev(mii_bus, 0, PHY_INTERFACE_MODE_10GBASER); | ^~~~~~~~~~~~~~~~~~~ | xpcs_create_byaddr >> drivers/net/ethernet/wangxun/txgbe/txgbe_phy.c:150:14: warning: assignment to 'struct dw_xpcs *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 150 | 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