Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8632576ybl; Thu, 16 Jan 2020 21:23:59 -0800 (PST) X-Google-Smtp-Source: APXvYqxKmtv1MFe+OLyTzsuJxOxWx25iI7Lj1cnVHXwOI23r5mD1j+OI3ZBHmeLU3XnJ6tM3lgoB X-Received: by 2002:a05:6808:10d:: with SMTP id b13mr2195052oie.69.1579238639297; Thu, 16 Jan 2020 21:23:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579238639; cv=none; d=google.com; s=arc-20160816; b=g2ULn4+6bpxLXpaLQDWqBL203xWDfFygQ4Zw1moTsWnOWt5ThLq7kQqIqgneXcCowA Ga8kgW9BjYkGTQP9belHZ4mJrN6nCf/mBNMsv+dAtJ0slVqqY/QyqrdX5gEZMZzStkHV rl5m8bDROgs+mGcxZqDhjWbnxcMJ592w2L7M1l6GZedc6laoJVoFNZ9aKRve3mDOZpXz WSlEYr71jynPiELXDktTwZmf5Cqsppbj5nB8FAten6yQ9PstbYtYbvOTc+QTFz83rgWq KIW1Lol/ykQIQiP/I2cjRoqZGsLrRx779d49DrA6vmYWMc/I0P5xICYoZIXhVYDAnK5E IlVw== 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 :reply-to:in-reply-to:references:mime-version:dkim-signature; bh=RQQ9qmJfALB3jvs3h7v5mfdPDr+Bl2r17SesMRcqOsE=; b=pAbfXV9sT1Ux821tLBuvk8NKhssXlg1SwnLl9rWsedgWBGLs4VL/au/KaomIyHOriR Wxw24gdQCKeBt7hLG5duoXNPOpyI4pjQTcIYf/GHyS4OJ2MddKyKqRPvUXZS+8jcZKJ2 dWz1RTMnTzIEs2wa33c41uxS0Grk3DpZNdmtfYBUz52x2Ys+BfoXlm+y3jJkPaciFPsS DUTt5ohisTGH12FeUGHCvoY9AmSuei3hf5MYbFEYbqMyxSFwXMQp9LGJlu2RKHpg4jUb gVf3T2IVlNBAqrdhvKWk0WOH8hibLDGUa6IGvLVmkbL/rnNoPMLyO61FjAdZgJr2IN5U QT5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KWRYeoGP; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p24si2392079otq.194.2020.01.16.21.23.47; Thu, 16 Jan 2020 21:23:59 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=KWRYeoGP; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729240AbgAQEHg (ORCPT + 99 others); Thu, 16 Jan 2020 23:07:36 -0500 Received: from mail-io1-f66.google.com ([209.85.166.66]:33083 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727023AbgAQEHg (ORCPT ); Thu, 16 Jan 2020 23:07:36 -0500 Received: by mail-io1-f66.google.com with SMTP id z8so24516369ioh.0; Thu, 16 Jan 2020 20:07:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=RQQ9qmJfALB3jvs3h7v5mfdPDr+Bl2r17SesMRcqOsE=; b=KWRYeoGPAAAN/w8oxb7L/g32DsecNbKN0roRQUG2kHc60k8ZC66yPQbKI8L4/Ma72M TytNd9yV4gxD5xT9wzGifg+IL68Ni1AuM5UjCUtCJAHTE5hoedYcZMwnBb5mpl62opfZ YpzjHt+VPe6wctZrdmw/1oLcOkiZgrv8ekIwymO8Yjs+dLlN+2QRjeU6L2WoMd04JuH5 0fzh11K1PqQZ+906r86GJbfXJM114Z0ixML2cBvsm/lH62gZDxQWIVzlULsgT5qYJdaP hNSTu/Hudpd3wcqADf4cVE1CrbTD7Q3WhrU4qHP1US/pLcHrc+bVjU2zjnq4x56nBS96 dIxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=RQQ9qmJfALB3jvs3h7v5mfdPDr+Bl2r17SesMRcqOsE=; b=XMiyGWdmgmAl1D59suF57yJTOQizYYYisqikx+1Uvvx8QwrhS71kX0nJsW4pvqcbVE Yc768dcqvV843Fsiaz9Dhrf3w2kw7VxVkFy40yFNB9Dz6NImoqO5dhzYke5TiHMZTm8C 1QLB3TDOHYo8lGWMNN6jydpSaPPEa9Kuwm2elTGHw2l6VPfLEdIaYdOuZLvntuGcYLsu S3QRHrwzkEwvSQTILd+hu4zfpfv5X5c99I20FUp1mE9ZKwB1YPN9ECD7FXrkLGueHS4Z vo8qatmigPsmlpRuSrGbgKuqbbcoBwGTn46lXj8c0laNXM3EJ+zBb49LmXGAcmtPv5UM lQgQ== X-Gm-Message-State: APjAAAWf/Rc7pbiUR90nlt5Pxs6O61NX2AxM8oL9iq7Rtau41mCLZk2K U4yFVPphIeopIR/SoO1f2CQWqUMn1TG8/pzc8mE= X-Received: by 2002:a6b:ec0f:: with SMTP id c15mr27966363ioh.149.1579234055350; Thu, 16 Jan 2020 20:07:35 -0800 (PST) MIME-Version: 1.0 References: <20200113232212.138327-1-helgaas@kernel.org> In-Reply-To: Reply-To: bjorn@helgaas.com From: Bjorn Helgaas Date: Thu, 16 Jan 2020 22:07:24 -0600 Message-ID: Subject: Re: [PATCH] kconfig: fix documentation typos To: Masahiro Yamada Cc: Bjorn Helgaas , Michal Marek , Jonathan Corbet , Linux Kbuild mailing list , "open list:DOCUMENTATION" , Linux Kernel Mailing List , Bjorn Helgaas , Randy Dunlap 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 Thu, Jan 16, 2020 at 8:18 PM Masahiro Yamada wrote: > > On Tue, Jan 14, 2020 at 8:22 AM Bjorn Helgaas wrote: > > > > From: Bjorn Helgaas > > > > Fix a couple typos in kconfig-language documentation. > > > > Signed-off-by: Bjorn Helgaas > > --- > > Documentation/kbuild/kconfig-language.rst | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/Documentation/kbuild/kconfig-language.rst b/Documentation/kbuild/kconfig-language.rst > > index 74bef19f69f0..f547720bd82d 100644 > > --- a/Documentation/kbuild/kconfig-language.rst > > +++ b/Documentation/kbuild/kconfig-language.rst > > @@ -594,7 +594,7 @@ The two different resolutions for b) can be tested in the sample Kconfig file > > Documentation/kbuild/Kconfig.recursion-issue-02. > > > > Below is a list of examples of prior fixes for these types of recursive issues; > > -all errors appear to involve one or more select's and one or more "depends on". > > +all errors appear to involve one or more "selects" and one or more "depends on". > > > I think "selects" is strange here. > > "select" is a Kconfig keyword. > select's is intentional, I guess. > > > Keep it as-is, or perhaps change it into "select" (singular) ? With rare exceptions, apostrophes are not used to form a plural noun. Maybe it could be recast as "... at least one 'select' attribute and at least one 'depends on' attribute"? I'm not quite sure what the intended meaning is, because the table it refers to has lines that contain only "depends on" (without "select") and also lines that contain only "select" (no "depends on"). > > ============ =================================== > > commit fix > > @@ -656,7 +656,7 @@ the use of the xconfig configurator [1]_. Work should be done to confirm if > > the deduced semantics matches our intended Kconfig design goals. > > > > Having well defined semantics can be useful for tools for practical > > -evaluation of depenencies, for instance one such use known case was work to > > +evaluation of dependencies, for instance one such case was work to > > express in boolean abstraction of the inferred semantics of Kconfig to > > translate Kconfig logic into boolean formulas and run a SAT solver on this to > > find dead code / features (always inactive), 114 dead features were found in > > @@ -683,7 +683,7 @@ abstraction the inferred semantics of Kconfig to translate Kconfig logic into > > boolean formulas and run a SAT solver on it [5]_. Another known related project > > is CADOS [6]_ (former VAMOS [7]_) and the tools, mainly undertaker [8]_, which > > has been introduced first with [9]_. The basic concept of undertaker is to > > -exract variability models from Kconfig, and put them together with a > > +extract variability models from Kconfig and put them together with a > > propositional formula extracted from CPP #ifdefs and build-rules into a SAT > > solver in order to find dead code, dead files, and dead symbols. If using a SAT > > solver is desirable on Kconfig one approach would be to evaluate repurposing > > -- > > 2.25.0.rc1.283.g88dfdc4193-goog > > > > > -- > Best Regards > Masahiro Yamada