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: 8894421 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 40777BF29F for ; Wed, 20 Apr 2016 19:27:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 22DCB20260 for ; Wed, 20 Apr 2016 19:27:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2CCC92025A for ; Wed, 20 Apr 2016 19:27:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751124AbcDTT07 (ORCPT ); Wed, 20 Apr 2016 15:26:59 -0400 Received: from mail-qg0-f41.google.com ([209.85.192.41]:35006 "EHLO mail-qg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750902AbcDTT06 (ORCPT ); Wed, 20 Apr 2016 15:26:58 -0400 Received: by mail-qg0-f41.google.com with SMTP id f74so31435702qge.2 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=D/3K6m60kdzeDEUVZI/mtq5+xu0yVt7a0a8DThCi3DEIHJXDJ6/neg1H5lV8qVHB7H 3Bg6Fwh1aj9RWKoZ/Dgf7qDLcBI2Y7pZEK9Vvh19Os+JAI1uuLQ8+YwUzM1ECmc+LlhB 9Bs3yiy0Xb8NUzjFFhE23XAxeEkOPWuB97y6DPt1jDuxbf5ozRJg3sJ6B3+9gt1sTukU 8GdWRUOtsJEV3nI4UMF2v8xdV9YRUIdNKppyYG+kQ38m8Rx+X+zSPPdlCwCt2zrmmvQk 2L+3hYoZ+CRyFqBv9tE9lMXehmXEDbNiHXSQnCXxjaws7Dap00/1jmnDWxWTtGAW6pov aUaA== X-Gm-Message-State: AOPr4FV4m/ZTZzmv7M/sim8EV6zI3bfAjRnWu8X/44Pop6dKavZhpfJQvnbeHKuJYYm3VzCj 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-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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'