From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (bilbo.ozlabs.org [203.11.71.1]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41ptd65jb9zF0bq for ; Mon, 13 Aug 2018 21:23:06 +1000 (AEST) In-Reply-To: <20180622192749.24954-1-malat@debian.org> To: Mathieu Malaterre From: Michael Ellerman Cc: Kate Stewart , Greg Kroah-Hartman , Mathieu Malaterre , linux-kernel@vger.kernel.org, Paul Mackerras , Philippe Ombredanne , Thomas Gleixner , linuxppc-dev@lists.ozlabs.org Subject: Re: =?utf-8?q?powerpc/mm=3A_remove_warning_about_=E2=80=98type?= =?utf-8?q?=E2=80=99_being_set?= Message-Id: <41ptd634t0z9sBD@ozlabs.org> Date: Mon, 13 Aug 2018 21:23:05 +1000 (AEST) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, 2018-06-22 at 19:27:47 UTC, Mathieu Malaterre wrote: > ‘type’ is only used when CONFIG_DEBUG_HIGHMEM is set. So add a possibly > unused tag to variable. Remove warning treated as error with W=1: > > arch/powerpc/mm/highmem.c:59:6: error: variable ‘type’ set but not used [-Werror=unused-but-set-variable] > > Signed-off-by: Mathieu Malaterre Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/fce278af81daf8599f9e94883cbe43 cheers