From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24F86C433B4 for ; Mon, 19 Apr 2021 04:05:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E330A61106 for ; Mon, 19 Apr 2021 04:05:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237558AbhDSEFg (ORCPT ); Mon, 19 Apr 2021 00:05:36 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:54971 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237359AbhDSEEw (ORCPT ); Mon, 19 Apr 2021 00:04:52 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 4FNtVY4vwpz9vGp; Mon, 19 Apr 2021 14:04:20 +1000 (AEST) From: Michael Ellerman To: npiggin@gmail.com, benh@kernel.crashing.org, alistair@popple.id.au, mpe@ellerman.id.au, paulus@samba.org, Li Huafei , jniethe5@gmail.com Cc: linux-kernel@vger.kernel.org, yangjihong1@huawei.com, linuxppc-dev@lists.ozlabs.org, zhangjinhao2@huawei.com In-Reply-To: <20210408033951.28369-1-lihuafei1@huawei.com> References: <20210408033951.28369-1-lihuafei1@huawei.com> Subject: Re: [PATCH -next] powerpc/security: Make symbol 'stf_barrier' static Message-Id: <161880479001.1398509.6935026820404555887.b4-ty@ellerman.id.au> Date: Mon, 19 Apr 2021 13:59:50 +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 Thu, 8 Apr 2021 11:39:51 +0800, Li Huafei wrote: > The sparse tool complains as follows: > > arch/powerpc/kernel/security.c:253:6: warning: > symbol 'stf_barrier' was not declared. Should it be static? > > This symbol is not used outside of security.c, so this commit marks it > static. Applied to powerpc/next. [1/1] powerpc/security: Make symbol 'stf_barrier' static https://git.kernel.org/powerpc/c/7f262b4dcf7edf75097c3946e676d6c6d77fc599 cheers From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79373C433B4 for ; Mon, 19 Apr 2021 04:08:47 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 167BF60241 for ; Mon, 19 Apr 2021 04:08:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 167BF60241 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4FNtbd5xgRz3fQ0 for ; Mon, 19 Apr 2021 14:08:45 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.org (client-ip=203.11.71.1; helo=ozlabs.org; envelope-from=michael@ozlabs.org; receiver=) Received: from ozlabs.org (ozlabs.org [203.11.71.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4FNtVZ2L5Fz3cLh for ; Mon, 19 Apr 2021 14:04:22 +1000 (AEST) Received: by ozlabs.org (Postfix, from userid 1034) id 4FNtVY4vwpz9vGp; Mon, 19 Apr 2021 14:04:20 +1000 (AEST) From: Michael Ellerman To: npiggin@gmail.com, benh@kernel.crashing.org, alistair@popple.id.au, mpe@ellerman.id.au, paulus@samba.org, Li Huafei , jniethe5@gmail.com In-Reply-To: <20210408033951.28369-1-lihuafei1@huawei.com> References: <20210408033951.28369-1-lihuafei1@huawei.com> Subject: Re: [PATCH -next] powerpc/security: Make symbol 'stf_barrier' static Message-Id: <161880479001.1398509.6935026820404555887.b4-ty@ellerman.id.au> Date: Mon, 19 Apr 2021 13:59:50 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: zhangjinhao2@huawei.com, yangjihong1@huawei.com, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Thu, 8 Apr 2021 11:39:51 +0800, Li Huafei wrote: > The sparse tool complains as follows: > > arch/powerpc/kernel/security.c:253:6: warning: > symbol 'stf_barrier' was not declared. Should it be static? > > This symbol is not used outside of security.c, so this commit marks it > static. Applied to powerpc/next. [1/1] powerpc/security: Make symbol 'stf_barrier' static https://git.kernel.org/powerpc/c/7f262b4dcf7edf75097c3946e676d6c6d77fc599 cheers