From patchwork Tue May 12 01:46:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ma Feng X-Patchwork-Id: 11542749 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CBB2615E6 for ; Tue, 12 May 2020 09:17:21 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5807020714 for ; Tue, 12 May 2020 09:17:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=groups.io header.i=@groups.io header.b="Aksw3x3E" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5807020714 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+16102+84+925526+2090324@groups.io X-Received: by 127.0.0.2 with SMTP id 4uzpYY926861xZpBGNbcLH7; Tue, 12 May 2020 02:17:21 -0700 X-Received: from huawei.com (huawei.com [45.249.212.191]) by mx.groups.io with SMTP id smtpd.web11.7012.1589247513133952832 for ; Mon, 11 May 2020 18:38:33 -0700 X-Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 70508F53A8D7A8A81B81; Tue, 12 May 2020 09:38:28 +0800 (CST) X-Received: from ubuntu.huawei.com (10.175.100.98) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.487.0; Tue, 12 May 2020 09:38:26 +0800 From: Ma Feng To: , CC: , , Subject: [linux-oxnas] [PATCH] ARM: oxnas: make ox820_boot_secondary static Date: Tue, 12 May 2020 09:46:13 +0800 Message-ID: <1589247973-29728-1-git-send-email-mafeng.ma@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.175.100.98] X-CFilter-Loop: Reflected Precedence: Bulk List-Unsubscribe: Sender: linux-oxnas@groups.io List-Id: Mailing-List: list linux-oxnas@groups.io; contact linux-oxnas+owner@groups.io Delivered-To: mailing list linux-oxnas@groups.io Reply-To: linux-oxnas@groups.io,mafeng.ma@huawei.com X-Gm-Message-State: dfQhfBNQAsE0htxv8uTuwxbhx925526AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1589275041; bh=JNMeHTVOBuBZv7aszQcP4D/ppAgD7BrMpX/kBS12k8o=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=Aksw3x3EhPsFtFPjCsRTH++l+2i7UpKqoxLdiTSd9cn157ZFXpUjh5DfZGNVayvMwg/ aXA/C/PdSpOvcZAV2iGYEGhcvugcCDHr4M+Hh5IO+b/Y7OrMvefGRbkejJet+oN72edR1 M0bQ5OD5G6ym4VMCEgtMD4lcwN5qD6Ljd8M= Fix sparse warning: arch/arm/mach-oxnas/platsmp.c:30:12: warning: symbol 'ox820_boot_secondary' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: Ma Feng --- arch/arm/mach-oxnas/platsmp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.7.4 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#84): https://groups.io/g/linux-oxnas/message/84 Mute This Topic: https://groups.io/mt/74154564/925526 Group Owner: linux-oxnas+owner@groups.io Unsubscribe: https://groups.io/g/linux-oxnas/unsub [patchwork-linux-oxnas@patchwork.kernel.org] -=-=-=-=-=-=-=-=-=-=-=- diff --git a/arch/arm/mach-oxnas/platsmp.c b/arch/arm/mach-oxnas/platsmp.c index ab35275..f0a50b9 100644 --- a/arch/arm/mach-oxnas/platsmp.c +++ b/arch/arm/mach-oxnas/platsmp.c @@ -27,7 +27,8 @@ static void __iomem *gic_cpu_ctrl; #define GIC_CPU_CTRL 0x00 #define GIC_CPU_CTRL_ENABLE 1 -int __init ox820_boot_secondary(unsigned int cpu, struct task_struct *idle) +static int __init ox820_boot_secondary(unsigned int cpu, + struct task_struct *idle) { /* * Write the address of secondary startup into the