Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp1911806ima; Sat, 2 Feb 2019 09:57:02 -0800 (PST) X-Google-Smtp-Source: ALg8bN5Bse559h4e2IwNSaLyau5vDXVS0t+PhenXY3evjzRyuv4gPxDlFf+8cWENRtBehui4DkLn X-Received: by 2002:a62:c101:: with SMTP id i1mr44286365pfg.80.1549130222520; Sat, 02 Feb 2019 09:57:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549130222; cv=none; d=google.com; s=arc-20160816; b=ZCuq20PP/kexwTQdARFRh/2Iqozc29EbBe0eVqZylNGmJekMIec82AGE3oloaFkNGu HBKWnmpmPJa6ByD84yx6VRQJneqCx8cnLaHB+COQ99w4MxflZh9fzO1aFBW8ZgCuCRob K/aEiKNWEpaaJuSmaYR4PKaVLcMdmyB/r3vIDbkD7xxyidI75s6Zqd6J1WzLn8F3pRsO RJbd2bfNJFyzrZeIL1YeStC0p9wjma/MMCsnqPfE/WRho/Fdaw4Ijr1iQCieAaArvooc xgQjzVRieA9B6E3fXAQs2mx6EoWMRYaYArCS/hxEku2se3ICxtQzsLXt2BcSc8/khCPS 73fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=NvQ0Q3xWeVGPu1MpHRexndackdw83HWWfJwOzQ8/o4s=; b=JL37eDOE8PyNIYY76JP0PrU0QGfbq5jWOo2LZ2oX885u48EBi0ZdmuUex0LuSCc+PZ OBMuuYPRoBCPWynA07qX6grzWWm3hg0v45yqpBXW/cYqtSKEkuS6/fI7QgG2GSV2ASiE 95vOCytjeG+D6zcAPWMS7lq7DOOaTFWLGWiCeuOrX8ZEwxP27W6dSZK0AX5Sv3ppX4/1 /Bwuw3cVoH4fhMrqZ8Oezx1T6ePx5vlF1qRCObN0O2oLeV6sB4imK8UgUpUJPtA3RIMx w8XyfSSQkWlu8G9nMAaJmLUGsv1S/qvLz6PG4vlxoUrxHcx+QtQglFbdQPerPB8Ugcql UzFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=sqOcuzWM; 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 n3si2228673plk.328.2019.02.02.09.56.46; Sat, 02 Feb 2019 09:57:02 -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; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=sqOcuzWM; 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 S1726552AbfBBR4G (ORCPT + 99 others); Sat, 2 Feb 2019 12:56:06 -0500 Received: from merlin.infradead.org ([205.233.59.134]:55060 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726331AbfBBR4G (ORCPT ); Sat, 2 Feb 2019 12:56:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=NvQ0Q3xWeVGPu1MpHRexndackdw83HWWfJwOzQ8/o4s=; b=sqOcuzWMD8o8YffDwbZeBifp1m N9cNo9SaFfd2CKe38pzc9+5aFN4tHJC07Kq5ahNI/+ykHsRDD0kukc4rXgRiuZyY0RuBGq5gFB7tK DW8BpzR3jc18GgaeXh8vbVhVOqfEHm3qeLfhfrxR35JUR0ErOGG61UarhOiYNZoejcQ1XoGN2lX4L ZcX8AwkCE1v/hRSr8eDIIgVt2cJWKpQWM/AxqSF32TS80m5x3hRRH5cUUrd6j6IGTiMY/r7W/vzag r45BRNGTjX8h4p5DAtmNCtRkX5ikrHTt1qHE2iR7bmC5u5TYZTkG0VEaOkDA85+HrbereD2l7EVtu zp4mN0Bw==; Received: from [199.233.58.37] (helo=[10.83.93.157]) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpzWM-0001pP-19; Sat, 02 Feb 2019 17:56:02 +0000 Subject: Re: [PATCH] Move static keyword at beginning of declaration To: Mathieu Malaterre , Michael Ellerman Cc: Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org References: <20190202130535.2761-1-malat@debian.org> From: Geoff Levand Message-ID: <2205d42d-1dc9-7d80-6c85-4162763ee9e9@infradead.org> Date: Sat, 2 Feb 2019 09:56:00 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190202130535.2761-1-malat@debian.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/2/19 5:05 AM, Mathieu Malaterre wrote: > Move the static keyword around to remove the following warnings (W=1): > > arch/powerpc/platforms/ps3/os-area.c:212:1: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration] > arch/powerpc/platforms/ps3/system-bus.c:45:1: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration] > > -struct saved_params { > +static struct saved_params { > unsigned int valid; > s64 rtc_diff; > unsigned int av_multi_out; > -} static saved_params; > +} saved_params; Seems fine. Acked-by: Geoff Levand