From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 162D3C43331 for ; Thu, 2 Apr 2020 13:59:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DC134206F5 for ; Thu, 2 Apr 2020 13:59:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388199AbgDBN7x (ORCPT ); Thu, 2 Apr 2020 09:59:53 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:40164 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727412AbgDBN7w (ORCPT ); Thu, 2 Apr 2020 09:59:52 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 9923666935139C50D3D6; Thu, 2 Apr 2020 21:59:43 +0800 (CST) Received: from localhost (10.173.223.234) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.487.0; Thu, 2 Apr 2020 21:59:37 +0800 From: YueHaibing To: , , , , , , , , , CC: , Subject: [PATCH] powerpc/mm: ptdump: Add missing include Date: Thu, 2 Apr 2020 21:58:28 +0800 Message-ID: <20200402135828.37308-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.173.223.234] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org gcc build fails: arch/powerpc/mm/ptdump/hashpagetable.c: In function ‘pseries_find’: arch/powerpc/mm/ptdump/hashpagetable.c:262:18: error: ‘H_SUCCESS’ undeclared (first use in this function); did you mean ‘FL_ACCESS’? if (lpar_rc != H_SUCCESS) ^~~~~~~~~ FL_ACCESS Reported-by: Hulk Robot Fixes: 65e701b2d2a8 ("powerpc/ptdump: drop non vital #ifdefs") Signed-off-by: YueHaibing --- arch/powerpc/mm/ptdump/hashpagetable.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/mm/ptdump/hashpagetable.c b/arch/powerpc/mm/ptdump/hashpagetable.c index b6ed9578382f..8ea5f9a3b658 100644 --- a/arch/powerpc/mm/ptdump/hashpagetable.c +++ b/arch/powerpc/mm/ptdump/hashpagetable.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include -- 2.17.1