Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp162216pxf; Wed, 7 Apr 2021 23:24:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJ80R5wyo6JhhEDbTqAQliZCM8i9Lm62TgagnissAzb/8jjUvpRNQCdIEm20mAEzBjfsga X-Received: by 2002:a05:6402:447:: with SMTP id p7mr9234843edw.89.1617863053740; Wed, 07 Apr 2021 23:24:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617863053; cv=none; d=google.com; s=arc-20160816; b=uI8PLNzVMKzmkuMSh+Hz0Wl7jyHSocgP6e+Flnxw6CKXP+PbwDWhsLdqU5ehp92Gwd koApdkwOdo+c40TquuOkyHIwLoqC4HlyjGToN6psv7bsBOzBXUqckix6oE1HsKrm2lmE pwxlv3ErYxq/YfLEoaC8UZ6P+svYATdA1Zp2tIJIc5e6aGhN3NdJl0rU2SMc/Ww3Lfc6 wJecPKnHMWVMDAEU5AAXmOTNaFUOUqAZGNM5gyE9RqTqQzGYVCm/LwprxiZJFh+hRLXR WyofBC2ol/czolQymSVVOfB4FxsKHTfX9BV3Om66kH/GUweCMGt972rqoToAojiqForF /n/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=FXFD64gcoVDLK2q/HacJWJj/tGi2CiBTBP5El3m1+u4=; b=EV44xJvmKx/lYqXtGg3Wl+QCAc1g5mKS4gE4PA2NwwWUKqPLaFQDSTzskBfwgEOq20 GfQvf8Y1yJ42bs07/5YyFdA+whqYp5Ijai9EgZpL6Z9/PA2G9qteYTh/r82emvXyX+By qosQp+g+8TCQIYhxjBlT7F64++VqnMsUsAjuPxILblq4Dssjq2SS523PzOPHJ23DF9Ae U5WLdkuy388Vn5sKvmQBZuhzxghVHarny6arBx1DH+0rAKTdOtOi5q5EauonHJ0p0ANw DNJ3MU44MSyG7EcQiNP6KwBeKUE9eYOfLCkvvRuwgAajagfm1hM8uNNRh2Nr++UCpdvN 1jmw== 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=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e5si14444397ejx.167.2021.04.07.23.23.50; Wed, 07 Apr 2021 23:24:13 -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=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229776AbhDHGUb (ORCPT + 99 others); Thu, 8 Apr 2021 02:20:31 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:15174 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229742AbhDHGUb (ORCPT ); Thu, 8 Apr 2021 02:20:31 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FG9zJ5WS5zpVdL; Thu, 8 Apr 2021 14:17:32 +0800 (CST) Received: from ubuntu1804.huawei.com (10.67.174.98) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.498.0; Thu, 8 Apr 2021 14:20:08 +0800 From: Pu Lehui To: , , , , CC: , , , , Subject: [PATCH -next] powerpc/fadump: make symbol 'rtas_fadump_set_regval' static Date: Thu, 8 Apr 2021 14:20:12 +0800 Message-ID: <20210408062012.85973-1-pulehui@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.174.98] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix sparse warnings: arch/powerpc/platforms/pseries/rtas-fadump.c:250:6: warning: symbol 'rtas_fadump_set_regval' was not declared. Should it be static? Signed-off-by: Pu Lehui --- arch/powerpc/platforms/pseries/rtas-fadump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/pseries/rtas-fadump.c b/arch/powerpc/platforms/pseries/rtas-fadump.c index 81343908ed33..f8f73b47b107 100644 --- a/arch/powerpc/platforms/pseries/rtas-fadump.c +++ b/arch/powerpc/platforms/pseries/rtas-fadump.c @@ -247,7 +247,7 @@ static inline int rtas_fadump_gpr_index(u64 id) return i; } -void rtas_fadump_set_regval(struct pt_regs *regs, u64 reg_id, u64 reg_val) +static void rtas_fadump_set_regval(struct pt_regs *regs, u64 reg_id, u64 reg_val) { int i; -- 2.17.1