[PATCH] alpha/boot: fix pointer declaration spacing in bootp.c and bootpz.c

Arjav Jain posted 1 patch 1 month ago
arch/alpha/boot/bootp.c  | 4 ++--
arch/alpha/boot/bootpz.c | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
[PATCH] alpha/boot: fix pointer declaration spacing in bootp.c and bootpz.c
Posted by Arjav Jain 1 month ago
Adjust pointer declaration spacing to follow the Linux kernel
coding style by placing '*' next to the variable name instead
of the type.

No functional changes intended.

Signed-off-by: Arjav Jain <arjavjain.jain1942@gmail.com>
---
 arch/alpha/boot/bootp.c  | 4 ++--
 arch/alpha/boot/bootpz.c | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/alpha/boot/bootp.c b/arch/alpha/boot/bootp.c
index 842e85776cc0..a6209b4fe18c 100644
--- a/arch/alpha/boot/bootp.c
+++ b/arch/alpha/boot/bootp.c
@@ -68,8 +68,8 @@ void
 pal_init(void)
 {
 	unsigned long i, rev;
-	struct percpu_struct * percpu;
-	struct pcb_struct * pcb_pa;
+	struct percpu_struct *percpu;
+	struct pcb_struct *pcb_pa;
 
 	/* Create the dummy PCB.  */
 	pcb_va->ksp = 0;
diff --git a/arch/alpha/boot/bootpz.c b/arch/alpha/boot/bootpz.c
index c6079308eab3..f6cd4c45ed20 100644
--- a/arch/alpha/boot/bootpz.c
+++ b/arch/alpha/boot/bootpz.c
@@ -42,10 +42,10 @@
 #undef DEBUG_LAST_STEPS
 
 extern unsigned long switch_to_osf_pal(unsigned long nr,
-	struct pcb_struct * pcb_va, struct pcb_struct * pcb_pa,
+	struct pcb_struct *pcb_va, struct pcb_struct *pcb_pa,
 	unsigned long *vptb);
 
-extern int decompress_kernel(void* destination, void *source,
+extern int decompress_kernel(void *destination, void *source,
 			     size_t ksize, size_t kzsize);
 
 extern void move_stack(unsigned long new_stack);
@@ -116,8 +116,8 @@ void
 pal_init(void)
 {
 	unsigned long i, rev;
-	struct percpu_struct * percpu;
-	struct pcb_struct * pcb_pa;
+	struct percpu_struct *percpu;
+	struct pcb_struct *pcb_pa;
 
 	/* Create the dummy PCB.  */
 	pcb_va->ksp = 0;
-- 
2.53.0