Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4205625pxu; Mon, 12 Oct 2020 12:13:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyP4hOx8NLVplmFx5XmUnRCg3HMJ6xoIqacS7uwGS2Co1HlVQNsqgZaWYGTZp2oq4iSGxk6 X-Received: by 2002:a17:906:b01a:: with SMTP id v26mr31370350ejy.166.1602529999063; Mon, 12 Oct 2020 12:13:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602529999; cv=none; d=google.com; s=arc-20160816; b=a9SOZlZ9fAojEOyZhihxw8KO1jdm3CEbNQNQ4SI6V6l8yDN4PeEoSpKnhvLEPfpPBD qDR8XtoyJY+5JeVBNReEnGiRQ/aZjXcpSuIsqYKyRfIKJ4PL/cxM1oI3uojBz5puDoBX veFEgsK7reHYEBGYtVT61HmqjNbwodCw4asjxEcrK6oPYtXAN3uuLFn+VQOzrPR/6P/+ OZW+O7U5Mw9RRYCuItybW9CHu838LKI7KtazwEsi+5pXLiQI2mpRj06PIkXtY8K+LMYm 8TIpwiBW7DKrJQxBSKQAABYftnsX3B6gd/LJ3ksdNuqwZJdxE668FizJvwhl1oLBbgsO tEBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ontZ0I/Mbw5uplndgS4vnNWfhrIGCB7+0vZLusLwWH0=; b=he88M8AVa+WCFeZ0IiN5wNRxvW+F9jvmeLkkQieOn3j8wgHsbjByewU5O60DF11rvo tuSbU/fHjHV4p8Nkl1TGfuROp6CCYxAvcAdhlu37gRfLQByZo+QpTI3biqe/mYYuhRpE JJiJHAmi/HF23/QfCwlW6PujlUl6NmLD/z8LR9de1nwLCBvAIPKapN0rUdYXCz0nGffd h3IyOvAOIDTZZjg5YruozZFKssrBQDmAjZSKA2BBQo9INbszUmjbOY2n3T/ybo6CW+NM 6skkphtaqV4qi8NM0z26ow/roClaa0ONbxs/JFvLF55+R4QCnmtgCHhBoaQ0axHfCld/ 8IPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=kqRniX61; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q22si13430939edg.439.2020.10.12.12.12.56; Mon, 12 Oct 2020 12:13:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=kqRniX61; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389974AbgJLTJb (ORCPT + 99 others); Mon, 12 Oct 2020 15:09:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:52236 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731037AbgJLTCy (ORCPT ); Mon, 12 Oct 2020 15:02:54 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AC43920BED; Mon, 12 Oct 2020 19:02:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602529374; bh=S0KZYLLGViKT+39FRrXiwxyyEjpKYZusv+4UoPxSpf4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kqRniX6148EcNpuyQt0PQDenn3z8ZxgpNGMv7HNJ0WxEfmlEfdYp0RmbXHfohXPV7 c7lDTJsLczncS5GSnRA26OEYf3hYZNcIPEpNCfRKSVeR9viY2pT3gmYytZ9EEAe1Ox Rc0OcA2iogKJh55X8gQMoF7HSInxw+GGdDN0zZC0= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Igor Russkikh , "David S . Miller" , Sasha Levin , netdev@vger.kernel.org Subject: [PATCH AUTOSEL 5.8 11/24] net: atlantic: fix build when object tree is separate Date: Mon, 12 Oct 2020 15:02:26 -0400 Message-Id: <20201012190239.3279198-11-sashal@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201012190239.3279198-1-sashal@kernel.org> References: <20201012190239.3279198-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Igor Russkikh [ Upstream commit 059432495e209279bae12db3d2b0bc8c8fe987bb ] Driver subfolder files refer parent folder includes in an absolute manner. Makefile contains a -I for this, but apparently that does not work if object tree is separated. Adding srctree to fix that. Signed-off-by: Igor Russkikh Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/aquantia/atlantic/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/aquantia/atlantic/Makefile b/drivers/net/ethernet/aquantia/atlantic/Makefile index 130a105d03f3b..8ebcc68e807fc 100644 --- a/drivers/net/ethernet/aquantia/atlantic/Makefile +++ b/drivers/net/ethernet/aquantia/atlantic/Makefile @@ -8,7 +8,7 @@ obj-$(CONFIG_AQTION) += atlantic.o -ccflags-y += -I$(src) +ccflags-y += -I$(srctree)/$(src) atlantic-objs := aq_main.o \ aq_nic.o \ @@ -33,4 +33,4 @@ atlantic-objs := aq_main.o \ atlantic-$(CONFIG_MACSEC) += aq_macsec.o -atlantic-$(CONFIG_PTP_1588_CLOCK) += aq_ptp.o \ No newline at end of file +atlantic-$(CONFIG_PTP_1588_CLOCK) += aq_ptp.o -- 2.25.1