Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1697523rdb; Thu, 7 Dec 2023 06:37:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IETiXHX49gjEkt1K6K7j8zeZrTmavGJk+l5ZKQqyLYC883a3FEQ4dFbl9vv0bCLDn7NII0M X-Received: by 2002:a05:6a00:2388:b0:6ce:783f:aa97 with SMTP id f8-20020a056a00238800b006ce783faa97mr3179145pfc.69.1701959844166; Thu, 07 Dec 2023 06:37:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701959844; cv=none; d=google.com; s=arc-20160816; b=FMKol5gKX2DGx++btzX1mmuYTFryqpKv18SEETlKL8OWFdOJuzOgpIKdJwWKHPI+hB NT3qiUCViryUKaI30P04g2YDw8NX2ebr5sUCOZ/lslsY/eJnxlA8Wd4F+zAQSNe0aFhx GEvEJBLsgFgmPKDujKHWxPFNzwmzdajRwUBUPyz2OugCx5fxpSi323y15xaBUb2Z05xX 6xB0Tr3Ukq1jIIxMarS/i30TYSYGl9mi6HqmaPeXHgfNVjArTdlogTN4pp4IB0PFxqOx YUpJFZQxSa8PqfqiTRpgTaEML2Y8zpjk3VhwLnQvFfickP6X130/c40iGQV16ZYWg1uB Dfmw== 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=P/n/DJfS500DzkD8o2lIXV8iW85crXSXBVQD2G7alNw=; fh=EMlpbfIGuHjhelQfVuEZ0y2yruYHPrGgURCDKLQ7ES4=; b=p392qdKtHL6qXzSCFoslU6xWqoMold52BwdZxZh4CLuAWGKcUKGh97xRkf4RKQewhr vL2uaMP8BOXhB28jALH4SuoMbMqVs0qv4OGNn2b8JyiS4HCosk56I5C9sv45CvGYS6jJ 8JWqFEYBVeqPIm2OCdT1XZbg4LCO7kvHH7hWS3S2o+DKFcmx7LsoU6iAa5s8Vh1x4W47 OHbGirjTs6ah7r9Ozuyi9OwqAkL+OollkHTnpDOByCKk4/plul53OfR1WKf5SofsQmJk 2MO7ULMd+16c+YivA/x2f6hRqhrgfcRh9q6vUsBY433VGyS68FGFBq8qU93CGKRnTCNL ty1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Hui9haKW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id w7-20020a636207000000b005b42f4443b7si1307153pgb.653.2023.12.07.06.37.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 06:37:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Hui9haKW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 05E9C8082B90; Thu, 7 Dec 2023 06:37:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443257AbjLGOhE (ORCPT + 99 others); Thu, 7 Dec 2023 09:37:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232888AbjLGOhD (ORCPT ); Thu, 7 Dec 2023 09:37:03 -0500 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6129293; Thu, 7 Dec 2023 06:37:09 -0800 (PST) Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-50be3eed85aso1002345e87.2; Thu, 07 Dec 2023 06:37:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701959827; x=1702564627; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=P/n/DJfS500DzkD8o2lIXV8iW85crXSXBVQD2G7alNw=; b=Hui9haKWfVL2J2RO7YyWFL84qDbS3MzfZgZdgV/n9IDs9BrBkg+P3PF1I7DZbBmsOO BCmUmrfPg2pDAOOYtKaxYZfKJdFalR99mWuoPDtK8m3c5tdv2iNnkKGko+Sivg3AMsB6 O54nb/J44N7IU9dkqJ5lJVStpoQt6cO2ngf5ZXwkbAgvEp1ig3FRogJv8aOhIJBrG1M0 DWkW552Hz/epr5G/N+4mX1A9MOe0a5bYgqO82aYV6ArrsKZTSnGpWpHr0M7TjWMVOIqr g7tUKELNGNYunltrMXxGDqsC99xNrxP7Isl0Bs3f56nMi6rSgx8s8sL+DADqZhUh15Kj ytyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701959827; x=1702564627; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=P/n/DJfS500DzkD8o2lIXV8iW85crXSXBVQD2G7alNw=; b=grN+gkFa1iU9WzElc9TG598WYOZQYRMU/Y19BbJAQ/dmehyTI9Hr0l5y97TaosVG6U 3Xv2WpzYJzSpfeItuT5PTpMIgCx3jdWmpdJ9MfEx1UYT/z5yeODuAGObU3/uSRP6Fdqo ihji3a3o8RkkjIqTp13DhdvSO2DYWvNgDsxZwM6iYUa8R8QURtsytZldQ8A4fihES7yV rvK5yJZzm3ZyPQj2A+YXUzihiLms3fMKvvR50sRWhvQZ9GXmWrvvQG1bT9nL/QKXdgbR 5I9fXitGA7RbCazVrvbBsgDDWFba1AiYkD8heEGz38W3GlkA2AQrbnSE4MZjf+0+S/HK 8fWQ== X-Gm-Message-State: AOJu0Yy2ZAMjF0L/XoPbp2kbDEEFh0TMjEuYB7DXOkymCIRgiXHnbXOg X6WXPVVKXFyX6dyP6v3TGuQ= X-Received: by 2002:a05:6512:230a:b0:50b:c8a0:5657 with SMTP id o10-20020a056512230a00b0050bc8a05657mr2022447lfu.17.1701959827365; Thu, 07 Dec 2023 06:37:07 -0800 (PST) Received: from mobilestation ([178.176.56.174]) by smtp.gmail.com with ESMTPSA id q9-20020a0565123a8900b0050c0bbbe3d2sm186046lfu.256.2023.12.07.06.37.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 06:37:06 -0800 (PST) Date: Thu, 7 Dec 2023 17:37:03 +0300 From: Serge Semin To: kernel test robot Cc: 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 , oe-kbuild-all@lists.linux.dev, netdev@vger.kernel.org, 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: References: <20231205103559.9605-12-fancer.lancer@gmail.com> <202312060634.Cblfigt2-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202312060634.Cblfigt2-lkp@intel.com> X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 agentk.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 (agentk.vger.email [0.0.0.0]); Thu, 07 Dec 2023 06:37:21 -0800 (PST) On Wed, Dec 06, 2023 at 07:03:46AM +0800, kernel test robot wrote: > 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 Ah, right. I had been creating the series some times earlier than this code was introduced and just missed it on the last rebase. I'll fix this on v2. -Serge(y) > > 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