Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp954043rdh; Fri, 24 Nov 2023 01:50:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IFLoUG9DNIB/F0MyoH2HLWgdjiHmWvdKvBPlMCSQmMsXGoDEPkMTihVGp77RX7NBDqk4BeV X-Received: by 2002:a9d:7f0c:0:b0:6ce:37a2:a93e with SMTP id j12-20020a9d7f0c000000b006ce37a2a93emr2471553otq.3.1700819455897; Fri, 24 Nov 2023 01:50:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700819455; cv=none; d=google.com; s=arc-20160816; b=Lq6miJrElTLihF0dpEOLX+o6NrORwBotzHVTr8Qu2u/OH6L4SmmB+hV9FzIGOJuphW 1Z9sDiaZHRJ5rItOAyObOwPEfrHdFNS8JtVzjkHp+2YDBZncVw4ZULFjwvd73ezS59z0 4a6JKoE5JAZvwQFUa+WIk4Ra3HjfOBXGwPMbIlOTHoEj7kLDsNzd+YFtYcttQHWmDV58 jwuXhArrVVH+1rUWryTbHjZDsO6ko3R38PncPC6lPZoQ5ShzYPPl7xzLaWWcLx1I4onr DmrbVnnhywQMUCp8vmfdo4Mu1uouQYm6/YmRxGfcDi8z4EktNzGLwhx7M9RuV3HMGJQI vZuQ== 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=W20NiGXFncB9L1yZuBRAVbOozOIF1aIK2emN4nghRFs=; fh=NucvXtV4li4/mMH2E+U8DYK5v6/BYTpedRh3Dp38ICU=; b=Q10bY6u5OQcI89Vg+yKV8pJyfIEQ/bk9sad7dMKkKTv5jg6ZQ8PwfLIRT9XsU2wlHz vi9twuhDLpnz0jIpy/AArxArDxDtIEyk7ImU1Vz31+98jkB6j/ywi82tfwRWPkOwE+az xqbfLYgsxtUYUqnN5kg/3rfLR4VaQlX8yS3O+Sz8aOq67tYkLUJtQLO0fXjd/JX7IkBp rqL+lGyYOIMUh+R9+kaU21kh9xniyVGStq4fKSv12tEEQq3R4Lq4Nk2nGSsCTRU/aHh+ n4UCJJW8EAUDtKTrCxvi5/mqg5ORPAlBAm0rLzLKTr1fZ4tkhfhWWIBLmM4jvcd7aVyI ki5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=JCHbIQyp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id q21-20020a656855000000b005bddb4be6fcsi3258859pgt.520.2023.11.24.01.50.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 01:50:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=JCHbIQyp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id EA1F88099262; Fri, 24 Nov 2023 01:50:47 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235234AbjKXJuZ (ORCPT + 99 others); Fri, 24 Nov 2023 04:50:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345375AbjKXJuM (ORCPT ); Fri, 24 Nov 2023 04:50:12 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C484F171D; Fri, 24 Nov 2023 01:50:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700819417; x=1732355417; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=WzTWD8+CcHAV0Ch8HWHYlJ+az5wbVKJRj68BrurTJKw=; b=JCHbIQypZ/2KENcCKxczb/SLynZmnmc2zqrCBAPOlttQcN4Y6hGsK62d W2gMTuZV2quAFPIE6pbQsTXl2kJKKyIQnwjNSN2N3ku1xBz+kFzbTDSXH KtilnUo+Sc2a0mqcG1and9cD+iP8RpmhWr9fRn/eh+WNpG1kGsOwa3ekY FJj2a387ns0la3ZGpusM5bOu3RFy7xWLt2/LYRg3l7M/pT9NuUdalp7+w BvzB9xSYFfU9qh6R7ihZNRU9QlQKqa94UDeiPpcFDwnVYBYD/cIwE3DN/ yVGT3zzOEHjOyuPH7G74xQr3DKYbIyELoOhSNaRljREe2c4Bbc4QoExTa g==; X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="392165234" X-IronPort-AV: E=Sophos;i="6.04,223,1695711600"; d="scan'208";a="392165234" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Nov 2023 01:50:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,223,1695711600"; d="scan'208";a="8921133" Received: from lkp-server01.sh.intel.com (HELO d584ee6ebdcc) ([10.239.97.150]) by orviesa002.jf.intel.com with ESMTP; 24 Nov 2023 01:50:15 -0800 Received: from kbuild by d584ee6ebdcc with local (Exim 4.96) (envelope-from ) id 1r6Sp9-0002Lc-2z; Fri, 24 Nov 2023 09:50:11 +0000 Date: Fri, 24 Nov 2023 17:49:06 +0800 From: kernel test robot To: Justin Lai , kuba@kernel.org Cc: oe-kbuild-all@lists.linux.dev, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, andrew@lunn.ch, pkshih@realtek.com, larry.chiu@realtek.com, Justin Lai Subject: Re: [PATCH net-next v12 12/13] realtek: Update the Makefile and Kconfig in the realtek folder Message-ID: <202311241318.bdYlmH2b-lkp@intel.com> References: <20231123124313.1398570-13-justinlai0215@realtek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231123124313.1398570-13-justinlai0215@realtek.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 morse.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 (morse.vger.email [0.0.0.0]); Fri, 24 Nov 2023 01:50:48 -0800 (PST) Hi Justin, 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/Justin-Lai/rtase-Add-pci-table-supported-in-this-module/20231123-204759 base: net-next/main patch link: https://lore.kernel.org/r/20231123124313.1398570-13-justinlai0215%40realtek.com patch subject: [PATCH net-next v12 12/13] realtek: Update the Makefile and Kconfig in the realtek folder config: csky-randconfig-r081-20231124 (https://download.01.org/0day-ci/archive/20231124/202311241318.bdYlmH2b-lkp@intel.com/config) compiler: csky-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231124/202311241318.bdYlmH2b-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/202311241318.bdYlmH2b-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/net/ethernet/realtek/rtase/rtase_main.c:2318:12: warning: 'rtase_resume' defined but not used [-Wunused-function] 2318 | static int rtase_resume(struct device *device) | ^~~~~~~~~~~~ >> drivers/net/ethernet/realtek/rtase/rtase_main.c:2305:12: warning: 'rtase_suspend' defined but not used [-Wunused-function] 2305 | static int rtase_suspend(struct device *device) | ^~~~~~~~~~~~~ vim +/rtase_resume +2318 drivers/net/ethernet/realtek/rtase/rtase_main.c 8f9d7c2677f7dc Justin Lai 2023-11-23 2304 da2f11aefe82ee Justin Lai 2023-11-23 @2305 static int rtase_suspend(struct device *device) da2f11aefe82ee Justin Lai 2023-11-23 2306 { da2f11aefe82ee Justin Lai 2023-11-23 2307 struct net_device *dev = dev_get_drvdata(device); da2f11aefe82ee Justin Lai 2023-11-23 2308 da2f11aefe82ee Justin Lai 2023-11-23 2309 if (netif_running(dev)) { da2f11aefe82ee Justin Lai 2023-11-23 2310 netif_stop_queue(dev); da2f11aefe82ee Justin Lai 2023-11-23 2311 netif_device_detach(dev); da2f11aefe82ee Justin Lai 2023-11-23 2312 rtase_hw_reset(dev); da2f11aefe82ee Justin Lai 2023-11-23 2313 } da2f11aefe82ee Justin Lai 2023-11-23 2314 da2f11aefe82ee Justin Lai 2023-11-23 2315 return 0; da2f11aefe82ee Justin Lai 2023-11-23 2316 } da2f11aefe82ee Justin Lai 2023-11-23 2317 da2f11aefe82ee Justin Lai 2023-11-23 @2318 static int rtase_resume(struct device *device) da2f11aefe82ee Justin Lai 2023-11-23 2319 { da2f11aefe82ee Justin Lai 2023-11-23 2320 struct net_device *dev = dev_get_drvdata(device); da2f11aefe82ee Justin Lai 2023-11-23 2321 struct rtase_private *tp = netdev_priv(dev); da2f11aefe82ee Justin Lai 2023-11-23 2322 int ret; da2f11aefe82ee Justin Lai 2023-11-23 2323 da2f11aefe82ee Justin Lai 2023-11-23 2324 /* restore last modified mac address */ da2f11aefe82ee Justin Lai 2023-11-23 2325 rtase_rar_set(tp, dev->dev_addr); da2f11aefe82ee Justin Lai 2023-11-23 2326 da2f11aefe82ee Justin Lai 2023-11-23 2327 if (!netif_running(dev)) da2f11aefe82ee Justin Lai 2023-11-23 2328 goto out; da2f11aefe82ee Justin Lai 2023-11-23 2329 da2f11aefe82ee Justin Lai 2023-11-23 2330 rtase_wait_for_quiescence(dev); da2f11aefe82ee Justin Lai 2023-11-23 2331 da2f11aefe82ee Justin Lai 2023-11-23 2332 rtase_tx_clear(tp); da2f11aefe82ee Justin Lai 2023-11-23 2333 rtase_rx_clear(tp); da2f11aefe82ee Justin Lai 2023-11-23 2334 da2f11aefe82ee Justin Lai 2023-11-23 2335 ret = rtase_init_ring(dev); da2f11aefe82ee Justin Lai 2023-11-23 2336 if (ret) { da2f11aefe82ee Justin Lai 2023-11-23 2337 netdev_err(dev, "unable to init ring\n"); da2f11aefe82ee Justin Lai 2023-11-23 2338 rtase_free_desc(tp); da2f11aefe82ee Justin Lai 2023-11-23 2339 return -ENOMEM; da2f11aefe82ee Justin Lai 2023-11-23 2340 } da2f11aefe82ee Justin Lai 2023-11-23 2341 da2f11aefe82ee Justin Lai 2023-11-23 2342 rtase_hw_config(dev); da2f11aefe82ee Justin Lai 2023-11-23 2343 /* always link, so start to transmit & receive */ da2f11aefe82ee Justin Lai 2023-11-23 2344 rtase_hw_start(dev); da2f11aefe82ee Justin Lai 2023-11-23 2345 da2f11aefe82ee Justin Lai 2023-11-23 2346 netif_wake_queue(dev); da2f11aefe82ee Justin Lai 2023-11-23 2347 netif_device_attach(dev); da2f11aefe82ee Justin Lai 2023-11-23 2348 out: da2f11aefe82ee Justin Lai 2023-11-23 2349 da2f11aefe82ee Justin Lai 2023-11-23 2350 return 0; da2f11aefe82ee Justin Lai 2023-11-23 2351 } da2f11aefe82ee Justin Lai 2023-11-23 2352 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki