Skip to contentSkip to conversation

riscv: checkpatch: Fix missing a blank line after declarations

PATCH New Andes 1 participant 1 message Mar 13, 2018 RISC-V

lore
Share & tools
lore

Andes

author
#0 lore raw

PATCH 4/5 riscv: checkpatch: Fix missing a blank line after declarations

From: Rick Chen <[email protected]>

It is reported by checkpatch.pl
WARNING: Missing a blank line after declarations.

---
 arch/riscv/lib/bootm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/riscv/lib/bootm.c +2 -2
index 44ce38b..3744073 100644
@@ -210,9 +210,9 @@ static void setup_initrd_tag(bd_t *bd, ulong initrd_start, ulong initrd_end)
 #ifdef CONFIG_SERIAL_TAG
 void setup_serial_tag(struct tag **tmp)
 {
+	void get_board_serial(struct tag_serialnr *serialnr);
 	struct tag *params;
 	struct tag_serialnr serialnr;
-	void get_board_serial(struct tag_serialnr *serialnr);
 
 	params = *tmp;
 	get_board_serial(&serialnr);
@@ -228,8 +228,8 @@ void setup_serial_tag(struct tag **tmp)
 #ifdef CONFIG_REVISION_TAG
 void setup_revision_tag(struct tag **in_params)
 {
-	u32 rev;
 	u32 get_board_rev(void);
+	u32 rev;
 
 	rev = get_board_rev();
 	params->hdr.tag = ATAG_REVISION;
Signature · 1 line
2.7.4