From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 401RG64Nf4zDr2C for ; Wed, 14 Mar 2018 20:27:42 +1100 (AEDT) In-Reply-To: <20180131075445.9292-1-malat@debian.org> To: Mathieu Malaterre From: Michael Ellerman Cc: Mathieu Malaterre , linux-kernel@vger.kernel.org, Seth Forshee , Paul Mackerras , linuxppc-dev@lists.ozlabs.org Subject: Re: powerpc/epapr: Move register keyword at the beginning of declaration Message-Id: <401RG63QgQz9sVK@ozlabs.org> Date: Wed, 14 Mar 2018 20:27:42 +1100 (AEDT) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2018-01-31 at 07:54:43 UTC, Mathieu Malaterre wrote: > Fix warning for all register unsigned long (0,3-12) that appear during W=1 > compilation: > > ./arch/powerpc/include/asm/epapr_hcalls.h:479:2: warning: ‘register’ is not at beginning of declaration [-Wold-style-declaration] > unsigned long register r[\d] asm("r[\d]"); > > Signed-off-by: Mathieu Malaterre Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/65e13c202d7826dc3497c32961008d cheers