Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4175124ybg; Tue, 29 Oct 2019 03:19:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqzry7FJ745md5SHEURiA9ijnXmTuwKheCgwP5BQi2JfRHsKJLFPCnZ8pNDIrAxYBEpja4xd X-Received: by 2002:a17:906:2458:: with SMTP id a24mr2333388ejb.139.1572344369709; Tue, 29 Oct 2019 03:19:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572344369; cv=none; d=google.com; s=arc-20160816; b=jD7kKwh1jEeLV5LrhM1AdeqNOnqekMDdgQ+Ji7J4is/vysV7zpsxBdCN8jDLV74Flz bIZ0nlFJCH26DjRNDq9OogJLc4swcOjpSIMfgKGkEuqPRd5zYsubNDDpk9kj0VagWafu DsRMBFFWp9AcUIwqNzhLSDB5Si0t8NNZhzMapuDQ04M6QVrPv6WfDhg/BvxDq9JN0lRo lPF/e0ga3K0zu2Exlh/MM13jCxjUQyussjlKWH3wd97si40CiqzKBSPEV6hRKMHndEXv iWTZkx5W/EK9Yq+DV4aF5oagY0GhsyYYWqCqfpBIoxo6dFVFtEXmKK2k6IEwGZWqNLNp I/TQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=EAEi1K2U344N90FciSKHHARW6VFalhrkblUys0k8F4s=; b=HIzZn/J2yy+51SHU6mYkK+4DjAqyHqnG1TtFiXdWnWYS2pruld3P1btg5ZPJwWRUoe tGzI/BFYhUfvuAOil/WeV7WCEI9e/qJZ3AmiHbV3tqpWrjUAhpHlc6p1uQegWYVNm7VV okixty3ruQAkt3a4Kl1W9UtRNzpZH6lKWunbcpiV936UOHd//ZOWJOtmO3btwR1W6UCW ShLpeN9VUriKvYB0rpwjTs66z4OlYqKvCBToRD3AoRIiJDECtdlxr+3wDszFFD8y2x3p ZEpfA5tHSav2rKibQpjGF6bqMYYbCTdP73WuKOWpEOZyhmLPYMB1ESA0VeflhR+C7T5s ngbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=lfdriDdT; 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 p14si9633545edc.227.2019.10.29.03.19.06; Tue, 29 Oct 2019 03:19:29 -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=lfdriDdT; 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 S1730596AbfJ2JDX (ORCPT + 99 others); Tue, 29 Oct 2019 05:03:23 -0400 Received: from conssluserg-03.nifty.com ([210.131.2.82]:34070 "EHLO conssluserg-03.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730528AbfJ2JDW (ORCPT ); Tue, 29 Oct 2019 05:03:22 -0400 Received: from mail-vs1-f50.google.com (mail-vs1-f50.google.com [209.85.217.50]) (authenticated) by conssluserg-03.nifty.com with ESMTP id x9T93GNt030462 for ; Tue, 29 Oct 2019 18:03:16 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com x9T93GNt030462 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1572339797; bh=EAEi1K2U344N90FciSKHHARW6VFalhrkblUys0k8F4s=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=lfdriDdTUiZJM5D69Z4ZfXrw8v2evzbYiJkBZZJcxN3igEL8QYDKV7aWO/3wH08GL vPb8ygyEzzZgM27ViIZwgXxrHSq+cSH2imNUAgwof1KfYcwwZmNxVGZ83ulU0RaeWr 71frB5KH8qc5rH1kQqFSACD3L4YcskmcX2PzrcoNBRnt9lfscTtt1fPKTykkm9WZIW FEBgiVhfd9T/hgUFqHX5/prWNXe0U4D3gzKgiHr5fLsdW4I0orkB3GZRQrCNSBzxD3 MCvd5SBqRhvImHfaJCT9MNPJXQAF+tmZ9vvjrDEKaFgTBMbwh4/AHrKEUYmpVtSq8C I226tWH91HXHw== X-Nifty-SrcIP: [209.85.217.50] Received: by mail-vs1-f50.google.com with SMTP id k15so8264702vsp.2 for ; Tue, 29 Oct 2019 02:03:16 -0700 (PDT) X-Gm-Message-State: APjAAAWbigrM+cRbNjJcY6O7KgJ/Gw0OeZJ0cNWaU3Q4JxLv+87awXj8 kzMPSr//XQ93tC/hR0xEbLxsR+LP2O8l6B0DeUo= X-Received: by 2002:a05:6102:726:: with SMTP id u6mr982037vsg.179.1572339795525; Tue, 29 Oct 2019 02:03:15 -0700 (PDT) MIME-Version: 1.0 References: <20191028153334.GA25863@linux-8ccs> In-Reply-To: <20191028153334.GA25863@linux-8ccs> From: Masahiro Yamada Date: Tue, 29 Oct 2019 18:02:39 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: `make nsdeps` prints "Building modules, stage 2" twice To: Jessica Yu Cc: Matthias Maennich , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 29, 2019 at 12:33 AM Jessica Yu wrote: > > Hi! > > When running `make nsdeps`, I've noticed that "Building modules, stage > 2" gets printed twice. Not a big deal, but a bit strange to see, > especially since the second print is actually from the nsdeps target > calling modpost again. > > $ make nsdeps O=/dev/shm/linux > make[1]: Entering directory '/dev/shm/linux' > GEN Makefile > DESCEND objtool > CALL /tmp/ppyu/linux/scripts/atomic/check-atomics.sh > CALL /tmp/ppyu/linux/scripts/checksyscalls.sh > CHK include/generated/compile.h > Building modules, stage 2. > MODPOST 3316 modules > Building modules, stage 2. > MODPOST 3316 modules > Adding namespace USB_STORAGE to module uas (if needed). > Adding namespace USB_STORAGE to module ums-alauda (if needed). > Adding namespace USB_STORAGE to module ums-cypress (if needed). > Adding namespace USB_STORAGE to module ums-datafab (if needed). > ....etc... > > It's due to calling the __modpost target twice, once for modules and > once for nsdeps. I guess we could have the nsdeps target just call > cmd_modpost, but then we still have the MODPOST XXXX modules line > printing twice. Is there a nicer way to fix this? Again, it's not > harmful, but probably confusing for people to see. > > Thanks, > > Jessica I can fix this correctly. Will send a patch soon. -- Best Regards Masahiro Yamada