Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1467668imm; Wed, 17 Oct 2018 21:38:17 -0700 (PDT) X-Google-Smtp-Source: ACcGV63oihDLRUJfolgKuiClT4byNcxormJwMAwvA52MNvnN7MZ6Ukxhj5bMUbb2vzGEww/IN6bN X-Received: by 2002:a63:3842:: with SMTP id h2-v6mr26942134pgn.300.1539837497688; Wed, 17 Oct 2018 21:38:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539837497; cv=none; d=google.com; s=arc-20160816; b=KQbEfzDXmRkos1WJH+ikYV3UBSnh5SvAvdLVTieHS7Y1z7qLAj4RBydIrPQo5SNPEO pO2hXH4qD+nodmt0qpMXEtDTwM59Uu4Nby9cYAm2SFI2tX6olrIlXaj0U1hJ3wjmWhku VDT4aavkyrDl1OL7sMHioIWTfrIVeDsrZ6hfzh/lPPfswQVzg/VkvgR1s/nRx1Di/SVn tq97JYbfw+i/8lqCcjKFpOP76JrDFTU2MuHZkmAtpGRppBmLqw3wJF3WIaZZ6e3lkBa8 739wzgCNEl4VPVDveKI2LPRgHzsZKjwJ0a2gxg4GiyDWXIK5zgNBEQDLUDRw0TDkb+uo doiw== 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; bh=2XUEg36HvQ8HQRwoxHLcgMA5X7hcqI1YoA+U69JnhPk=; b=JYJOWMz4wQJ2qa4kS+VduWFvJ2pVct1lHVBpxQGxJStmkEo418ZVDOHZF3Ol0ELMY8 lbnbUSbmBw2XdKa5WovWoeY+6ad5wgeJLX7IHrPyKFaIxPwheBqpJ3ZjQ+Il7QX4boMf ag8FX0hWv8fYfNxlpK7CRmeNJ+qxXYmQ3H8i5H3RBMIMZ/Lr8rVnhz1967v5BINJNcNu HpB0WBNwMJmCLJxVxFYvUt3Kg19QR6XkcdlVZw7cWTcYCpCHGhr4Jer1FyiVEk4KNBhf F7t9o8NDjASD1gMlEEImDWM3KJ0nziGdT58ni26A5DHWBR72KC0q4g++Nt61yXwF1W8n ik8A== ARC-Authentication-Results: i=1; mx.google.com; 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 37-v6si20378303plv.113.2018.10.17.21.38.02; Wed, 17 Oct 2018 21:38:17 -0700 (PDT) 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; 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 S1727449AbeJRMgg (ORCPT + 99 others); Thu, 18 Oct 2018 08:36:36 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:60156 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727297AbeJRMgg (ORCPT ); Thu, 18 Oct 2018 08:36:36 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 42bGVg0t0Fz9ttBQ; Thu, 18 Oct 2018 06:37:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id d6mWIti8UK_J; Thu, 18 Oct 2018 06:37:31 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 42bGVg0GC9z9ttBP; Thu, 18 Oct 2018 06:37:31 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 961A58B75E; Thu, 18 Oct 2018 06:37:32 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id bhsoszzXT9TN; Thu, 18 Oct 2018 06:37:32 +0200 (CEST) Received: from PO15451 (unknown [192.168.232.3]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 180858B74C; Thu, 18 Oct 2018 06:37:31 +0200 (CEST) Subject: Re: [PATCH] powerpc: Add missing include To: Mathieu Malaterre , Michael Ellerman Cc: Paul Mackerras , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org References: <20181017192558.8039-1-malat@debian.org> From: Christophe LEROY Message-ID: <373dd30b-70d1-5e06-c55e-45f8f6763edf@c-s.fr> Date: Thu, 18 Oct 2018 06:37:31 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20181017192558.8039-1-malat@debian.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 17/10/2018 à 21:25, Mathieu Malaterre a écrit : > In commit 88b0fe175735 ("powerpc: Add show_user_instructions()") the > function show_user_instructions was added. > > This commit adds an include of header file to provide > the missing function prototype. Silence the following gcc warning > (treated as error with W=1): > > arch/powerpc/kernel/process.c:1302:6: error: no previous prototype for ‘show_user_instructions’ [-Werror=missing-prototypes] > > Signed-off-by: Mathieu Malaterre This is already fixed, see https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=c9386bfd37d37f29588de9ea9add455510049c33 Christophe > --- > arch/powerpc/kernel/process.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c > index bb6ac471a784..1c64491e9702 100644 > --- a/arch/powerpc/kernel/process.c > +++ b/arch/powerpc/kernel/process.c > @@ -65,6 +65,7 @@ > #include > #include > #include > +#include > > #include > #include >