Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2513636rdb; Mon, 20 Nov 2023 13:02:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IFxJCqJJ12su6m17jX54he18totoVwCVbWJQ69TjeLfw12rJhxtv7QjKNOR4Q3kCBsV+oPa X-Received: by 2002:a05:6870:280b:b0:1e9:e413:b9d with SMTP id gz11-20020a056870280b00b001e9e4130b9dmr365100oab.2.1700514170135; Mon, 20 Nov 2023 13:02:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700514170; cv=none; d=google.com; s=arc-20160816; b=tROZWSwTy9KfaT8wjvkz7HedNXs56rRdbzRlzFQpk3kpUNlrj4f2yC4HJ9rLInoxne Lhk5QVKvGXl1egB6HEjcwW+7fs/JQfFQDBQFyc+fDDTVrWzT74u6DKGlJLXm8PwURrWM dwnaKG/tMbbQhPlPOOTrD7HKtN8dJRfSZgYXhnSoLtNfU7qWL2iZFzGNyptFLOp5ys3v RxylJ5XPRlbm+yuCW1NYFY3urcuJ8NPfyJyMa7kZTNBxquzwZ5x2czIJncXb7JxYCQW3 GNS7AbP7ri/JC1bytj7CeeSySAWnnz0Z2b4Dstlc/wySlv8pDLFTPHKSxuoXDTQwauvC Rd2Q== 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=/juoHjz9lzEeOEdF6OP/f4uWXH3dJWmNcBVEHe0JcI8=; fh=7iTfD/uqkjc8efvKIa14WalXCb/cfBGx622Yvp8f8v0=; b=LZUv7M7l+ZhRjXAdNsc+b3uNQmtWP+M6+gDBpJ531+RWSXzdNraD1MAfl/Zgx8m906 N03EEwX00BI7TC+ns0QpDLdfrV5kLsoJ81PNKQFIENobiQbVk09GSLmgAUrfiMWtmRXL OthBpWZBB4ETBj9J9dRlpYUJV6kZRQKA+zMLoWaGXZlAkhV4HRcx7aospjzeh1Of8XNQ xof/4nsa4YxjoH0seuKg5w08+orjIpVHmiil5VDUoBpeH4xfvgl+B9DS+Eq/ameK90rs GweBQDNCqqw89tlo+inig5CkOJRYgdrP0zAaSoC0Fy3CtXjaxes0PrgpTyqBUS6UKUCM A5+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=MXB7afFw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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. [23.128.96.33]) by mx.google.com with ESMTPS id w13-20020a056871060d00b001dc0e876a1asi3163217oan.165.2023.11.20.13.02.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 13:02:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=MXB7afFw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 3551E807E782; Mon, 20 Nov 2023 13:02: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 S230213AbjKTVB5 (ORCPT + 99 others); Mon, 20 Nov 2023 16:01:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229637AbjKTVB5 (ORCPT ); Mon, 20 Nov 2023 16:01:57 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D45BDA2 for ; Mon, 20 Nov 2023 13:01:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700514113; x=1732050113; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=t+grIEx/OoWq8S+aVx/HW0aGncH3ytPBS0KnbHH97xM=; b=MXB7afFw1McYwAYQRIpZMQedE0qgDp4EGQFCmWlmyCxjnsany7QopEgs VtT4knfkSJ/2/ZyB8UiT8R8i4p1sASqiP2S64r2PAGTOGAgbuBa+ftuyg /UCsS4/s9oWC7wXDrcK5DYkWBL5HLUTElRkaSCr1HcEHU9j1ZTW+09cYL LcddXZxdsz/XKVCqQhdV6ak7NZlJoi9WQYF/+lhmtOTVs8ecXobplDhG5 ZUclK6lzyIJpD7Sg6IHHEWZUBSbQ1U816/jkKHui668lNvUBClj/oTf2Q GGCPduaCIejIgb2VRdMl/KMB3ipsQUPzsElxUVBdxnAc5mjrMQPWZO7rb A==; X-IronPort-AV: E=McAfee;i="6600,9927,10900"; a="395632414" X-IronPort-AV: E=Sophos;i="6.04,214,1695711600"; d="scan'208";a="395632414" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Nov 2023 13:01:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,214,1695711600"; d="scan'208";a="7837599" Received: from lkp-server02.sh.intel.com (HELO b8de5498638e) ([10.239.97.151]) by fmviesa002.fm.intel.com with ESMTP; 20 Nov 2023 13:01:46 -0800 Received: from kbuild by b8de5498638e with local (Exim 4.96) (envelope-from ) id 1r5BOq-0006v8-0K; Mon, 20 Nov 2023 21:01:44 +0000 Date: Tue, 21 Nov 2023 05:01:43 +0800 From: kernel test robot To: Yong He , tj@kernel.org, jiangshanlai@gmail.com, linux-kernel@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev Subject: Re: [PATCH] workqueue: fix invalid cpu in kick_pool Message-ID: <202311210443.gdbUH0vN-lkp@intel.com> References: <20231120121623.119780-1-alexyonghe@tencent.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231120121623.119780-1-alexyonghe@tencent.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]); Mon, 20 Nov 2023 13:02:23 -0800 (PST) Hi Yong, kernel test robot noticed the following build warnings: [auto build test WARNING on tj-wq/for-next] [also build test WARNING on linus/master v6.7-rc2 next-20231120] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Yong-He/workqueue-fix-invalid-cpu-in-kick_pool/20231120-201849 base: https://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git for-next patch link: https://lore.kernel.org/r/20231120121623.119780-1-alexyonghe%40tencent.com patch subject: [PATCH] workqueue: fix invalid cpu in kick_pool config: arc-randconfig-001-20231121 (https://download.01.org/0day-ci/archive/20231121/202311210443.gdbUH0vN-lkp@intel.com/config) compiler: arceb-elf-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231121/202311210443.gdbUH0vN-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/202311210443.gdbUH0vN-lkp@intel.com/ All warnings (new ones prefixed by >>): kernel/workqueue.c: In function 'kick_pool': >> kernel/workqueue.c:1109:13: warning: unused variable 'cpu' [-Wunused-variable] 1109 | int cpu; | ^~~ vim +/cpu +1109 kernel/workqueue.c 1097 1098 /** 1099 * kick_pool - wake up an idle worker if necessary 1100 * @pool: pool to kick 1101 * 1102 * @pool may have pending work items. Wake up worker if necessary. Returns 1103 * whether a worker was woken up. 1104 */ 1105 static bool kick_pool(struct worker_pool *pool) 1106 { 1107 struct worker *worker = first_idle_worker(pool); 1108 struct task_struct *p; > 1109 int cpu; 1110 1111 lockdep_assert_held(&pool->lock); 1112 1113 if (!need_more_worker(pool) || !worker) 1114 return false; 1115 1116 p = worker->task; 1117 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki