Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp181162ybn; Thu, 3 Oct 2019 03:33:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqyM5JZHK//KlTU9pUe9kcqCKdhfrIk6f8oQddbQMoXmRI8/PXrlfgoNOKdP3hYumOONfKCg X-Received: by 2002:a17:906:9381:: with SMTP id l1mr6991441ejx.93.1570098828813; Thu, 03 Oct 2019 03:33:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570098828; cv=none; d=google.com; s=arc-20160816; b=GFdY6rf5Zgifq1ZLj97yLmGTSAzLc12U7U+uOjh8UtdbfvpORon11g56+9wnbsW/fz MoillcCpi9/ZuHJkCg2R0qtL2BWt5XpbBRgVTku2jGGTy6eJU8vT18jdxi2uG6xi+JOU nhSy7eBUJYU3vTaTDgo0I5siw9kGj8FTXQQXlfct9yJvu+K/1kbN5vo9HZHViKQFDQ0H saUpHQCLcMCxU5GZ1GfmvJScg4Dl9rNQJR0JqK4wD2VMgJFYv/ZQX7EzR4hRqu7wimM9 gIKkrOgIG8Z79oQKUKQQa7a5di0acn0PTkGsv8c7IcC7jF8OqImI2braqRk5qERRkk9U QcnQ== 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=pMnHQORs2NGZ3n4d6znGdbIAOnjr2/F3UzN5iG+hjIQ=; b=t1cUNeJ8GDhDMh+7kWMDVgwcZAhaQGSKTSne1rQNPrlb6H6ul2YrzJqI4ElDqy0cmW xhzavFK1lfM1Z/2Q6CVwwxxKu8gmyeMiaHvZgR6NQbAbKJ3jjJw2HaRdV3zBlpcUOlap DC7GPVXer/1mDuZmpR/G1QYSIH2I9csGrewU7tI3x5d+C9XoFUHHGSHizQYBn71EvIx+ 3oaiOu2Jyq0428NB/1c/D+pmI+MFH8VLSybXLLCsnBvTj2h5YEr3mji9m4RAjGyWfOK9 aXnZGQ7DvQ/x68SRMFHOy8N+3kpaEAfSlvVs9SP+gyqb0RjZBcuczLtxSRF6lU5L3mni EVVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=if8kKidK; 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 q20si985624ejn.18.2019.10.03.03.33.24; Thu, 03 Oct 2019 03:33:48 -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=if8kKidK; 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 S1729123AbfJCKaM (ORCPT + 99 others); Thu, 3 Oct 2019 06:30:12 -0400 Received: from conuserg-10.nifty.com ([210.131.2.77]:49390 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725827AbfJCKaM (ORCPT ); Thu, 3 Oct 2019 06:30:12 -0400 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-10.nifty.com with ESMTP id x93ATIYu014338; Thu, 3 Oct 2019 19:29:19 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com x93ATIYu014338 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1570098559; bh=pMnHQORs2NGZ3n4d6znGdbIAOnjr2/F3UzN5iG+hjIQ=; h=From:To:Cc:Subject:Date:From; b=if8kKidKQ1gQ+bVFAZ1Cvyf9TwWp30f3uYtC1RTDZvuEIwwPX5/y6B/4iuLUpOb7+ 7IyZj1Y/2IjnSvPy/9e6IRK6tj8m2Ji30mJaFxB/mbSpNma5TvuE5yhELJdRxOp2G0 H2OtCblY2Sr+d6hGJJkXQAd4zPrlLOiHKnC9qoDpZv+kNYETy5scLlF8PHoSiW0XK6 /GZ7kjbOq/135juWsjnfDZo3byz850TlKdjPMdyd3JMcNz91um1a97y0vLk1HU5FGE W7/TN/u9i5+TekSKMhKEWOgUQyX58WoO2pGJiXS0YGCiTOTwK0ndBazZqdL1/w88eh bqLc6UYlLHYlQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Sam Ravnborg , Masahiro Yamada , Jonathan Corbet , Michal Marek , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/4] kbuild: two minor updates for Documentation/kbuild/modules.rst Date: Thu, 3 Oct 2019 19:29:12 +0900 Message-Id: <20191003102915.28301-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 Capitalize the first word in the sentence. Use obj-m instead of obj-y. obj-y still works, but we have no built-in objects in external module builds. So, obj-m is better IMHO. Signed-off-by: Masahiro Yamada --- Documentation/kbuild/modules.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/kbuild/modules.rst b/Documentation/kbuild/modules.rst index d2ae799237fd..dd1d2a0688e8 100644 --- a/Documentation/kbuild/modules.rst +++ b/Documentation/kbuild/modules.rst @@ -501,7 +501,7 @@ build. --- 6.3 Symbols From Another External Module Sometimes, an external module uses exported symbols from - another external module. kbuild needs to have full knowledge of + another external module. Kbuild needs to have full knowledge of all symbols to avoid spitting out warnings about undefined symbols. Three solutions exist for this situation. @@ -521,7 +521,7 @@ build. The top-level kbuild file would then look like:: #./Kbuild (or ./Makefile): - obj-y := foo/ bar/ + obj-m := foo/ bar/ And executing:: -- 2.17.1