From patchwork Tue Mar 12 20:18:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Malaterre X-Patchwork-Id: 1055729 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44JmYK4vSqz9s55 for ; Wed, 13 Mar 2019 07:20:05 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="RIXRUEdj"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 44JmYK3ckHzDqH4 for ; Wed, 13 Mar 2019 07:20:05 +1100 (AEDT) X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::342; helo=mail-wm1-x342.google.com; envelope-from=mathieu.malaterre@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="RIXRUEdj"; dkim-atps=neutral Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 44JmWl0dCPzDqCs for ; Wed, 13 Mar 2019 07:18:40 +1100 (AEDT) Received: by mail-wm1-x342.google.com with SMTP id a188so3961464wmf.3 for ; Tue, 12 Mar 2019 13:18:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NRhLG9kD6ihow+ahvLjtKp4GeQpYxn43CZtd+gLsH6U=; b=RIXRUEdjPhbE/WvsJoiw3+oGVuS2o/VuI6LtlNbxpWnbZhGtfosJxck2cTRXjAqcDn XA+HtzDTrvH11USp7MteV5JTfboJf8knzCdxIBXjCl7qQxYWh+xOXo+TedkyXQdYB293 g0cQgIKxhWREI9kpORg7L2jaaU8vkoZujQKtD7FdlmAoM5cWxeqiPGEsD+zLABUzmSjn jgbkzhoPiqxENW+pXrhPLZFKIW2vrVs6IbI4/dWGpmyWw+/7Uk2AbABXhUQf4nHhsu4i d47yTpb6o9yAOPc4DeJ3/R+aOwGvifijAeW5Cb4pjztVB47IZijTQgUHMtVTCZzU6Xy8 4D9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=NRhLG9kD6ihow+ahvLjtKp4GeQpYxn43CZtd+gLsH6U=; b=CUCKK14iBEGbFzCeLn35McZfOgHRChPVAQH2vrIUNlDyImX5wfJwvslZ0gqZUcPVal t+lANXbYTuegPc1K4VuyzliOfz0qQjVe/feLX9tTXKHbK9WSWNbbXuptuowF2bFizb0w 9LEcg0quwBBbND6hl2DajCUHccg9RxrReOENLnwND4fl8UQHUH+ptofxtVx7OLWT7Q89 iGA9Wqb9I2oM8AGeSp2vDSXjy8EhoX+f8kvEmmuoOz4br39HXpbvZRGeCYf9O9n5tUJv M3QR0taZBb5hyo3JPsWnLW/+AgGG+khZgI73ih4VkdzFLlSPQ7qivFGylf2TcEmuZCMm YHTw== X-Gm-Message-State: APjAAAXhyOx1MQFVwyQSEVvymjwbqolQyIJFiwpOJHDllnJ9gIZ9UJhU ciRT+uLcvb2+9dbDDMSAwdI= X-Google-Smtp-Source: APXvYqx96DiGXjumB1OWz2N30REZQpqUqbZ+wkVG4Rnxt+rF5+di4QS4fKygcOYXpZo+5D6uRuKRZA== X-Received: by 2002:a1c:2283:: with SMTP id i125mr3601107wmi.24.1552421913609; Tue, 12 Mar 2019 13:18:33 -0700 (PDT) Received: from macbookpro.malat.net (bru31-1-78-225-224-134.fbx.proxad.net. [78.225.224.134]) by smtp.gmail.com with ESMTPSA id u17sm31080380wrg.71.2019.03.12.13.18.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Mar 2019 13:18:32 -0700 (PDT) Received: by macbookpro.malat.net (Postfix, from userid 1000) id 0A3E4114655E; Tue, 12 Mar 2019 21:18:31 +0100 (CET) From: Mathieu Malaterre To: Michael Ellerman Subject: [PATCH] powerpc/64s: Include header file to fix a warning Date: Tue, 12 Mar 2019 21:18:23 +0100 Message-Id: <20190312201823.29371-1-malat@debian.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mathieu Malaterre , Paul Mackerras , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Make sure to include to provide the following prototype: hv_nmi_check_nonrecoverable. Remove the following warning treated as error (W=1): arch/powerpc/kernel/traps.c:393:6: error: no previous prototype for 'hv_nmi_check_nonrecoverable' [-Werror=missing-prototypes] Signed-off-by: Mathieu Malaterre Reviewed-by: Christophe Leroy --- arch/powerpc/kernel/traps.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c index a21200c6aaea..1fd45a8650e1 100644 --- a/arch/powerpc/kernel/traps.c +++ b/arch/powerpc/kernel/traps.c @@ -71,6 +71,7 @@ #include #include #include +#include #if defined(CONFIG_DEBUGGER) || defined(CONFIG_KEXEC_CORE) int (*__debugger)(struct pt_regs *regs) __read_mostly;