Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp469825rdh; Wed, 14 Feb 2024 02:20:41 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXf2daOrGL5KaKxxQO9BHkW5BN/JiBuDjFIApZTmQjxi9cpCWQUS61u+Z5I/b0xqpDZF+uE5iuiXDf7HiScU2kwdpygq3nPvSY5NC/wvg== X-Google-Smtp-Source: AGHT+IGs2tdZJjDfY0GuV8nEVIQ2QOp62CebsHu7sSMb2j0OgdmxprcFJan5JF50PvYGVdVTNaPt X-Received: by 2002:aa7:d859:0:b0:561:2f3b:7221 with SMTP id f25-20020aa7d859000000b005612f3b7221mr1573494eds.18.1707906041675; Wed, 14 Feb 2024 02:20:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707906041; cv=pass; d=google.com; s=arc-20160816; b=ATGbTuVrc+KnE8dkgh7dcXJzGGfZQRUguMQUZSC5b+T2gkQo10zt+XO8it5VcmDwC3 mnosx11MiNuwwIeOVy7TDR5GfALxbblOmauGCYvRicEVD56LP/JmKct4D487AKXrWc+e jFBjWHB8bJJq+zCdzuM6i8b8kaf3ri8VugMtGEPWjkeNLT2GyiM1nfY1yjOVxdMZbzU3 cjhFw9iqPqS4xW74xmfHz8Gsm1OE9kRqMvtSqxqSqWyheCjPqTguKBKK9mreaFyFRrUi 3TC4oV0B+u95ZNofDZWeMCs6zLlMveXvXG9MpODzrmcB1/AcbZxvep3/5+q+KhS0UyZ2 Ttgw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Zhs5ZOznd2HpJ8Qx0xV25PqBNEqrvUBZFdOulq+nVg8=; fh=CQurjhJPxSTEGMX48iOZMLhEYe4QWMDbp/LBSvf2xew=; b=i5Opnx+RBhMKb+seddh4+1lCvyEWdbgWuBlW6lE3LhLiwSP9sHLrDsColy5AN1VEjG UZEscANbHeHeW55asaW1dZ7r4aVstCXvpf7K5EnJghXWBZBJywpTN9sUzQur3imnSjAB fayVVdZFT3yAxFfj3aR6OpC3DkA8TSbbCqOiK7xIHCfmp7omsBQmq2raX7ijPpfT92UK P79fJYlVagGpxkQdzgKoiz5OufGEtLjnP9A2QZdAtrloqg1vocah7WIpIvpJr6NQOxIv YlDe0b3JL9m8UBzSwLp2KOfqYd7kA8xNad6hdni0COiVkoe1eiL/x+Pam9P29RA1zcaX TtFA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mTKX1q4I; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-65036-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65036-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCWyPyfDDNkQntdEQhxDP4OHNWFoS+qfFkPLrjO6Zt9LOCPXJ1hq5YS8rDrlOVvIuq+3Lj80feq/Xl1pWsTTNfOLzaG4MSTFmvyfHtvV5w== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id cb21-20020a0564020b7500b0055a8ca0fc6bsi4464809edb.332.2024.02.14.02.20.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 02:20:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65036-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mTKX1q4I; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-65036-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65036-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 6CB011F21575 for ; Wed, 14 Feb 2024 10:20:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D33D17580; Wed, 14 Feb 2024 10:20:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mTKX1q4I" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 806F7171C4; Wed, 14 Feb 2024 10:20:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707906033; cv=none; b=NDCgNvmkHPk78hINUPrua7ZKo2XhUolNjtJeUCLjYTXbG4ynUuo32XfZBnJi5l+GMUrMFGyv+2EWwB6OLypghz3tjGKZvnIR2Cg3kcfcGkJOptUR95EWt3IP7ncitHfwzIbdmH/BdPsYSGQYRRh9WOzzspyMra8icQt6TbMKZJ8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707906033; c=relaxed/simple; bh=TFMAB7MBiveFe80EybzquU5dGfWXkZIHqR0E257ofTk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BKcNd28uh/s1DjuryHZwOxn4/QimyogZ0ZlzN5/pFItAZWNlSFezO2RzNM9SZMcmCf+Ng6ILgmyTNAmIopjKpMpKCKzOaXY4MezSkel7Yvn/NqCrkihLoq/6t5DD4KFSpceToT/njn2JWSwoAK92Fn4OmiQfzaXxTb2tSPcjqRQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mTKX1q4I; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 88D17C433F1; Wed, 14 Feb 2024 10:20:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707906033; bh=TFMAB7MBiveFe80EybzquU5dGfWXkZIHqR0E257ofTk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mTKX1q4I5bi0WSO9h8gbLDerXtf4yXy/VdjYhl0jtgwsO9d/b0pTXbbog7IrofMiZ nzdQdvqY88/hYYt/DT2kKTvpzvygypjRvyqG/0oaTYBAW/ztWYK9Qi/baV3rWaudsR QjiewJWSoWBUEXN4Otgvd1eEEijPhwChdIXyGUh3ZBex8V5k60jnfC2lTABOWPomu5 pZtg158SF8YcfPciI/PEn5pQPIFnsH/KQ/LYQCdQz8LG7PfeV8QKzuFpFfhULTSzli KAZ6i8gE1yNAJBceipCVjOmkaT/Aa3XXJcbf80H1jhNVEkLLUylfbwDLkHn346YWD+ QtyAXBmmTeXAQ== Date: Wed, 14 Feb 2024 11:20:30 +0100 From: Frederic Weisbecker To: kernel test robot Cc: Costa Shulyupin , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, x86@kernel.org, Thomas Gleixner , Waiman Long Subject: Re: [tip:timers/core 3/3] kernel/time/hrtimer.c:2224:49: error: implicit declaration of function 'housekeeping' is invalid in C99 Message-ID: References: <202402141742.oYY6J3lC-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202402141742.oYY6J3lC-lkp@intel.com> On Wed, Feb 14, 2024 at 05:33:56PM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/core > head: 86342554e102b0d18d50abec43d40f4fc92f1993 > commit: 86342554e102b0d18d50abec43d40f4fc92f1993 [3/3] hrtimer: Select housekeeping CPU during migration > config: arm-defconfig (https://download.01.org/0day-ci/archive/20240214/202402141742.oYY6J3lC-lkp@intel.com/config) > compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1) > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240214/202402141742.oYY6J3lC-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/202402141742.oYY6J3lC-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > kernel/time/hrtimer.c:1651:7: warning: variable 'expires_in_hardirq' set but not used [-Wunused-but-set-variable] > bool expires_in_hardirq; > ^ > >> kernel/time/hrtimer.c:2224:49: error: implicit declaration of function 'housekeeping' is invalid in C99 [-Werror,-Wimplicit-function-declaration] > int i, ncpu = cpumask_any_and(cpu_active_mask, housekeeping(HK_TYPE_TIMER)); > ^ > >> kernel/time/hrtimer.c:2224:62: error: use of undeclared identifier 'HK_TYPE_TIMER' > int i, ncpu = cpumask_any_and(cpu_active_mask, housekeeping(HK_TYPE_TIMER)); > ^ > 1 warning and 2 errors generated. > > > vim +/housekeeping +2224 kernel/time/hrtimer.c > > 2221 > 2222 int hrtimers_cpu_dying(unsigned int dying_cpu) > 2223 { > > 2224 int i, ncpu = cpumask_any_and(cpu_active_mask, housekeeping(HK_TYPE_TIMER)); Should be housekeeping_cpumask(HK_TYPE_TIMER) Thanks.