From patchwork Fri Jan 25 14:22:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 156600 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp418224jaa; Fri, 25 Jan 2019 06:22:56 -0800 (PST) X-Google-Smtp-Source: ALg8bN6T0esEc6TGNPtpQwRQY5+OYr8kSEg4un6ciSBAFpcBa1SX0H4pVrii/UsH9MN0F4jAgYZ1 X-Received: by 2002:a17:902:bb98:: with SMTP id m24mr10872790pls.71.1548426176924; Fri, 25 Jan 2019 06:22:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548426176; cv=none; d=google.com; s=arc-20160816; b=c3NlxSz4bRkZCwAsIooSBzc1l/QHOM2Qkiimuwgg4SUCZK7OxTyvbFHWhhqDTDZ6OW ClbWiXupjOQCmad/ZLzdkg7njuzeviIrmN4zzrF4nGGtK/HNVx5ko6Ye6TJVIY5K7QEb KmyAcBVf89uVdkbyz9bUfuKxGf9JBe7KlSRznYwcQQ94KG2S30A8N+aDSXJN/DiaCSkP yt+WWD1x/BZdOlYpflJO5gbBa7tBxFwr9JCgow42+TkQkWTfbrk/N6AC+5IrWbZ3k6a8 pECHXCU5WvOJirhDSOsNGpTjhLNKwVBUxr8Am7R8YhzqK1ZuSEjHVj34K1pEL15F5CjH oUwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=kk7W5XRHLO5xeY3yHPaXwCXSqbmGUzArqbuHLfDAhVg=; b=HmnU6FvzqlzufCKi0+FRES32l8sZv4jwgEE/GFdIOSJDR86Z6B19Ta2p1iJJDGYjAD FPE4ITBVqvEcmlJfXHrsTfiPcuOBbik7xOlYdH+O1REbKyPZNdVi3O3aRrOXnJHEofTh UAie0Dcp+QMMv2GAh+fSyHGDyTBGjI+NG5s1qFJvP70/+IVSquZQm3FgpqUX6Xp6rWi5 gXl9KD4IvU03BsT4NzkiCNsfUZXAZLPGDKpQvknXY0524OPpr+eE2nN4OZoKOLku3qnu NMq07Aw8XjhmqYue/zRrCFhO1aRV/F4ZMRv1knBsfOgKIENTxP+J/8/Wgv90wRPCmyyo lRcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=TuXn+0hb; 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 b61si26273477plb.70.2019.01.25.06.22.56; Fri, 25 Jan 2019 06:22:56 -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=pass header.i=@nifty.com header.s=dec2015msa header.b=TuXn+0hb; 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 S1727065AbfAYOWz (ORCPT + 31 others); Fri, 25 Jan 2019 09:22:55 -0500 Received: from conuserg-10.nifty.com ([210.131.2.77]:54463 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726108AbfAYOWx (ORCPT ); Fri, 25 Jan 2019 09:22:53 -0500 Received: from grover.tkatk1.zaq.ne.jp (zaqdadce369.zaq.ne.jp [218.220.227.105]) (authenticated) by conuserg-10.nifty.com with ESMTP id x0PEMZ7j003778; Fri, 25 Jan 2019 23:22:36 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com x0PEMZ7j003778 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1548426156; bh=kk7W5XRHLO5xeY3yHPaXwCXSqbmGUzArqbuHLfDAhVg=; h=From:To:Cc:Subject:Date:From; b=TuXn+0hbMuHx4I0HboJw8sSJGOi2U8mBPwgBYSyGVe2VVNJ2WnJThsLZoPL30pgnX dp7OvD7E5zjyCRc0HGFs1GihB30gOWo0HSUHK7kmJV6hZw8oGHoDYh9m/egj3qfuDu p09/QPg7yK6fKUo3V6MnX1368Iap0mF27M2IA1d3XL3wZh/5l6SeKuEjAgDt2YLEjc 18MwnPFXtCgEvtwdnVdhJ//uR9FhPIkxLWRXjcvPimr/xq/Uk+9P+6ARuDrc3WxURg erw/X4CDiuNuSmUifdUzZHpayDfZn26I+bdOkCrU5oRg+seuZ25vwKYTqDD//Fhngb 4xC4K9MuyWPjw== X-Nifty-SrcIP: [218.220.227.105] From: Masahiro Yamada To: "David S . Miller" , netdev@vger.kernel.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH] net: lmc: remove -I. header search path Date: Fri, 25 Jan 2019 23:22:29 +0900 Message-Id: <1548426149-7961-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The header search path -I. in kernel Makefiles is very suspicious; it allows the compiler to search for headers in the top of $(srctree), where obviously no header file exists. I was able to build without this header search path. Signed-off-by: Masahiro Yamada --- drivers/net/wan/lmc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/drivers/net/wan/lmc/Makefile b/drivers/net/wan/lmc/Makefile index 609710d..247f60c 100644 --- a/drivers/net/wan/lmc/Makefile +++ b/drivers/net/wan/lmc/Makefile @@ -14,4 +14,4 @@ lmc-objs := lmc_debug.o lmc_media.o lmc_main.o lmc_proto.o # -DDEBUG \ # -DLMC_PACKET_LOG -ccflags-y := -I. $(DBGDEF) +ccflags-y := $(DBGDEF)