Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8669895ybl; Wed, 25 Dec 2019 03:55:36 -0800 (PST) X-Google-Smtp-Source: APXvYqy8mfDarwKpvQBYqKGD8Xw58V5rExgSbCMIfvjRNk6ltBtM8NOYXw85n0KFndrT8YCVoImV X-Received: by 2002:a9d:7757:: with SMTP id t23mr46329990otl.315.1577274936427; Wed, 25 Dec 2019 03:55:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577274936; cv=none; d=google.com; s=arc-20160816; b=K4Q/inHoZ8XY0p5Z6EMbWQrqNY0LDA65Yns3GD/PCPhAU/Y5ceiN6zhWIp6ksEFwAz GS4bkZvD4xAAZ0ZzOfpsBgebUmY4ogL3628jOSbXE2LYCTopBve0bWf+wUH/vq0ebc9T sLVNqoysJcg2fjYF/Ly03KupxyoamOVuz3/XlOw/GSVIAm5ptzd4pI8IcWGWF1h3VdH8 YdVKvrVRIZc3CxHFJNlHnRBlEbsNGMf62o33eGipZ1LO9hGD54c2dKqNmyZeAJ0KVQH1 QywZjZ6UDglS6thAcOBorULRwlL9fCpNb6n9Y7LKqU7G7MoTqIp0B3M/xqmey4JomAvP Issg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=vbF6jONvTcM6nUEe3MxC1dwB3bBayIskQNOfUhkj+iU=; b=HDqZNV7kSHtOuds6wWY6zIqI5gEncLXtyRfU03RI5w5hLIiwq8sjYcnv2thxoxPtwe CD/NLsKysOn+ARnpZnqjRXsXyU2zK7n7IFUDoSglbxu6nMtM9bZTT4YiGb2eb/xSqUem xgDW79fagYnsai6rk4HWgixM9BnWsp3qpwB7d/a7LYyIohKczHOIp8NaipEaYVVc0uz0 sPmsFk0yxjvVNATC59Yo1xcZ81MivEQZV0IUnIP83D9AYFnINcM/t8tSdjgqXFQitelY hPlLkH723/yCECeBY4hb+adc7D4gJ/7tArZbcplIM550xQwo7Ps2AV/B5YFK8QOINgxI 6Ftg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v13si7960803otr.140.2019.12.25.03.55.22; Wed, 25 Dec 2019 03:55:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726371AbfLYLy0 (ORCPT + 99 others); Wed, 25 Dec 2019 06:54:26 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:8187 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726185AbfLYLyZ (ORCPT ); Wed, 25 Dec 2019 06:54:25 -0500 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id DFCD07D8244006852EF5; Wed, 25 Dec 2019 19:54:23 +0800 (CST) Received: from localhost (10.133.213.239) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.439.0; Wed, 25 Dec 2019 19:54:16 +0800 From: YueHaibing To: , , CC: , , YueHaibing Subject: [PATCH -next] powerpc/pmac/smp: Fix old-style declaration Date: Wed, 25 Dec 2019 19:49:43 +0800 Message-ID: <20191225114943.17216-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.133.213.239] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There expect the 'static' keyword to come first in a declaration arch/powerpc/platforms/powermac/smp.c:664:1: warning: static is not at beginning of declaration [-Wold-style-declaration] arch/powerpc/platforms/powermac/smp.c:665:1: warning: static is not at beginning of declaration [-Wold-style-declaration] Signed-off-by: YueHaibing --- arch/powerpc/platforms/powermac/smp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/platforms/powermac/smp.c b/arch/powerpc/platforms/powermac/smp.c index f95fbde..7233b85 100644 --- a/arch/powerpc/platforms/powermac/smp.c +++ b/arch/powerpc/platforms/powermac/smp.c @@ -661,8 +661,8 @@ static void smp_core99_gpio_tb_freeze(int freeze) #endif /* !CONFIG_PPC64 */ /* L2 and L3 cache settings to pass from CPU0 to CPU1 on G4 cpus */ -volatile static long int core99_l2_cache; -volatile static long int core99_l3_cache; +static volatile long int core99_l2_cache; +static volatile long int core99_l3_cache; static void core99_init_caches(int cpu) { -- 2.7.4