Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1050490imm; Wed, 17 Oct 2018 12:28:10 -0700 (PDT) X-Google-Smtp-Source: ACcGV60bxCcyDEqzc6QDOqBw5+7iPvmitaUf0eIkzaIVrF2CMH4/C1CxetpGr3brenm9sovOQWjk X-Received: by 2002:a63:2ad4:: with SMTP id q203-v6mr25051739pgq.356.1539804489967; Wed, 17 Oct 2018 12:28:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539804489; cv=none; d=google.com; s=arc-20160816; b=F8FpXFEwG51Kl1YlLriRFW8ug4OyHOjB4G+SrxgNChHP6zqkV4Arvd7fBCnOjGtiha WkINObl0utdjewFKDp35s1dz31kePOrXgeG7CssRhD33SpXCZyNi0oGGlqsHAY9IuKB9 csPGtIpE0UFlKqYiASxcgsWAkR23mjQA5VsbPlTHJapEFUlt98EpecE9hKXoc6sOYikX F5+Y2cEroSm4SAEpIpF5HrGCMEhKrEGRhnDinETCeDlKC/OdIIoc8GozRDl5OLczeIQH CqMtD5SMhFcwy+vM35I853I5pvO2IW69wGLFZBvLbYcUPwunjCRs/Wp50XrBnrfOPFta nv5A== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=jqjlq7mZDerPRopuOpz2ST/dUsC5C43Ae0k8tEaHxas=; b=f4xZjOJ9PDZfojL+RIgJkQaXT7eVAdcafQShN/z4mYjdivU4Lc4c7qt0gtSqnvQW6h ZdL3JLqSSiDhWT9Hm6zFJdtLwqGs/zeEaty5huzYW9aka90MzzQp7jTz1K0bTmjEw3uu XKzBDvoQwPCzegJtyVW/D5wjp1U/HbknDnHJARSyV5UdxuZOOVtA6Bn35iJccXqgGWME nNUYJZ9xFvdbKNVE43bM1hJjy1yecPAquIkRKHXHjkpGj/kQKAo0h3H7uPGlynPTcDW7 MSLSgfOuIiDtUNU87dMp3D6YqyXGdT/k/7jHlbOUrFuG0Ft6R4a2+y1c9zaMG54yweNd gXsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=WVpKLd9o; 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 t206-v6si3509805pgb.505.2018.10.17.12.27.53; Wed, 17 Oct 2018 12:28:09 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=WVpKLd9o; 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 S1728423AbeJRDXQ (ORCPT + 99 others); Wed, 17 Oct 2018 23:23:16 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:43945 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727128AbeJRDXO (ORCPT ); Wed, 17 Oct 2018 23:23:14 -0400 Received: by mail-wr1-f68.google.com with SMTP id n1-v6so30969121wrt.10 for ; Wed, 17 Oct 2018 12:26:05 -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=jqjlq7mZDerPRopuOpz2ST/dUsC5C43Ae0k8tEaHxas=; b=WVpKLd9opJWWrBExvYR/Ah4pvuPR29lQ3A4oaXnUdHlGtAKS2qTWHy6O7MCIhvSU1z fLdbqYa+BTpJvI5qYHUAXFinmqoBNwz5jERurXWsyqIMbFQebLU7XRvVCwywksVU1N8U NTftiJf6utYTcHqE6I9ae8lrVGMwIoNT5NDBUk9XXkjGaEMzOmpo3RbeMYuQukVbCLsY NcbwWI3iRTqDSCqpqyey/4PT3Nm1HWlzMqP9XXNVZm0k3BNngQS/pTtyjm+Srcl9Ai85 GbZRCsU0R1IaDTozkRBwksfBMpSNu6BjvdgG9k7xlErerAzgafu9LwVUGELesDHYE045 JOtw== 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=jqjlq7mZDerPRopuOpz2ST/dUsC5C43Ae0k8tEaHxas=; b=bbp7b9Ic+M6iWuClJshD9RTWOYstWYIQi4jq455YHhLs3aq3LkVyWMl9Utvo6+rk0Y Qmt9oBY0dqTYnr1sU9XeLtN+zJswTmI/WYxn/5GyFTdz0cOOpUCMIKIg4cuXbpslz6qG deCLy0rZtUeDSqFDxSDM9Svunz/tMpacct5/8ZfpsreUiE8CSHLZLu2pyazgoG61zYY3 XvcH9AdnGPkDNZGeAAneOxkENyQrH74tPc09ATelLHgQRJEIrFnqWJHln0AcmwgT/40d lXcSVne6G4UiYmWXzcy/660knmNpNq4vz+Gv50JnqSpQxZdVM6uEekoUTljNMOVlVkgF EHew== X-Gm-Message-State: ABuFfoimKGZp5x2HOW9S4wL/22lVOgkQIkMYcu5YoQryezFkO+YilAxP vw88kEpGfDQ7Jp5bI7OeFFQ= X-Received: by 2002:a5d:620b:: with SMTP id y11-v6mr24939393wru.105.1539804364985; Wed, 17 Oct 2018 12:26:04 -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 t66-v6sm1678872wmt.5.2018.10.17.12.26.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Oct 2018 12:26:04 -0700 (PDT) Received: by macbookpro.malat.net (Postfix, from userid 1000) id A140111439C3; Wed, 17 Oct 2018 21:26:02 +0200 (CEST) From: Mathieu Malaterre To: Michael Ellerman Cc: Mathieu Malaterre , Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH] powerpc: Add missing include Date: Wed, 17 Oct 2018 21:25:58 +0200 Message-Id: <20181017192558.8039-1-malat@debian.org> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 -- 2.11.0