public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Kevin P. Fleming" <kpfleming@cox.net>
To: zippel@linux-m68k.org, linux-kernel@vger.kernel.org
Subject: [PATCH] Documentation error for kconfig
Date: Fri, 10 Jan 2003 22:21:12 -0700	[thread overview]
Message-ID: <3E1FA9C8.3010509@cox.net> (raw)

Unless I'm not thinking clearly, the attached patch for 
Documentation/kbuild/kconfig-language.txt is in order. The min/max 
equivalences for the || and && operators are backwards...

(Apologies if Mozilla munges the patch... it's small enough to be easily 
recreatable anyway).

diff -X dontdiff -rN -U 15 
linux-2.5/Documentation/kbuild/kconfig-language.txt 
linux-2.5-new/Documentation/kbuild/kconfig-language.txt
--- linux-2.5/Documentation/kbuild/kconfig-language.txt	Wed Jan  1 
20:21:41 2003
+++ linux-2.5-new/Documentation/kbuild/kconfig-language.txt	Fri Jan 10 
22:08:23 2003
@@ -111,32 +111,32 @@
             '!' <expr>                           (5)
             <expr> '||' <expr>                   (6)
             <expr> '&&' <expr>                   (7)

  Expressions are listed in decreasing order of precedence.

  (1) Convert the symbol into an expression. Boolean and tristate symbols
      are simply converted into the respective expression values. All
      other symbol types result in 'n'.
  (2) If the values of both symbols are equal, it returns 'y',
      otherwise 'n'.
  (3) If the values of both symbols are equal, it returns 'n',
      otherwise 'y'.
  (4) Returns the value of the expression. Used to override precedence.
  (5) Returns the result of (2-/expr/).
-(6) Returns the result of min(/expr/, /expr/).
-(7) Returns the result of max(/expr/, /expr/).
+(6) Returns the result of max(/expr/, /expr/).
+(7) Returns the result of min(/expr/, /expr/).

  An expression can have a value of 'n', 'm' or 'y' (or 0, 1, 2
  respectively for calculations). A menu entry becomes visible when it's
  expression evaluates to 'm' or 'y'.

  There are two type of symbols: constant and nonconstant symbols.
  Nonconstant symbols are the most common ones and are defined with the
  'config' statement. Nonconstant symbols consist entirely of alphanumeric
  characters or underscores.
  Constant symbols are only part of expressions. Constant symbols are
  always surrounded by single or double quotes. Within the quote any
  other character is allowed and the quotes can be escaped using '\'.

  Menu structure
  --------------


                 reply	other threads:[~2003-01-11  5:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E1FA9C8.3010509@cox.net \
    --to=kpfleming@cox.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zippel@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox