From patchwork Wed Apr 20 19:26:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Pitre X-Patchwork-Id: 66254 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp2635559qge; Wed, 20 Apr 2016 12:27:02 -0700 (PDT) X-Received: by 10.66.136.10 with SMTP id pw10mr14643167pab.113.1461180422513; Wed, 20 Apr 2016 12:27:02 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 2si2772603pai.214.2016.04.20.12.27.02; Wed, 20 Apr 2016 12:27:02 -0700 (PDT) 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=@linaro.org; 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=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751525AbcDTT1A (ORCPT + 29 others); Wed, 20 Apr 2016 15:27:00 -0400 Received: from mail-qg0-f42.google.com ([209.85.192.42]:33609 "EHLO mail-qg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750941AbcDTT06 (ORCPT ); Wed, 20 Apr 2016 15:26:58 -0400 Received: by mail-qg0-f42.google.com with SMTP id v14so35452248qge.0 for ; Wed, 20 Apr 2016 12:26:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=wKoGYkuOxXzfE1Je9tzk3N5Hw5F9yCp9BeuCgi5mSOM=; b=JW8kzK+9RJziQS6l+2Unc7Yfz2ZVopcyuYsggq0QiAGwfWZ2Ccw1tINyG2Pes74+64 aMRrD5qDFd4/XnsoK03I0QuqtqMqdqKtuVT/XI5y1GRL7eH235tZSbOxtLo/CSvzE7nO s4RUc1NJbDjvJCy9hBA2ongOcxTPL4hjUpbmI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=wKoGYkuOxXzfE1Je9tzk3N5Hw5F9yCp9BeuCgi5mSOM=; b=dDeuADI9yYv7yO2m4qiiXrOCIjVqkTibLMsHGNQ/5V4um8eD0w1MFV+VH9ca1RT4Hd AFMHdmRX/wex+qKIo5wzAYqtDduAQ55rYPaAsu4+gSV2c76S7w6cZB+ek9XJ8QH2vIxY HOjcLzXf1rSKQDXHgcTAl7LU46tEvmlolRydLPjaoY7jz7RvAMQ/Y43PS0RM4YeV94hI L9zj9y6nUM7fMnrVS8IACUECisrv1+jjNS+h/9SrKYDX5ocQ5CfSlHQXLr6M7wNtrjAv pIQeb483T5gkJY0QdbHrlbcwXiDWzs3uiwTr3MITrLuqqnQZ5rmmwJOg1fi3BGRuSSMB W+wg== X-Gm-Message-State: AOPr4FXrcr7mUBK2cplkie1Gr4FhKD5JZYzK8X1rJeyvhXkG3LkPpqUTn1C8dA+aJY8HZOcU X-Received: by 10.140.32.116 with SMTP id g107mr13387016qgg.94.1461180417386; Wed, 20 Apr 2016 12:26:57 -0700 (PDT) Received: from xanadu.home ([2607:fa48:6e39:d410:feaa:14ff:fea7:ed77]) by smtp.gmail.com with ESMTPSA id 77sm7155138qgi.33.2016.04.20.12.26.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Apr 2016 12:26:56 -0700 (PDT) Date: Wed, 20 Apr 2016 15:26:55 -0400 (EDT) From: Nicolas Pitre To: Michal Marek cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v7 0/8]/[PULL REQUEST] Trim unused exported kernel symbols In-Reply-To: Message-ID: References: <57172CB2.1040801@suse.com> User-Agent: Alpine 2.20 (LFD 67 2015-01-07) MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 20 Apr 2016, Nicolas Pitre wrote: > On Wed, 20 Apr 2016, Michal Marek wrote: > > > Dne 19.4.2016 v 05:32 Nicolas Pitre napsal(a): > > > Ping ! > > > > > > /me only hears back empty cave echoes ... > > > > Pulled now, sorry for the delay. > > Thanks! Looking at your kbuild branch, I see subsequent changes that require minor adjustments. Please merge the following patch: ----- >8 >From a14d6e7a2902af78ee43ab075c7caf829fdfa4b2 Mon Sep 17 00:00:00 2001 From: Nicolas Pitre Date: Wed, 20 Apr 2016 15:16:01 -0400 Subject: [PATCH] kbuild: adjust ksym_dep_filter for some cmd renames The following renames occurred recently: cmd_cc_i_c --> cmd_cpp_i_c cmd_as_s_S --> cmd_cpp_s_S The respective cc_*_c and as_*_S patterns no longer match the above therefore additional patterns are needed. Signed-off-by: Nicolas Pitre Nicolas diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index a09927e027..bd6bd048cf 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include @@ -275,8 +275,10 @@ else flags_nodeps = $(filter-out -Wp$(comma)-M%, $($(1))) ksym_dep_filter = \ case "$(1)" in \ - cc_*_c) $(CPP) $(call flags_nodeps,c_flags) -D__KSYM_DEPS__ $< ;; \ - as_*_S) $(CPP) $(call flags_nodeps,a_flags) -D__KSYM_DEPS__ $< ;; \ + cc_*_c) $(CPP) $(call flags_nodeps,c_flags) -D__KSYM_DEPS__ $< ;; \ + as_*_S) $(CPP) $(call flags_nodeps,a_flags) -D__KSYM_DEPS__ $< ;; \ + cpp_i_c) $(CPP) $(call flags_nodeps,c_flags) -D__KSYM_DEPS__ $< ;; \ + cpp_s_S) $(CPP) $(call flags_nodeps,a_flags) -D__KSYM_DEPS__ $< ;; \ boot*|build*|*cpp_lds_S|dtc|host*|vdso*) : ;; \ *) echo "Don't know how to preprocess $(1)" >&2; false ;; \ esac | sed -rn 's/^.*=== __KSYM_(.*) ===.*$$/KSYM_\1/p'