mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Documentation: exception-tables.rst: fix bracket
@ 2026-11-03 12:17 Manuel Ebner
  2026-11-03 14:23 ` Daniel Pereira
  2026-11-12 14:54 ` Jonathan Corbet
  0 siblings, 2 replies; 3+ messages in thread
From: Manuel Ebner @ 2026-11-03 12:17 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen, x86,
	H. Peter Anvin, Jonathan Corbet, Shuah Khan, Randy Dunlap
  Cc: Manuel Ebner, linux-kernel, linux-doc

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)::
     {
       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)))) {
-- 
2.55.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation: exception-tables.rst: fix bracket
  2026-11-03 12:17 [PATCH] Documentation: exception-tables.rst: fix bracket Manuel Ebner
@ 2026-11-03 14:23 ` Daniel Pereira
  2026-11-12 14:54 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Pereira @ 2026-11-03 14:23 UTC (permalink / raw)
  To: Manuel Ebner
  Cc: Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen, x86,
	H. Peter Anvin, Jonathan Corbet, Shuah Khan, Randy Dunlap,
	linux-kernel, linux-doc

Em ter., 3 de nov. de 2026 às 11:10, Manuel Ebner
<manuelebnerli@mailbox.org> escreveu:
>
> Remove needless pair of brackets.
>
> Signed-off-by: Manuel Ebner <manuelebnerli@mailbox.org>
> ---

Reviewed-by: Daniel Pereira <danielmaraboo@gmail.com>

Thanks,
Daniel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation: exception-tables.rst: fix bracket
  2026-11-03 12:17 [PATCH] Documentation: exception-tables.rst: fix bracket Manuel Ebner
  2026-11-03 14:23 ` Daniel Pereira
@ 2026-11-12 14:54 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2026-11-12 14:54 UTC (permalink / raw)
  To: Manuel Ebner, Thomas Gleixner, Ingo Molnar, Borislav Petkov,
	Dave Hansen, x86, H. Peter Anvin, Shuah Khan, Randy Dunlap
  Cc: Manuel Ebner, linux-kernel, linux-doc

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-12 14:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 12:17 [PATCH] Documentation: exception-tables.rst: fix bracket Manuel Ebner
2026-11-03 14:23 ` Daniel Pereira
2026-11-12 14:54 ` Jonathan Corbet

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®