From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (bilbo.ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 401RH60KN0zDr2C for ; Wed, 14 Mar 2018 20:28:34 +1100 (AEDT) In-Reply-To: <20180307203257.23542-1-malat@debian.org> To: Mathieu Malaterre From: Michael Ellerman Cc: Mathieu Malaterre , open list , Paul Mackerras , "Aneesh Kumar K.V" , "open list:LINUX FOR POWERPC 32-BIT AND 64-BIT" Subject: Re: [v2,15/21] powerpc: Make function MMU_setup static Message-Id: <401RH41mZNz9sVv@ozlabs.org> Date: Wed, 14 Mar 2018 20:28:28 +1100 (AEDT) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2018-03-07 at 20:32:55 UTC, Mathieu Malaterre wrote: > Since function `MMU_setup` is not meant to be exported, change the > signature to `static`. Fix warning (treated as error with W=1): > > CC kernel/sys.o > arch/powerpc/mm/init_32.c:102:13: error: no previous prototype for ‘MMU_setup’ [-Werror=missing-prototypes] > void __init MMU_setup(void) > ^~~~~~~~~ > cc1: all warnings being treated as errors > > Signed-off-by: Mathieu Malaterre Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/d15a261d876da3267c8c706ef21e7f cheers