Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2154173pxb; Sun, 18 Apr 2021 21:08:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxoICAPZIoJo8nY+T/gNStphBwYWZbvH88ynBkLtOFm9Gy76SesSM7p5J5F11xM3HAPeYs3 X-Received: by 2002:a63:aa06:: with SMTP id e6mr9813784pgf.178.1618805308181; Sun, 18 Apr 2021 21:08:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618805308; cv=none; d=google.com; s=arc-20160816; b=nrhcnykayd8kK/H73ubseOtTJALoAW3wud2e2xPIx03XmDQA9+DblV+/nMF8lTZq3y OCmsf/Yrr7tRk4mB1DcFnhiH52B3D+CR1ZlxE2K76Qw/8Jteo1Fei8VpowWEkZRFnbRM L+sLiz6qJsuct/BQnyBHuNa5JERzLitu040C91cbP1lfWeKGbARDKWd8UiMBntwhxlnk ibOcGCbahnZpPvo+N1iA2uKK1lYZrPdO71NUWzl/iOgQcmdCvCiq3r0nUzvRnTeh+j+d q3nsEaiErGOJjpQiPECHs1DTGoHLlRysiYLD2S+UhYNDRPafvw8iVgONG1lk2shcfPOp qnWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from; bh=krAMJVIcN40ewYJIUZSq7bS8Tj72iVMDvBRTU8+DJsY=; b=liMzQTcjIHafI6yAI012OrFIdfx5sz/6iL5+d4kAQ/O7zloBdC+x4hy0TajLuA3GmE ePBB1SCDZ+p5z6UdIL/mab0tz0JcVbyBMEnTpRKrevJYrwduPoCEBBnH1vB931xdP70i isLEjSQ1mDSej1EInIg9R8unpXoTXsBn3tVJNkLCjfQe4WKA36VRzdtmRQbcPNP1Tdte bXpYGRmsmVa9eNlhvzFSA6ZixF/+ML6cH5Sd9ZFeJuFtcbqDjtmNCL1Yjkh28KVb7t3u WBZnwQMRA6NFS0gfF9ud7MFvas6alKmNGVyAFFXmh5cSGy4T/YMKQs8PbyetHo95GQPv 5giA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p16si15769703plo.244.2021.04.18.21.08.16; Sun, 18 Apr 2021 21:08:28 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237538AbhDSEFa (ORCPT + 99 others); Mon, 19 Apr 2021 00:05:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234090AbhDSEEs (ORCPT ); Mon, 19 Apr 2021 00:04:48 -0400 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E4D3C061760; Sun, 18 Apr 2021 21:04:15 -0700 (PDT) Received: by ozlabs.org (Postfix, from userid 1034) id 4FNtVP1HGSz9vGp; Mon, 19 Apr 2021 14:04:13 +1000 (AEST) From: Michael Ellerman To: Madhavan Srinivasan , Bixuan Cui , Michael Ellerman , Kajol Jain , "Gautham R. Shenoy" Cc: kernel-janitors@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: <20210409090124.59492-1-cuibixuan@huawei.com> References: <20210409090124.59492-1-cuibixuan@huawei.com> Subject: Re: [PATCH -next] powerpc/perf/hv-24x7: Make some symbols static Message-Id: <161880479840.1398509.5195313938984929332.b4-ty@ellerman.id.au> Date: Mon, 19 Apr 2021 13:59:58 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 9 Apr 2021 17:01:24 +0800, Bixuan Cui wrote: > The sparse tool complains as follows: > > arch/powerpc/perf/hv-24x7.c:229:1: warning: > symbol '__pcpu_scope_hv_24x7_txn_flags' was not declared. Should it be static? > arch/powerpc/perf/hv-24x7.c:230:1: warning: > symbol '__pcpu_scope_hv_24x7_txn_err' was not declared. Should it be static? > arch/powerpc/perf/hv-24x7.c:236:1: warning: > symbol '__pcpu_scope_hv_24x7_hw' was not declared. Should it be static? > arch/powerpc/perf/hv-24x7.c:244:1: warning: > symbol '__pcpu_scope_hv_24x7_reqb' was not declared. Should it be static? > arch/powerpc/perf/hv-24x7.c:245:1: warning: > symbol '__pcpu_scope_hv_24x7_resb' was not declared. Should it be static? > > [...] Applied to powerpc/next. [1/1] powerpc/perf/hv-24x7: Make some symbols static https://git.kernel.org/powerpc/c/cc331eee03eadd750af1fb957d020b3f24e5e056 cheers