Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp4816193ybe; Mon, 16 Sep 2019 20:06:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqw+VGuacj9uD1ki05bTgxQi7QCC9NXPTZuV+hlm/Mkqa3XAzRexlQ40cju5jplJUMURY32X X-Received: by 2002:a50:b582:: with SMTP id a2mr2481117ede.98.1568689569881; Mon, 16 Sep 2019 20:06:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568689569; cv=none; d=google.com; s=arc-20160816; b=tl0970oH2MqNQ0EMKxLdfzyKrG9bjOVewEmxvkUP7SQ/HcEXpCo5n/8Coagw14oM0F Tb8a5xGF2/l+4yIvznYbgqTDIOiXJw1BWunTLeHsPbEhx8aFaRP9EPXxZYxODLzm1oh8 86TDCScheuYGmFXtYtVBoD37Nl0cfbrDYkISjaQXkwFnyIwquFGYUef0cT+b+8XsQHrn kRzn1lyoaA8bt3PR5BeUs8sV4YOHrVGmbh1SBpyU7GU43Vx8qPk0YXhMdFAlbiSew7gP wIECOBbrJPi1PkEu4wyeMYBoeeHzMsQ+5yDMDETg/3SjK/Y5IqmodgDJJnIq8z5eH9PY HAfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=snSC5CbpUuN1Cw3Ri9XlO0GR3QpMdN6LNC6tbl3IFpw=; b=T2fVjShudFCdZjzhhNE1XnFvOP8Xmyh0gEX3S6H8OdOpuY+nPdOaLpsproVKNaUrtM GMM7Gve8YoPZyi8doTkXVFRCSiSL8uv1Gs5lQNlHp2pBQiwdy4niu4XJqaMyRvsyVbj2 iEac52gQ8oC5tnYkK9YTIe+0F3qA4y8QerGMR/UpPHzvsdlTw/PxEQWW+OninkT3W2JA Y4jsqUT/EmFNtVz9LsF3zHhidGENt4sFphAVafqDc+ia15TQqdXy2wqz6FcSwCnPhmPo eYPFRRhsFWfS5J0C2NpkMWvHD6LbHaFE+u3fELjXnX/yn+UTtT1EIAMTHYG4R8rB3sgj /uyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=zlmpEt5s; 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 g15si598801edm.349.2019.09.16.20.05.46; Mon, 16 Sep 2019 20:06: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=pass header.i=@nifty.com header.s=dec2015msa header.b=zlmpEt5s; 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 S1732250AbfIPRrb (ORCPT + 99 others); Mon, 16 Sep 2019 13:47:31 -0400 Received: from conssluserg-02.nifty.com ([210.131.2.81]:59719 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726957AbfIPRrb (ORCPT ); Mon, 16 Sep 2019 13:47:31 -0400 Received: from mail-vs1-f50.google.com (mail-vs1-f50.google.com [209.85.217.50]) (authenticated) by conssluserg-02.nifty.com with ESMTP id x8GHlOSP000933 for ; Tue, 17 Sep 2019 02:47:25 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com x8GHlOSP000933 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1568656045; bh=snSC5CbpUuN1Cw3Ri9XlO0GR3QpMdN6LNC6tbl3IFpw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=zlmpEt5sTfPYRKVA5/2rQkTcbsZtkXiTvMkIlsayE1VrEhTaMhEeG8laftJvYEfR1 3VNxQDEE8Z3FDKVGGqExRg8nMudu2nQAeutKtyU8QA1ZTI5AFebtE1Lft2BW1i5tY6 oWv40Jg2ztT15sZUv4yN+7Kz+ZxM4tpx3CWIGrSf7Ktva3EYlHeHutFdzHpHjloCXm IoHT2/G/0Ly9eCrt5f4fIQhVNQnXCBHafQTK17cFb/fvJEvQHBWjWgNxszmBtKt15a 8WBtHiRHPjrxaLN+7BbZ3nrwTc3nsY5/W96QzrFjR+5ujrTpG5F8U4bVcISnD5dorL syb0XIObdX5hw== X-Nifty-SrcIP: [209.85.217.50] Received: by mail-vs1-f50.google.com with SMTP id w195so201076vsw.11 for ; Mon, 16 Sep 2019 10:47:25 -0700 (PDT) X-Gm-Message-State: APjAAAVUJ+Ti7xbDFQDNEJQRH8Q/G0A/8psTgYME3XleiyXX+NpWPNFL cXjegbok5c5oDMmMcY7TsDYJq90T7wCxnUt5BnI= X-Received: by 2002:a67:1e87:: with SMTP id e129mr578937vse.179.1568656044082; Mon, 16 Sep 2019 10:47:24 -0700 (PDT) MIME-Version: 1.0 References: <20190916044651.GA72121@LGEARND20B15> In-Reply-To: <20190916044651.GA72121@LGEARND20B15> From: Masahiro Yamada Date: Tue, 17 Sep 2019 02:46:48 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] drm/amd/display: Fix compile error due to 'endif' missing To: Austin Kim , Stephen Rothwell , Mark Brown Cc: David Airlie , Daniel Vetter , Roman.Li@amd.com, amd-gfx@lists.freedesktop.org, dri-devel , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org (+CC Stephen Rothwell, Mark Brown) On Mon, Sep 16, 2019 at 1:46 PM Austin Kim wrote: > > gcc throws compile error with below message: GNU Make throws ... This is probably a merge mistake in linux-next. If so, this should be directly fixed in the linux-next. If it is not fixed in time, please inform Linus to *not* follow the linux-next. Thanks. > > HDRINST usr/include/drm/i915_drm.h > drivers/gpu/drm/amd/amdgpu/../display/dc/dml/Makefile:70: *** missing 'endif'. Stop. > scripts/Makefile.modbuiltin:55: recipe for target 'drivers/gpu/drm/amd/amdgpu' failed > make[3]: *** [drivers/gpu/drm/amd/amdgpu] Error 2 > make[3]: *** Waiting for unfinished jobs.... > HDRINST usr/include/drm/omap_drm.h > HDRINST usr/include/drm/tegra_drm.h > HDRINST usr/include/drm/drm_sarea.h > HDRINST usr/include/drm/panfrost_drm.h > HDRINST usr/include/drm/drm.h > scripts/Makefile.modbuiltin:55: recipe for target 'drivers/gpu/drm' failed > make[2]: *** [drivers/gpu/drm] Error 2 > scripts/Makefile.modbuiltin:55: recipe for target 'drivers/gpu' failed > make[1]: *** [drivers/gpu] Error 2 > make[1]: *** Waiting for unfinished jobs.... > > Add 'endif' to Makefile to stop compile error. > > Signed-off-by: Austin Kim > --- > drivers/gpu/drm/amd/display/dc/dml/Makefile | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/amd/display/dc/dml/Makefile b/drivers/gpu/drm/amd/display/dc/dml/Makefile > index a2eb59e..5b2a65b 100644 > --- a/drivers/gpu/drm/amd/display/dc/dml/Makefile > +++ b/drivers/gpu/drm/amd/display/dc/dml/Makefile > @@ -44,6 +44,7 @@ CFLAGS_$(AMDDALPATH)/dc/dml/dcn20/display_mode_vba_20.o := $(dml_ccflags) > CFLAGS_$(AMDDALPATH)/dc/dml/dcn20/display_rq_dlg_calc_20.o := $(dml_ccflags) > CFLAGS_$(AMDDALPATH)/dc/dml/dcn20/display_mode_vba_20v2.o := $(dml_ccflags) > CFLAGS_$(AMDDALPATH)/dc/dml/dcn20/display_rq_dlg_calc_20v2.o := $(dml_ccflags) > +endif > ifdef CONFIG_DRM_AMD_DC_DCN2_1 > CFLAGS_$(AMDDALPATH)/dc/dml/dcn21/display_mode_vba_21.o := $(dml_ccflags) > CFLAGS_$(AMDDALPATH)/dc/dml/dcn21/display_rq_dlg_calc_21.o := $(dml_ccflags) > -- > 2.6.2 > -- Best Regards Masahiro Yamada