mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86/boot: clean up whitespace in a20.c (v2)
@ 2025-08-25 19:28 Harry Fellowes
  2025-11-28 19:42 ` [tip: x86/cleanups] x86/boot: Clean up whitespace in a20.c tip-bot2 for Harry Fellowes
  0 siblings, 1 reply; 2+ messages in thread
From: Harry Fellowes @ 2025-08-25 19:28 UTC (permalink / raw)
  To: x86; +Cc: linux-kernel, tglx, mingo, bp, dave.hansen, hpa, Harry Fellowes

This version fixes indentation problems introduced in the previous patch
while still removing trailing whitespace only.

Apologies for the previous version which seemed to have accidentally removed
indentation on several lines.

Signed-off-by: Harry Fellowes <harryfellowes1@gmail.com>
---
 arch/x86/boot/a20.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/x86/boot/a20.c b/arch/x86/boot/a20.c
index a2b6b428922a..bda042933a05 100644
--- a/arch/x86/boot/a20.c
+++ b/arch/x86/boot/a20.c
@@ -135,29 +135,29 @@ int enable_a20(void)
 		  (legacy free, etc.) */
 	       if (a20_test_short())
 		       return 0;
-	       
+
 	       /* Next, try the BIOS (INT 0x15, AX=0x2401) */
 	       enable_a20_bios();
 	       if (a20_test_short())
 		       return 0;
-	       
+
 	       /* Try enabling A20 through the keyboard controller */
 	       kbc_err = empty_8042();
 
 	       if (a20_test_short())
 		       return 0; /* BIOS worked, but with delayed reaction */
-	
+
 	       if (!kbc_err) {
 		       enable_a20_kbc();
 		       if (a20_test_long())
 			       return 0;
 	       }
-	       
+
 	       /* Finally, try enabling the "fast A20 gate" */
 	       enable_a20_fast();
 	       if (a20_test_long())
 		       return 0;
        }
-       
+
        return -1;
 }
-- 
2.51.0


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

* [tip: x86/cleanups] x86/boot: Clean up whitespace in a20.c
  2025-08-25 19:28 [PATCH] x86/boot: clean up whitespace in a20.c (v2) Harry Fellowes
@ 2025-11-28 19:42 ` tip-bot2 for Harry Fellowes
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Harry Fellowes @ 2025-11-28 19:42 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: Harry Fellowes, Borislav Petkov (AMD), x86, linux-kernel

The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID:     d911fe6e942e60900577314dc1f1529b90e4da07
Gitweb:        https://git.kernel.org/tip/d911fe6e942e60900577314dc1f1529b90e4da07
Author:        Harry Fellowes <harryfellowes1@gmail.com>
AuthorDate:    Mon, 25 Aug 2025 20:28:34 +01:00
Committer:     Borislav Petkov (AMD) <bp@alien8.de>
CommitterDate: Fri, 28 Nov 2025 20:29:52 +01:00

x86/boot: Clean up whitespace in a20.c

Remove trailing whitespace on empty lines.

No functional changes.

  [ bp: Massage commit message. ]

Signed-off-by: Harry Fellowes <harryfellowes1@gmail.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://patch.msgid.link/20250825192832.6444-3-harryfellowes1@gmail.com
---
 arch/x86/boot/a20.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/x86/boot/a20.c b/arch/x86/boot/a20.c
index a2b6b42..bda0429 100644
--- a/arch/x86/boot/a20.c
+++ b/arch/x86/boot/a20.c
@@ -135,29 +135,29 @@ int enable_a20(void)
 		  (legacy free, etc.) */
 	       if (a20_test_short())
 		       return 0;
-	       
+
 	       /* Next, try the BIOS (INT 0x15, AX=0x2401) */
 	       enable_a20_bios();
 	       if (a20_test_short())
 		       return 0;
-	       
+
 	       /* Try enabling A20 through the keyboard controller */
 	       kbc_err = empty_8042();
 
 	       if (a20_test_short())
 		       return 0; /* BIOS worked, but with delayed reaction */
-	
+
 	       if (!kbc_err) {
 		       enable_a20_kbc();
 		       if (a20_test_long())
 			       return 0;
 	       }
-	       
+
 	       /* Finally, try enabling the "fast A20 gate" */
 	       enable_a20_fast();
 	       if (a20_test_long())
 		       return 0;
        }
-       
+
        return -1;
 }

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

end of thread, other threads:[~2025-11-28 19:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-25 19:28 [PATCH] x86/boot: clean up whitespace in a20.c (v2) Harry Fellowes
2025-11-28 19:42 ` [tip: x86/cleanups] x86/boot: Clean up whitespace in a20.c tip-bot2 for Harry Fellowes

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®