mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jonathan Corbet <corbet@lwn.net>
To: Manuel Ebner <manuelebnerli@mailbox.org>,
	Thomas Gleixner <tglx@kernel.org>, Ingo Molnar <mingo@redhat.com>,
	Borislav Petkov <bp@alien8.de>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	x86@kernel.org, "H. Peter Anvin" <hpa@zytor.com>,
	Shuah Khan <skhan@linuxfoundation.org>,
	Randy Dunlap <rdunlap@infradead.org>
Cc: Manuel Ebner <manuelebnerli@mailbox.org>,
	linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org
Subject: Re: [PATCH] Documentation: exception-tables.rst: fix bracket
Date: Thu, 12 Nov 2026 07:54:14 -0700	[thread overview]
Message-ID: <878q2y6qy1.fsf@trenco.lwn.net> (raw)
In-Reply-To: <20261103121716.102730-2-manuelebnerli@mailbox.org>

Manuel Ebner <manuelebnerli@mailbox.org> writes:

> Remove needless pair of brackets.
>
> Signed-off-by: Manuel Ebner <manuelebnerli@mailbox.org>
> ---
>  Documentation/arch/x86/exception-tables.rst | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/arch/x86/exception-tables.rst b/Documentation/arch/x86/exception-tables.rst
> index 6e7177363f..de776bfdd1 100644
> --- a/Documentation/arch/x86/exception-tables.rst
> +++ b/Documentation/arch/x86/exception-tables.rst
> @@ -72,9 +72,9 @@ The preprocessor output (edited to become somewhat readable)::

Please note the above line - this is literal preprocessor output.

>      {
>        long __gu_err = - 14 , __gu_val = 0;
>        const __typeof__(*( (  buf ) )) *__gu_addr = ((buf));
> -      if (((((0 + current_set[0])->tss.segment) == 0x18 )  ||
> +      if ((((0 + current_set[0])->tss.segment) == 0x18 )  ||
>          (((sizeof(*(buf))) <= 0xC0000000UL) &&
> -        ((unsigned long)(__gu_addr ) <= 0xC0000000UL - (sizeof(*(buf)))))))
> +        ((unsigned long)(__gu_addr ) <= 0xC0000000UL - (sizeof(*(buf))))))
>          do {
>            __gu_err  = 0;
>            switch ((sizeof(*(buf)))) {

Removing a pair of parentheses will take this output further from what
the preprocessor produced, and the result is still unreadable, I don't
see why we would do this.

jon

      parent reply	other threads:[~2026-11-12 14:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-03 12:17 Manuel Ebner
2026-11-03 14:23 ` Daniel Pereira
2026-11-12 14:54 ` Jonathan Corbet [this message]

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=878q2y6qy1.fsf@trenco.lwn.net \
    --to=corbet@lwn.net \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manuelebnerli@mailbox.org \
    --cc=mingo@redhat.com \
    --cc=rdunlap@infradead.org \
    --cc=skhan@linuxfoundation.org \
    --cc=tglx@kernel.org \
    --cc=x86@kernel.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

all inboxes | Powered by JetHome®