From patchwork Fri Jan 25 07:09:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 156552 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp23821jaa; Thu, 24 Jan 2019 23:09:43 -0800 (PST) X-Google-Smtp-Source: ALg8bN7I6jL9QBloVSVd+AsRzk7Tu5Aj+5sqiQELjdarvcaxoki990765EfiQfr/zwQuZWZ+2ECw X-Received: by 2002:a62:33c1:: with SMTP id z184mr9742295pfz.104.1548400183061; Thu, 24 Jan 2019 23:09:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548400183; cv=none; d=google.com; s=arc-20160816; b=KLncSMrHQJXRTQ/6yqX74HrhKNNBv1nN50S9ysWKToEQ8+H4rkN7F0aspHzGEr7znL 6M0dOIHYYCY42VAzqVQh3XNrlKkLjlGdAHAR3KvQq1erVrEzcRhrtj20A3VMC7o+kaAs ik45klRMQLuOvuT1zfhDv8DnqxZW1F7JQWoKQwyjNe7mear8AuMAFy3UQ/auHlcRX8jZ LKOLhH8IGTU7fg7Fu0fplRM2BsbIzOjLIutUus69hnZ7HVKTi6z0BX2blsJ2P8HSp2sc FHvikTkY6VTo0+iCd6zChTpVjne6HvmDwpiFUUtOzEOdpVtmCovuXy0RQJt210JTNDT0 e60g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=WRJv1jJ47KBMznet3o5QY0xF48L7ExBwayWhvperHXQ=; b=uMNBwvmLovIixnbJRXtRK1nADpKCLV8FjN/f8rno6DzVe9zjFMez1L5JuywVlpOplJ iWY3ehPTwZ2Xs/8ii1GiOfJ1wlSb0Q4DxF5YbeoPqZ5Z5mv04WmAUrdlhPY07DW/bKgj 2LCRBfq1JYB5FXl/QKzpyUf/Ho76+7uyukdoFIyGMwJ/uVrozD2qD3BwNm3vvnODdHUS JoVpeIjawZVL7fMPfYSeodyK05BbHsAQuHuzZXjlYp25txmir5G9qIe05wTipPOFITwj t5FCxAY8yvAcd36nZ157yPxYJqsxDkR0Rqc9u8AQCvRshMzCt0e9AIuFMAWcmP9PLljs f/UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=pCOpj7QU; 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 q13si23358826pgj.86.2019.01.24.23.09.42; Thu, 24 Jan 2019 23:09:43 -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=pCOpj7QU; 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 S1728315AbfAYHJl (ORCPT + 31 others); Fri, 25 Jan 2019 02:09:41 -0500 Received: from conuserg-12.nifty.com ([210.131.2.79]:49398 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726312AbfAYHJk (ORCPT ); Fri, 25 Jan 2019 02:09:40 -0500 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id x0P79685005418; Fri, 25 Jan 2019 16:09:08 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com x0P79685005418 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1548400149; bh=WRJv1jJ47KBMznet3o5QY0xF48L7ExBwayWhvperHXQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pCOpj7QU2RPJ6WtncXSvWLMZ7HSyPD4llCORnpgfS9JvOkOv0A5hgd02rgcODAeTu BjNGZpVgEwAM5Qbu1OB1mUCM5+W+z7999KORNAd/YOcUgRC+mlG9CfgvuaFZulPXcW XQa9NAHlR0ai2KWNxvVYTqztvOFCz6UuqudequCu3SY71QJD1KvGoDCeBfkLec4/MU MwRcf7f5a+tHKeG0mCJFGsMW1bSGsT655VqRAGcRp6Jcsvcy8qp7zMMyC0BmUjn+DI jLQzxjvOXXHpZt7ROOqVS3iPG/M2c1mAorKeS7gMWhAjYd2c5RPmJbaDvf40GDf6yh 26NBrMpI1UDMg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: "James E . J . Bottomley" , "Martin K . Petersen" , linux-scsi@vger.kernel.org Cc: Masahiro Yamada , Don Brace , esc.storagedev@microsemi.com, Hannes Reinecke , linux-kernel@vger.kernel.org, Adaptec OEM Raid Solutions Subject: [PATCH 1/2] scsi: remove unneeded header search paths Date: Fri, 25 Jan 2019 16:09:03 +0900 Message-Id: <1548400144-22513-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1548400144-22513-1-git-send-email-yamada.masahiro@socionext.com> References: <1548400144-22513-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I was able to build without these extra header search paths. Especially, the header search path -I. in kernel Makefiles is always suspicious; it allows the compiler to search for headers in the top of $(srctree), where obviously no header file exists. Signed-off-by: Masahiro Yamada --- drivers/scsi/aacraid/Makefile | 2 -- drivers/scsi/aic7xxx/Makefile | 1 - drivers/scsi/smartpqi/Makefile | 1 - 3 files changed, 4 deletions(-) -- 2.7.4 diff --git a/drivers/scsi/aacraid/Makefile b/drivers/scsi/aacraid/Makefile index 1bd9fd1..3893b95 100644 --- a/drivers/scsi/aacraid/Makefile +++ b/drivers/scsi/aacraid/Makefile @@ -4,5 +4,3 @@ obj-$(CONFIG_SCSI_AACRAID) := aacraid.o aacraid-objs := linit.o aachba.o commctrl.o comminit.o commsup.o \ dpcsup.o rx.o sa.o rkt.o nark.o src.o - -ccflags-y := -Idrivers/scsi diff --git a/drivers/scsi/aic7xxx/Makefile b/drivers/scsi/aic7xxx/Makefile index c15be25..e0188ec 100644 --- a/drivers/scsi/aic7xxx/Makefile +++ b/drivers/scsi/aic7xxx/Makefile @@ -34,7 +34,6 @@ aic79xx-y += aic79xx_osm.o \ aic79xx_proc.o \ aic79xx_osm_pci.o -ccflags-y += -Idrivers/scsi ifdef WARNINGS_BECOME_ERRORS ccflags-y += -Werror endif diff --git a/drivers/scsi/smartpqi/Makefile b/drivers/scsi/smartpqi/Makefile index e6b7799..a03a6ed 100644 --- a/drivers/scsi/smartpqi/Makefile +++ b/drivers/scsi/smartpqi/Makefile @@ -1,3 +1,2 @@ -ccflags-y += -I. obj-$(CONFIG_SCSI_SMARTPQI) += smartpqi.o smartpqi-objs := smartpqi_init.o smartpqi_sis.o smartpqi_sas_transport.o