From patchwork Fri Jan 25 06:07:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 156536 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp141277jaa; Thu, 24 Jan 2019 22:08:37 -0800 (PST) X-Google-Smtp-Source: ALg8bN7Bcg2VCVsepeMhrx+KxFUyvhsASd2ts/XdjcbUezbV4Apg2UcuE35BIeSN/3YfPvppIz8j X-Received: by 2002:a17:902:33c1:: with SMTP id b59mr9555376plc.220.1548396517917; Thu, 24 Jan 2019 22:08:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548396517; cv=none; d=google.com; s=arc-20160816; b=Q2oeihjtZJmDJtZV0G5+LsnJzGntjVdqDN+FCp2KvirN1t90s2rqk71YaPoqbvWnKG 8wL+SR0Rw0EYYb9VCP2xqc+2XdzPkCJeEMShaxBG9Jvahrn9JypheyxGu6Htk7Bbk0TU fErebucm4ULatqZSrNlpCriTvWmtGDUVXfxBEDhePGyx8QHGFaKOu8G22SkCwALvWdjS wFnAuacKK8fO+BityI9GKueJr4at5Gn6tq6UUuMgpvjCsrWJxpI1zgR/uZ22VB7CrZ43 Y7OAte0NTEU528QVvIEV60ysXYVJwbUpVcv6hIlJjZNZWiQMJF4IZ4vxTCECiVGI6UyJ +ysQ== 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=gv+6Ws9f6VGzifMs3BOTay8m5/soowYJG26BjthdvwU=; b=rdZSb9Ae9QmnPww3I0rjTe3YuwCZBZoGYvDVyXftzBtFTIbmD4R94Nf6v8Pc6dYVud t7yJAPcP84hSqoAHW/Hh+R8OHV7Z/kehqz7fx0LkF7C6xVvH3HXq0dEulYbRWoaL/MKO Uy1lS3Qo9BD4T5OJq/uXGimgUW1xpRLGcRJHgIadzuC3IO/72wpC/KPTV0OhpkJq2B8a D2uGHP7yF6Ho6gbCyOUksSuiXBaOMex5dFGMnKc5+Nz/kz6B61DrHFdaOfA1Ihrb9Npd WTdgaj9X5DBRF/PLSa5F/WrTpqwYcfUHAGkrblqFSUWh5kw32bEatXf/T4apcDVENUbX Hlcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=kdzOFXN5; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 b1si24072301plc.332.2019.01.24.22.08.37; Thu, 24 Jan 2019 22:08:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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=kdzOFXN5; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726289AbfAYGIh (ORCPT + 3 others); Fri, 25 Jan 2019 01:08:37 -0500 Received: from conuserg-12.nifty.com ([210.131.2.79]:31719 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726100AbfAYGIg (ORCPT ); Fri, 25 Jan 2019 01:08:36 -0500 X-Greylist: delayed 8276 seconds by postgrey-1.27 at vger.kernel.org; Fri, 25 Jan 2019 01:08:35 EST 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 x0P67sVU012319; Fri, 25 Jan 2019 15:07:54 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com x0P67sVU012319 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1548396474; bh=gv+6Ws9f6VGzifMs3BOTay8m5/soowYJG26BjthdvwU=; h=From:To:Cc:Subject:Date:From; b=kdzOFXN5I2JQ8HD/qMU6QzH0przQefrFUd97ofzZm0nGpzufXiBv4Hf2ZcYOm86r0 n6gLc3AqkAkf+vvn0GZREEBg7W3Kp2Pg7PB9VezogbwxnQ27h+Xa1L1dgpkqwNTr7G DSzabC1Q9jxNS2BB3E3RhcFZ92bAlIEG+M1TAhK2WwGkZz65o/oIEtE55BST3KkCIe xayw5sbilUDRH/9vU1hV2t3Ol7MGQ3RqJxWaOLumRr4AtB85LiaUolcls8QXWWeXYL sidRquS7e8DbqD9DQzT2TKIDix3mzIt0LedJ8sgHoS/EkjIJioBxmy7yshttDpQCSb HMSCqi4S3TFiQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Herbert Xu , linux-crypto@vger.kernel.org Cc: Masahiro Yamada , "David S. Miller" , linux-kernel@vger.kernel.org Subject: [PATCH] crypto: bcm: remove -I. header search path and unused macro define Date: Fri, 25 Jan 2019 15:07:48 +0900 Message-Id: <1548396469-13395-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@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. 'git grep BCMDRIVER' has no hit. So, this macro is not referenced. I was able to build this driver without the extra compiler options. Signed-off-by: Masahiro Yamada --- drivers/crypto/bcm/Makefile | 2 -- 1 file changed, 2 deletions(-) -- 2.7.4 diff --git a/drivers/crypto/bcm/Makefile b/drivers/crypto/bcm/Makefile index 13cb80e..7469e19 100644 --- a/drivers/crypto/bcm/Makefile +++ b/drivers/crypto/bcm/Makefile @@ -11,5 +11,3 @@ obj-$(CONFIG_CRYPTO_DEV_BCM_SPU) := bcm_crypto_spu.o bcm_crypto_spu-objs := util.o spu.o spu2.o cipher.o - -ccflags-y += -I. -DBCMDRIVER