Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp451611ybz; Wed, 29 Apr 2020 03:17:43 -0700 (PDT) X-Google-Smtp-Source: APiQypLUChNbtagbfpWGuUTUYmzscyprBL+0+f7ZmF/o+sNhGzfgAdqyenrTldSFK4uwo1MlIDLT X-Received: by 2002:aa7:c795:: with SMTP id n21mr1766172eds.6.1588155463148; Wed, 29 Apr 2020 03:17:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588155463; cv=none; d=google.com; s=arc-20160816; b=qzKyzsKsmhiFV97Yq6gqWQGOFyLXk9KZA+pAp4CNTrINvl2emmxhBcAcFR1ECnNBQB H/GzkcLW05MaquGp42qCk40FtO/LQJqiB/z6IcYH/vYofvmOOrzqBnoudpHNoEFKeP9z UxuBrFXpw823fKANRfQXWxsf8ytdqaHtuOwinv/ZWZxMqYubpzD6KutGIds+2as6M6pi u8J04JuQsNp7XeDKP9NtnUi7y48UMr7EobAmPHp9Cs80rKxD4ONl63wKLjKm8Wafa63l F0HWRLEeCGH8/KDAuakngIsVn+ctulQ3NHjtSsGk3OKIx2kDXmRidKJRlGGXVPB3QcK1 vtXg== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=nTsgxmMmBGDlJTVyXlfpNpui/EWxrBfQDpdJvN30I9w=; b=Xe099TcDC6ifeyGYLovOIQI4ZlK0aAsaqcof/jQZ4sgBQAwPHCHGjGqApzZtgQONVo /vLw2DR0dq0MCPc+pceMKKURI0Pxqca50QBSjDurvzGkTlmiaSm+6qTbKMYrj2iPNLwS GHsLqBrCa97gvEfQiSu3pKwcKdKRQsuBF4j/b3y06dohAt9osJK1ZAaTz6goIcW1+zVl LgvI7VHWpB1cMU/iq0QyCw3A0tMgN3LtMgt6fmD9LSNsDkhC7NO3qnwb9avjkEjRvElS 14vIYzkwZHaKF65jB3RpeRMo0iKsfiuJnqbJoUanNf1tpO4x4kHtQPaCpwma860S7Pyp wuQw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t24si3405530ejb.144.2020.04.29.03.17.18; Wed, 29 Apr 2020 03:17:43 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726580AbgD2KNh convert rfc822-to-8bit (ORCPT + 99 others); Wed, 29 Apr 2020 06:13:37 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:46467 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726345AbgD2KNh (ORCPT ); Wed, 29 Apr 2020 06:13:37 -0400 Received: by mail-ot1-f68.google.com with SMTP id z25so1174032otq.13 for ; Wed, 29 Apr 2020 03:13:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=GAfuhEzVW9yjP9v9ZyOBXMfmtyVV4v9q9d6s8nYURRw=; b=lHixJxVUBxW5Mjo5R1HA7G4gNQMQRSBFETiRMe+yJ0GyZ/rbN726oD4Mq5Dv1q8gAJ s9BpJITMztwJ6/AT0fTBNkn03X0SXO0nCIXsIcpoXBIhjIgh/jRqqpjPS0GQwxuNdhMS OcGOnKHbsZDDUWYth2kCaZdpQuPw6IhTsoMQQiyV6hpbSZyet8R0wNZExdAnAsIws4Kz uwL5VfD25QmvTGGpkP0rCyhhw9imAmdhL+K0tV1GDmekMWljFksV4W/6qUAtBX/mG5HJ A48cA/b13JzfTXYR9w6JqqOvpCtLsRJ3M59mjrDZK4ZEaEhC1AdDkYXr7HaXPwRmy+Z6 x4Cw== X-Gm-Message-State: AGi0PuYTiikGqw+jXQKY8WnN60gtnHWVQZwm0r8UAx5cpxSes3QDMBB0 tzphW/2dWUaUlUQN6A5A041GYNlHp8+uBKTpn8c= X-Received: by 2002:a9d:564:: with SMTP id 91mr25989025otw.250.1588155216129; Wed, 29 Apr 2020 03:13:36 -0700 (PDT) MIME-Version: 1.0 References: <1588154448-56759-1-git-send-email-wangxiongfeng2@huawei.com> In-Reply-To: <1588154448-56759-1-git-send-email-wangxiongfeng2@huawei.com> From: Geert Uytterhoeven Date: Wed, 29 Apr 2020 12:13:24 +0200 Message-ID: Subject: Re: [PATCH] powerpc/ps3: Move static keyword to the front of declaration To: Xiongfeng Wang Cc: Geoff Levand , Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 29, 2020 at 12:07 PM Xiongfeng Wang wrote: > Move the static keyword to the front of declaration of 'vuart_bus_priv', > and resolve the following compiler warning that can be seen when > building with warnings enabled (W=1): > > drivers/ps3/ps3-vuart.c:867:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] > } static vuart_bus_priv; > ^ > > Reported-by: Hulk Robot > Signed-off-by: Xiongfeng Wang Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds