Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp677160rdb; Tue, 5 Dec 2023 17:23:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IFDPVj2lv9yxJhhRE41HJIpBDi8kMTl5xkLR9ejzJbQdSSpKctYu1rTrHd+2iHMpr4C2gJ5 X-Received: by 2002:a92:c74b:0:b0:35d:59a2:2cd with SMTP id y11-20020a92c74b000000b0035d59a202cdmr278899ilp.109.1701825783796; Tue, 05 Dec 2023 17:23:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701825783; cv=none; d=google.com; s=arc-20160816; b=PT/KTOSoMyx+CDrcYhMz4ZnCDFII24BBXQ+8vPw7LM/jajFO1/+DtX822ixdUqi0t3 0tXKOxcfYfam1X3ZEYoYNpl6Jh6ilbOjBisQf+f0BCnxfzzqqBKy4g4ZRUKs94ROTHHn UkpnTN+Vu0AFcxA1ncihpp+z5b1o5QKJGPDI1QllhrwO6zgfr07e3Q3evdvQdp3hly4X wI7MVifUQTeqIkEpS/QUagn4fTKHlTdTKO7pBcaWMXDHuvlr4Tpm8WSd7DsQF0v8Elqg p+HQBF/xBrfvkH2E9PzvT20kKHjLl23uJNqYxR6Im8Hg7gjqMoUdvSDS5B2kqiF+wfe9 ZlCA== 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=0+44qZkpUtkfIgS/+BS7W3sNuIpXn0Po3MOhiIeLth8=; fh=+IgSE/DKrCPk1gpgFVvobPF8cB2hB/xJij81fqAtfsE=; b=sRkk8SEOx3+Xv9qXLanpWCxJ1ZT+Ior/aJycpG6c7TjAF7xmX5mRCx9ZHQOLPrPnms OsbHZlirOJ8TOEeMHVB/V2SAtFPBrU5S0hyzZz5A22d5qQRDthsCgVXkbVM3wkc3anZO +3zpP49CB6MG8gwXiBeBVuP81GYaZlwVA2t59cjVbd4UuVc7jbyB/cENcgkgXUC9RSyc 6cZDnuZtEQoW0v304BLrlkKN53LEJc6SyXGwbKftEmFPKoTlWH1i6zuCZz7dEJx4N1Jy 5LNy48NRk2Rzj60UIDAWtJ/VnQy9/bFa6nx/HFDOqqubko9ELiCvCdZucmJqSSmpseWd l2KQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OD9hokcN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id g10-20020a1709026b4a00b001bdd58f685fsi4538337plt.85.2023.12.05.17.23.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 17:23:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OD9hokcN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 20BD7818D525; Tue, 5 Dec 2023 17:23:01 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376397AbjLFBWd (ORCPT + 99 others); Tue, 5 Dec 2023 20:22:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376405AbjLFBWb (ORCPT ); Tue, 5 Dec 2023 20:22:31 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F73D1A4; Tue, 5 Dec 2023 17:22:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701825757; x=1733361757; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=YygeRsuBpeLkRrcyXXjICZLGAaAyfBRAuKmnlwjKokc=; b=OD9hokcNLIEbXgd2tMPyu/B48LU08yM6J0acuE+yS/pDvUx+lc7OF8/q O/yhhRDywBEa73+2BvP5DS7jGWxZbey0OZmNTTbEax1kBURllCAV0raVy 7y1m2zvf3xbXA/h/bwgOmsTmXaX+JBzmGCrcBbo1eoGktYMa3llBiudFE rw1qQgfIOl2cE/7dkJxw5EPmASaS7KU8WRQsUN9lLNXNnqPd9n54Zgj8R mh/zWw7kTJgPlVz1TFXsxYvcJTxR8Bb7jAMDZNjWJ9tKkdZCTpoumYu2K l2wrZjagHwyaVpaJNmLkGqB1XYXMx31z7i2yIOFedyeKgOFjdHxPdTbqR A==; X-IronPort-AV: E=McAfee;i="6600,9927,10915"; a="396777238" X-IronPort-AV: E=Sophos;i="6.04,254,1695711600"; d="scan'208";a="396777238" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2023 17:22:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10915"; a="944462196" X-IronPort-AV: E=Sophos;i="6.04,254,1695711600"; d="scan'208";a="944462196" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by orsmga005.jf.intel.com with ESMTP; 05 Dec 2023 17:22:29 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rAgcM-000A0v-1U; Wed, 06 Dec 2023 01:22:26 +0000 Date: Wed, 6 Dec 2023 09:21:33 +0800 From: kernel test robot To: Jijie Shao , yisen.zhuang@huawei.com, salil.mehta@huawei.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, shenjian15@huawei.com, wangjie125@huawei.com, liuyonglong@huawei.com, shaojijie@huawei.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net 2/2] net: hns: fix fake link up on xge port Message-ID: <202312060909.F00QN1zB-lkp@intel.com> References: <20231201102703.4134592-3-shaojijie@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231201102703.4134592-3-shaojijie@huawei.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 pete.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 (pete.vger.email [0.0.0.0]); Tue, 05 Dec 2023 17:23:01 -0800 (PST) Hi Jijie, kernel test robot noticed the following build warnings: [auto build test WARNING on net/main] url: https://github.com/intel-lab-lkp/linux/commits/Jijie-Shao/net-hns-fix-wrong-head-when-modify-the-tx-feature-when-sending-packets/20231201-183325 base: net/main patch link: https://lore.kernel.org/r/20231201102703.4134592-3-shaojijie%40huawei.com patch subject: [PATCH net 2/2] net: hns: fix fake link up on xge port config: i386-buildonly-randconfig-001-20231202 (https://download.01.org/0day-ci/archive/20231206/202312060909.F00QN1zB-lkp@intel.com/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231206/202312060909.F00QN1zB-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/202312060909.F00QN1zB-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c:69:6: warning: no previous prototype for function 'hns_mac_link_anti_shake' [-Wmissing-prototypes] void hns_mac_link_anti_shake(struct mac_driver *mac_ctrl_drv, u32 *link_status) ^ drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c:69:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void hns_mac_link_anti_shake(struct mac_driver *mac_ctrl_drv, u32 *link_status) ^ static 1 warning generated. vim +/hns_mac_link_anti_shake +69 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c 68 > 69 void hns_mac_link_anti_shake(struct mac_driver *mac_ctrl_drv, u32 *link_status) 70 { 71 #define HNS_MAC_LINK_WAIT_TIME 5 72 #define HNS_MAC_LINK_WAIT_CNT 40 73 74 int i; 75 76 if (!mac_ctrl_drv->get_link_status) { 77 *link_status = 0; 78 return; 79 } 80 81 for (i = 0; i < HNS_MAC_LINK_WAIT_CNT; i++) { 82 msleep(HNS_MAC_LINK_WAIT_TIME); 83 mac_ctrl_drv->get_link_status(mac_ctrl_drv, link_status); 84 if (!*link_status) 85 break; 86 } 87 } 88 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki