Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2634025pxb; Tue, 13 Apr 2021 06:42:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYl6HxvEO3iAoyLQcRGl0JFozMO0MNw2YLx2BLRuSSX5oBNbfZeJRmlMvI3FR7O0zrEUCZ X-Received: by 2002:a17:906:250d:: with SMTP id i13mr19509441ejb.474.1618321363947; Tue, 13 Apr 2021 06:42:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618321363; cv=none; d=google.com; s=arc-20160816; b=rxAryR3bpniLB9u0ERdtjSyI6ROLtSiDqmmMTGyyJ+Q7SAgtr21dkzd8aCO0yO42Oj nZy22Kl9eXL5k2FhUscNczKbP44/rrT4aIeWr+KhTVyNWLk7xQ82zlxwp/5gtEs3txoF +eqYtoera2zYTtA0jxjZaXxSAlxIsm4CwXel+Ibd8ESV+0bGT3mj4R8qkhxzQupfNupO 6OOHKCHRP03HlG5lcp4MctrZx6gEpzgCWkfACRNAPFduVHbbh7a7+AxE6WVdQFpZ0veA LR9g/K5aeHPXnR34/QzVqMhscHq/ZmSgyi3Ldv/g8jQ3/2fV5w3LsEaFAEdprYWVhnJW 0SZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=jZQ8VKn9pT9lrGsaZVpjNxeOiQu/qsHWDhP2l3yZ3C8=; b=QCXplQaWeVBd+3IZJ3an61oTUkyjKGn557fCkLc/b/tXc3yL92u+8WjhtKov24yW2J Gs/8oMWTjvbeFT0w+dA2Htn+6bM6hRh7mqJujw++csJTMPOxYttnwAlhZ8uv/M7Oc0Gx Mny4wxJHvBNYjPNq8PQLp8QoE03QcmSObp45ZsEqQVXI61Vi96fbBh9uUoT2BH87um7O dEVjGuadmJ2gpMwMCdrvMXFwcQiOZ2si6fDxOxeXJcDsMCtTkaJtI14w3EG4BkjAirhm 2hTHQIaKqLiORmQRRMd3wbIEJxxdbalbTA5sBZI73WagO+H6bb8/DQYPjsEhbPrQp2eF 9FwQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cz23si10018130edb.378.2021.04.13.06.42.20; Tue, 13 Apr 2021 06:42:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344905AbhDMGPk (ORCPT + 99 others); Tue, 13 Apr 2021 02:15:40 -0400 Received: from mga03.intel.com ([134.134.136.65]:61621 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242204AbhDMGPj (ORCPT ); Tue, 13 Apr 2021 02:15:39 -0400 IronPort-SDR: /W11ztF5uXnlSrC/oJS1d0ZrxXTIK/hY8gzkBdfOPLiK6B5a5oPOlf0Rk93IkpTlrJaySclsiB 6IUhoAECxp1Q== X-IronPort-AV: E=McAfee;i="6200,9189,9952"; a="194379759" X-IronPort-AV: E=Sophos;i="5.82,218,1613462400"; d="scan'208";a="194379759" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2021 23:15:20 -0700 IronPort-SDR: VbpwQjH0nfseXLn5YEhVhx8Z3sDRQzgkb0CmVtgQF/tIG0jtwXswx96eSJhktd3Vns/QkBBLUR 87gci0jZxFog== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,218,1613462400"; d="scan'208";a="460467534" Received: from lkp-server01.sh.intel.com (HELO 69d8fcc516b7) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 12 Apr 2021 23:15:18 -0700 Received: from kbuild by 69d8fcc516b7 with local (Exim 4.92) (envelope-from ) id 1lWCKU-0000rb-05; Tue, 13 Apr 2021 06:15:18 +0000 Date: Tue, 13 Apr 2021 14:14:22 +0800 From: kernel test robot To: brookxu , adobriyan@gmail.com, bsingharora@gmail.com, akpm@linux-foundation.org, ebiederm@xmission.com, linux-kernel@vger.kernel.org Cc: kbuild-all@lists.01.org Subject: [RFC PATCH] delayacct: delayacct_stats[] can be static Message-ID: <20210413061422.GA20444@5a950bd79ae1> References: <99fd223ec19a6bc17fa5b39aaf6aed6cbdbea722.1618275619.git.brookxu@tencent.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <99fd223ec19a6bc17fa5b39aaf6aed6cbdbea722.1618275619.git.brookxu@tencent.com> X-Patchwork-Hint: ignore User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Reported-by: kernel test robot Signed-off-by: kernel test robot --- delayacct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/delayacct.c b/kernel/delayacct.c index b8d719fbfc404..2505aa9f87f61 100644 --- a/kernel/delayacct.c +++ b/kernel/delayacct.c @@ -32,7 +32,7 @@ struct delayacct_stat { unsigned int idx; }; -struct delayacct_stat delayacct_stats[] = { +static struct delayacct_stat delayacct_stats[] = { {"blkio", DELAYACCT_BLKIO}, {"swapin", DELAYACCT_SWAPIN}, {"pagecache_thrashing", DELAYACCT_THRASHING},