From patchwork Tue Oct 29 12:38:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 178027 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp4816118ill; Tue, 29 Oct 2019 05:39:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqwJyOmRWQCjvEnPpyeodaYDykqWotsPKqyyKQFf5lHcDyPXKRp3BFwSdPghRf9KDVG3ZV+T X-Received: by 2002:aa7:c358:: with SMTP id j24mr26042611edr.147.1572352765380; Tue, 29 Oct 2019 05:39:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572352765; cv=none; d=google.com; s=arc-20160816; b=J6gaIOolhu1wxTtHRTsxBB4mBzg2j/j71gzyNTu1aJszpBFAt2NYAKl3jKsQQIlt/b 6goPYnpTsJZ2aqs4SjV4ZGRzM+69Xn+IYgIL9c4m9xCwOzN15KBZecBCyhdsxXMvD0kj PkAGMzyP3j9MSzLJoU9w/q02EhbbnYrPkojVYjYPRlbzjTFksMdcyIpvXHu6WW88Vt5r l7trDRfMx2zs7v8/UaCk9WVNiIX73ItAzBkagUcfkQMIkxiirmTzHv23GrNeVzts/NUn K8ghQKkHi0I9XxvOEjMczEhtWwXYty1e1dykJmz3Z2AYUGMDhi2xFS/Y8ARvcEm9VJra XRPw== 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=p+l5kEOxCnI9qNu/vD0lE+dtxx0BPeHEj15iP8RI9iE=; b=x7rVGmv42A2AUrVpldoWYPdQ0QIYTtO9rTuGjRjQJ0hwP6hZB6JaT23ShwF099192x sZds8UYeTEzkU73HmIw9vlD3sCZGVH6WD4BYRTU9LjJ22m06/UNP9qqiAAB+mERPBiCe b6d4jkvMj4OWoub+umH90jldAE96tWnAIOqkz42LfRIukYfQ0Mi/gI1IPIjp+uYlB5sy z7xmptWFH4tiXBvahGzwisOkMGYnBwO1lga4Py04r0SKeCN+v3Vytx2N1ObvuZUSQhDX Xh/45yqiuXmsnawmEcuzDj/hU6yi5gwwNGT0xlatesxNrH/1Fjz2e1X+TUvr2mWyDlGI sN/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=NkQ6ITl9; 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 j16si753750ejb.364.2019.10.29.05.39.25; Tue, 29 Oct 2019 05:39:25 -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=@nifty.com header.s=dec2015msa header.b=NkQ6ITl9; 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 S2387783AbfJ2MjX (ORCPT + 26 others); Tue, 29 Oct 2019 08:39:23 -0400 Received: from conuserg-12.nifty.com ([210.131.2.79]:34505 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729134AbfJ2MjH (ORCPT ); Tue, 29 Oct 2019 08:39:07 -0400 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id x9TCcFU5026616; Tue, 29 Oct 2019 21:38:16 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com x9TCcFU5026616 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1572352697; bh=p+l5kEOxCnI9qNu/vD0lE+dtxx0BPeHEj15iP8RI9iE=; h=From:To:Cc:Subject:Date:From; b=NkQ6ITl9jZ4NCLEwMQ9/m9XlWPFv2ZegXrmI9cXQdHZqHTuFuqk+76coJHHVrTOMO O04/4HUDzov4djfYWzs9ilLUklw3N0d+ER7r1mY+Q49axQa2kA3ohaXDiz4DnwPcG4 JMqdsREFsW3uGeXKdePPReCWJyJbIlIDxpIfGYKwMo6baf09zFJIaDd/bLCqpnw2Hy wN+xwxixs9TB8BAHbmccZxL58gmqLlwqjEAZoVJ1F4uyS2aB2MW6u7PDmUEcMX9OP0 1P1MYP+Ep1FgYf49PGNSzpZ/6SjkFKJupwbwOBykurHduB4V057onr+E4dSLYWcz3k r1o52RGB2tnew== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Jessica Yu , Matthias Kaehlcke , Masahiro Yamada , Jonathan Corbet , Matthias Maennich , Michal Marek , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/4] More nsdeps improvements Date: Tue, 29 Oct 2019 21:38:05 +0900 Message-Id: <20191029123809.29301-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series improves nsdeps more by addressing the root problem. Based on linux-next. This series does NOT apply to the Linus tree because I updates modpost from my Kbuild tree. I can pick up this series to kbuild tree if there is no objection. If it goes to the module tree, we need to discuss how to deal with the conflicts. The modpost is actively touched these days from both kbuild and module trees. Masahiro Yamada (4): modpost: do not invoke extra modpost for nsdeps modpost: dump missing namespaces into a single modules.nsdeps file scripts/nsdeps: support nsdeps for external module builds mospost: remove unneeded local variable in contains_namespace() .gitignore | 2 +- Documentation/core-api/symbol-namespaces.rst | 3 ++ Documentation/dontdiff | 1 + Makefile | 10 ++-- scripts/Makefile.modpost | 8 ++- scripts/mod/modpost.c | 55 ++++++++------------ scripts/mod/modpost.h | 4 +- scripts/nsdeps | 29 ++++++----- 8 files changed, 53 insertions(+), 59 deletions(-) -- 2.17.1