From patchwork Thu Dec 7 15:49:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Levin, Alexander \(Sasha Levin\)" X-Patchwork-Id: 121035 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp8650670qgn; Thu, 7 Dec 2017 09:40:41 -0800 (PST) X-Google-Smtp-Source: AGs4zMbjRGZpH9FAycMoGKf7gKBVpWk/ka+xMhyN+VP7u6on/11/ZxcoM+tVDogpEBEGHSbID41B X-Received: by 10.101.73.74 with SMTP id q10mr25957137pgs.127.1512668441793; Thu, 07 Dec 2017 09:40:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512668441; cv=none; d=google.com; s=arc-20160816; b=Avi52pEUgHTxKl2zkGCH4/zrSXsLdLEsaHORrz4shSPpXGQF691YZ91JhbnEXO8GD/ 54jEvQ+kFT/s+UJjEcdwVf72c9SLo4RKds4pSNcG0dbL/4W4SYz194gAeVuyME+Qn3YN y1+1KfmOoPs3VVJFie2CZ7CqM22089/8FZrbY5QFS7ZXFFXFKlWbVjgQ45cKsnUzVmt2 edVHwZ1yg5qkerx7kLI3T1IAWSF8TlTl+45FHQt9pdEyE1tTWXE7ge5RBt0P7LiMHe8q I/Tb0b3+K76EbW3/A6F6l5cEl4wJTVb4luRp6RPbj/5fPKZr26fSMC8PCqC5sv2MDjoB PHuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:to:cc:from:dkim-signature :dkim-signature:dkim-signature:arc-authentication-results; bh=IDKb7eNIm5DNzpvKtZHINYqsNZQZwC8W+g2Hvl/nGTw=; b=XUQ7dLbM45DGU6kw53KABu/p5HtnRyw8q50Z+wh0oP5oNtMNXUV1+6KPxUbtQZkOuX LhNPDZmCH5DqOKLPo9O/HEy1Tv7KULakvV4QmrDS9TdePlrAKF/QD6frBzl4S3ci0TEB KqILKKtfc+AqLp1YjonYuw8RKQsYgk2fjg0+LZJEaCT8jqRyQtY7ndtKgGAohHu32gsl el5RVpNbIe+wFVhljnkMpz0Mj288IGJI/DXE8daXo9KxG1GPOKebNVCuD/x5xEhcmbnd 4qMWYyt366ZNhK2hQiIkdbSkh4k5hFrqiGPId9uj5HiAw+EljT0wB+/POVnaM/zsTo23 yqCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@verizon.com header.s=corp header.b=WnLMCTwo; dkim=fail header.i=@verizon.com header.s=corp header.b=JcFvX22Q; dkim=fail header.i=@verizon.com header.s=corp header.b=OwkjvfzI; 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; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=verizon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d13si4473221pfb.56.2017.12.07.09.40.41; Thu, 07 Dec 2017 09:40:41 -0800 (PST) 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=@verizon.com header.s=corp header.b=WnLMCTwo; dkim=fail header.i=@verizon.com header.s=corp header.b=JcFvX22Q; dkim=fail header.i=@verizon.com header.s=corp header.b=OwkjvfzI; 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; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=verizon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752966AbdLGRhz (ORCPT + 12 others); Thu, 7 Dec 2017 12:37:55 -0500 Received: from omzsmtpe01.verizonbusiness.com ([199.249.25.210]:52258 "EHLO omzsmtpe01.verizonbusiness.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932153AbdLGPtv (ORCPT ); Thu, 7 Dec 2017 10:49:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1512661791; x=1544197791; h=from:cc:to:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=IDKb7eNIm5DNzpvKtZHINYqsNZQZwC8W+g2Hvl/nGTw=; b=WnLMCTwoPONwloOwP8SzFcApcFWevjMWKNI6A5XI1NX2SKbNxA5sEu9A sC2fqK8qkBslvCth6vlZwk/4KVQI9sUlKptFaicK6nC+QVhrIpTR9Z0qr xssyXiDNFA6frx21KjsXMJ5Rrnp9T2BaDD879jGAKKReEqxAEX9WTk3B4 c=; Received: from unknown (HELO fldsmtpi01.verizon.com) ([166.68.71.143]) by omzsmtpe01.verizonbusiness.com with ESMTP; 07 Dec 2017 15:49:48 +0000 Received: from rogue-10-255-192-101.rogue.vzwcorp.com (HELO atlantis.verizonwireless.com) ([10.255.192.101]) by fldsmtpi01.verizon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 07 Dec 2017 15:49:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1512661788; x=1544197788; h=from:cc:to:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=IDKb7eNIm5DNzpvKtZHINYqsNZQZwC8W+g2Hvl/nGTw=; b=JcFvX22QQkDPhXXMu/pW2bRQljHwmu4R6MhuV3U4BLfLNwPUoCcf6pru Xzqg0PRGm314gzuyQ/WIuyW+NXbwzYUSEbTC3+HxjjtfyO4aOGYmAJ3km d9RSUSVAqEOYG2mLa+xAzZSLuHxXPcAShnfs6rtcaKA87Es8Ea0/+/Xsc A=; Received: from surveyor.tdc.vzwcorp.com (HELO eris.verizonwireless.com) ([10.254.88.83]) by atlantis.verizonwireless.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 07 Dec 2017 10:49:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1512661788; x=1544197788; h=to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version:from:cc; bh=IDKb7eNIm5DNzpvKtZHINYqsNZQZwC8W+g2Hvl/nGTw=; b=OwkjvfzIGeYo39sWOgnapRGWzigkXNpqbSG00j6hwgKuB7uJHgKCdN1M LeeBVr60UD9qsV/Gzt4KmO8dTAl0UCfeGNOp2cVI9yhiZMBZsWLbGHVgx 2tRc55OQHSb71Y8x28xukl5/ysPLxY8BnnrrmsP/FAoHt0rtGZ1xM2uI9 U=; From: alexander.levin@verizon.com Cc: Arnd Bergmann , Alex Deucher , alexander.levin@verizon.com X-Host: surveyor.tdc.vzwcorp.com Received: from ohtwi1exh002.uswin.ad.vzwcorp.com ([10.144.218.44]) by eris.verizonwireless.com with ESMTP/TLS/AES128-SHA256; 07 Dec 2017 15:49:48 +0000 Received: from tbwexch30apd.uswin.ad.vzwcorp.com (153.114.162.54) by OHTWI1EXH002.uswin.ad.vzwcorp.com (10.144.218.44) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 7 Dec 2017 10:49:48 -0500 Received: from OMZP1LUMXCA14.uswin.ad.vzwcorp.com (144.8.22.189) by tbwexch30apd.uswin.ad.vzwcorp.com (153.114.162.54) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Thu, 7 Dec 2017 10:49:47 -0500 Received: from OMZP1LUMXCA17.uswin.ad.vzwcorp.com (144.8.22.195) by OMZP1LUMXCA14.uswin.ad.vzwcorp.com (144.8.22.189) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Thu, 7 Dec 2017 09:49:46 -0600 Received: from OMZP1LUMXCA17.uswin.ad.vzwcorp.com ([144.8.22.195]) by OMZP1LUMXCA17.uswin.ad.vzwcorp.com ([144.8.22.195]) with mapi id 15.00.1263.000; Thu, 7 Dec 2017 09:49:46 -0600 To: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" Subject: [PATCH AUTOSEL for 4.9 037/156] drm: amd: remove broken include path Thread-Topic: [PATCH AUTOSEL for 4.9 037/156] drm: amd: remove broken include path Thread-Index: AQHTb3LoNrjDXgvNcky7me9REfawCQ== Date: Thu, 7 Dec 2017 15:49:03 +0000 Message-ID: <20171207154845.4814-37-alexander.levin@verizon.com> References: <20171207154845.4814-1-alexander.levin@verizon.com> In-Reply-To: <20171207154845.4814-1-alexander.levin@verizon.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.144.60.250] MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann [ Upstream commit 655d9ca9ac075da1ef2a45012ba48a39f6eb1f58 ] The AMD ACP driver adds "-I../acp -I../acp/include" to the gcc command line, which makes no sense, since these are evaluated relative to the build directory. When we build with "make W=1", they instead cause a warning: cc1: error: ../acp/: No such file or directory [-Werror=missing-include-dirs] cc1: error: ../acp/include: No such file or directory [-Werror=missing-include-dirs] cc1: all warnings being treated as errors ../scripts/Makefile.build:289: recipe for target 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.o' failed ../scripts/Makefile.build:289: recipe for target 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.o' failed ../scripts/Makefile.build:289: recipe for target 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.o' failed This removes the subdir-ccflags variable that evidently did not serve any purpose here. Signed-off-by: Arnd Bergmann Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/acp/Makefile | 2 -- 1 file changed, 2 deletions(-) -- 2.11.0 diff --git a/drivers/gpu/drm/amd/acp/Makefile b/drivers/gpu/drm/amd/acp/Makefile index 8363cb57915b..8a08e81ee90d 100644 --- a/drivers/gpu/drm/amd/acp/Makefile +++ b/drivers/gpu/drm/amd/acp/Makefile @@ -3,6 +3,4 @@ # of AMDSOC/AMDGPU drm driver. # It provides the HW control for ACP related functionalities. -subdir-ccflags-y += -I$(AMDACPPATH)/ -I$(AMDACPPATH)/include - AMD_ACP_FILES := $(AMDACPPATH)/acp_hw.o