From patchwork Thu Oct 3 10:29:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 175072 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp109060ill; Thu, 3 Oct 2019 03:30:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqwi88J/GYMcYl5nF1vAxv0noIkrtvIZVoOTleHYfeZm9ARHJfrbUTKdbWSnKIOxF3ubeP/s X-Received: by 2002:a17:906:19d9:: with SMTP id h25mr7036722ejd.43.1570098615830; Thu, 03 Oct 2019 03:30:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570098615; cv=none; d=google.com; s=arc-20160816; b=Im7dcG7kn3w2kbzZjZwPloKx5JVpxdygYo4+P2nCnNd5znkWd478jaE+lP2h/BCg5M p1Fitq8OWysxCOYNx08TBfO8fF/rRs89zBpi0a5dXZUOhDBh85e70hD+Kat7OEx8iRzK ZUpw1kVnEwMVmyDaaW1GkXyIkJIVYTKGwkVC0ZtG9y+GgHFWsLQEJApeu1aS0z1jKccO 8TERoH/MzvVA04UIleWHRZ7MhvW/Ko1VSpFBAnvP0yETz8urCFCuurZUCR/zQAHaTFEg HcPne+dPGXJdTJu58qFmz6iD2PuOaHwRmplQSvhb6j7LbvkmvlXsHKp1t3w5oKgMY/NH +fNQ== 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 d27si1200240ede.381.2019.10.03.03.30.15; Thu, 03 Oct 2019 03:30:15 -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 S1729316AbfJCKaM (ORCPT + 27 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(-) -- 2.17.1 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::