Received: by 10.213.65.68 with SMTP id h4csp868510imn; Wed, 14 Mar 2018 02:33:30 -0700 (PDT) X-Google-Smtp-Source: AG47ELuIVLT4GlVVbPlu+9lCJ8ABKqHgWqEvidXJnxbTySFVm/5j3WjNAf7z85kHR8uqZnyPaw/H X-Received: by 10.99.39.131 with SMTP id n125mr3123954pgn.292.1521020010195; Wed, 14 Mar 2018 02:33:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521020010; cv=none; d=google.com; s=arc-20160816; b=r1oFu56UnkphBrCd3CIh9plL/AeiWy11PnjgRqpD5M+4H9fItoYNpag+hceUwaM024 re1Jbs2pBZ+Qe8GCXz5xnstKaIjynK1PNYjlhF+5YUgDPSq+0WqvLKhIfJvuowKrKVB7 dxO1/zgQ+IgpbFP/1PE/5yUg/S1ZvCtjVSbylNlYnSiPqiux76ogIoLc3T9gqShG8u9g Cd6J7pFl/DzY79TMS9+oi6AXs5wK42V+o0bkKR+PG8SGFsPAgZQQ5olMCJtcYEzJmTlL c5RBY314VLn3NprUV56ILxoYrH1H8/9+R3WlRI8rA7vHDlwNOr4w7NtDh0YBNGX91cfr eIhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:cc:from:to :in-reply-to:arc-authentication-results; bh=dykyYKbpcRX4zz4iBOtiroqRBvH8YvkK5+6J58Rdlmg=; b=xQa9Cki+xWIozbbpBXDofntSDPBOlOvh6HA8Sl/r8M3xeAiQRAivhutRcSvQ4l7MFw JjMvVemTckeDD7iVmOx6KHcuJpJUSBLdBG5PcEU4sYJVonaN2mBVbbEcH4bJxv6CtEx/ ZObZOLxMIDJbg1Dmrw+R74UZrl+jqiXAK9a9wpCqtwdj3TYZBYw9qsYzYqMua1SP5416 YMd+WpeAFUIwGmaDhAeNuMG5IboqPlhZRMYOe9tyTxJzxA1pDZzlU47ye3hHHk7wGXTO ARyLLStCwoiB18/bOig5qyAYz/aVk5PUyMqJOBs+W4iYaPnFmsPSm66SEBEXNAa3UCLN uf8w== 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 x70si1594960pgd.724.2018.03.14.02.33.16; Wed, 14 Mar 2018 02:33:30 -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 S1752495AbeCNJbb (ORCPT + 99 others); Wed, 14 Mar 2018 05:31:31 -0400 Received: from ozlabs.org ([103.22.144.67]:38611 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752183AbeCNJ2R (ORCPT ); Wed, 14 Mar 2018 05:28:17 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 401RGl6DS7z9sTw; Wed, 14 Mar 2018 20:28:06 +1100 (AEDT) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 0d60619e1c0ca20eb26103610349923451827688 In-Reply-To: <20180225172236.29650-18-malat@debian.org> To: Mathieu Malaterre From: Michael Ellerman Cc: Mathieu Malaterre , linux-kernel@vger.kernel.org, Paul Mackerras , Jiri Slaby , linuxppc-dev@lists.ozlabs.org Subject: Re: [17/21] powerpc: Add missing prototype for sys_debug_setcontext Message-Id: <401RGl6DS7z9sTw@ozlabs.org> Date: Wed, 14 Mar 2018 20:28:06 +1100 (AEDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2018-02-25 at 17:22:32 UTC, Mathieu Malaterre wrote: > In commit 81e7009ea46c ("powerpc: merge ppc signal.c and ppc64 signal32.c") > the function sys_debug_setcontext was added without a prototype. > > Fix compilation warning (treated as error in W=1): > > CC arch/powerpc/kernel/signal_32.o > arch/powerpc/kernel/signal_32.c:1227:5: error: no previous prototype for ‘sys_debug_setcontext’ [-Werror=missing-prototypes] > int sys_debug_setcontext(struct ucontext __user *ctx, > ^~~~~~~~~~~~~~~~~~~~ > cc1: all warnings being treated as errors > > Signed-off-by: Mathieu Malaterre Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/0d60619e1c0ca20eb2610361034992 cheers