All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 4/5] riscv: checkpatch: Fix missing a blank line after declarations
@ 2018-03-13  7:58 Andes
  0 siblings, 0 replies; only message in thread
From: Andes @ 2018-03-13  7:58 UTC (permalink / raw)
  To: u-boot

From: Rick Chen <rick@andestech.com>

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

Signed-off-by: Rick Chen <rick@andestech.com>
Signed-off-by: Rick Chen <rickchen36@gmail.com>
---
 arch/riscv/lib/bootm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/riscv/lib/bootm.c b/arch/riscv/lib/bootm.c
index 44ce38b..3744073 100644
--- a/arch/riscv/lib/bootm.c
+++ b/arch/riscv/lib/bootm.c
@@ -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;
-- 
2.7.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-03-13  7:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-13  7:58 [U-Boot] [PATCH 4/5] riscv: checkpatch: Fix missing a blank line after declarations Andes

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.