Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp124215pxb; Wed, 18 Aug 2021 17:48:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwmEljP8V0yCI7Ap9DSI/SCv7Ttv3pCcDilwqHtVdLFgJM+sxi7b5HEiuCpHoZ5GmfRgRzh X-Received: by 2002:a92:1908:: with SMTP id 8mr7851973ilz.149.1629334129256; Wed, 18 Aug 2021 17:48:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629334129; cv=none; d=google.com; s=arc-20160816; b=wfEfxb4TgaLLgmV/UKQgZ+kp8cn41BuL4g2OQHN7Ld0HVKNpVVNE0woGtUerBwGUSa wftYQn3CXYVuIXyWbsWaRlFxqB7pSp25VZedWvNtaX3cDWv8up7RJS70Bf5Enpj+k8CQ WZVLW/jRNh2VXk9BkaD15GFhgP+jNJ5VB0hkkAmXWPpcgISpinYCHbq9SBORkaU9wTOX 72rXZz5+EGsixVf2zhKhZLHnazmnctLrKd9SE/JR6Q6QR/Eul8tdbkIIJF2xEBy+NhMP 2ki7vbDCa7HtyDrF7+idLJodp/aMx4rte7fmIlBQMf/lpQ0pp/jK7bEqrBR1W+7CWCv7 q0yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:subject:from:message-id:cc:to :dkim-signature; bh=nbDBg9mYCKWOKiutMRQQ7517utN8j+39dIclsH3p0OA=; b=GnEuiOJT8SaWXozGUFbI/4+bhvzbpxPXsIqkb3T5eEDxuBodkuwzWPD4SsorVf7THr drcaZCYHT4CmdruY2LQQrk0hoFZCMMx4uisesu20kKzpm9pnjr0UOkCfz3da+BE/IJxf PTzW/BdeAQWAj/s/PLY+EbSjxvA69oNxlh/6H/ae92+34dEMCIIh/Dl1XjDugScqaXG2 IbyCrb+/YzPUMTxPgvrK2YeKt/qfgB0Cgdqev4Z6QEpZZEgj7G9MguFbStf2T+8FSVu/ TjkmMFlZekzywPAxPRJvSWhl1RYQR9E2a+PCZyA1fuDlkr5wideN2VMoCRYlJnSmESrk FFMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=JXtImGhy; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r13si1522378ilo.33.2021.08.18.17.48.37; Wed, 18 Aug 2021 17:48:49 -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; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=JXtImGhy; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234903AbhHSAs2 (ORCPT + 99 others); Wed, 18 Aug 2021 20:48:28 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:41929 "EHLO wout5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234523AbhHSAs2 (ORCPT ); Wed, 18 Aug 2021 20:48:28 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 0DBFD3200989; Wed, 18 Aug 2021 20:47:51 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 18 Aug 2021 20:47:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:message-id:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=nbDBg9mYCKWOKiutMRQQ7517utN8j+39dIclsH3p0OA=; b=JXtImGhy WpkUposKZjVOio/dAQb8NpCo06qYe3j6QagXOTsEGiFpdOqVq6rONrld2BWi1wNY fs8F3Nd9bfUx0pkDV/Tr578vELd+ADuQdb2drYKIMU3o7DTDZevUg/dk1thv2yjS LgAOGiYnGVMTvAjskrrIqOmBAlBrFJTQreTDSvV9SUmknJ99SAT0wy4BFvbdvw/s e+rWgLLYBQNqlCw+lJq231ngch8tgmbj7JBbfwJeqGi07ob2btraAI3z1Gk7S/nQ GAbBTdketnEZxyWS+UYJklO6t9eKx9XJnBu/nUcUfz4m5vTIykRJmfWeQ+Yfaeyl TJbCEUqCMxP8DA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrleeigdefkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefvkffhufffsedttdertddttddtnecuhfhrohhmpefhihhnnhcuvfhhrghinhcu oehfthhhrghinheslhhinhhugidqmheikehkrdhorhhgqeenucggtffrrghtthgvrhhnpe dtleetkeelkeekvdeujeehkefgvddtheehhfetieethfetfeeghfduheevveelleenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehfthhhrghinh eslhhinhhugidqmheikehkrdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 18 Aug 2021 20:47:47 -0400 (EDT) To: Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Message-Id: <44ab381741916a51e783c4a50d0b186abdd8f280.1629334014.git.fthain@linux-m68k.org> From: Finn Thain Subject: [PATCH] powerpc/tau: Add 'static' storage qualifier to 'tau_work' definition Date: Thu, 19 Aug 2021 10:46:54 +1000 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch prevents the following sparse warning. arch/powerpc/kernel/tau_6xx.c:199:1: sparse: sparse: symbol 'tau_work' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: Finn Thain --- arch/powerpc/kernel/tau_6xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/tau_6xx.c b/arch/powerpc/kernel/tau_6xx.c index b9a047d92ec0..8e83d19fe8fa 100644 --- a/arch/powerpc/kernel/tau_6xx.c +++ b/arch/powerpc/kernel/tau_6xx.c @@ -164,7 +164,7 @@ static void tau_work_func(struct work_struct *work) queue_work(tau_workq, work); } -DECLARE_WORK(tau_work, tau_work_func); +static DECLARE_WORK(tau_work, tau_work_func); /* * setup the TAU -- 2.26.3