[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6fe73d13-1672-1dec-c300-391195a8b69d@users.sourceforge.net>
Date: Fri, 21 Oct 2016 07:09:21 +0200
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: trivial@...nel.org, Geert Uytterhoeven <geert+renesas@...der.be>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: [PATCH 4/6] FRV-setup: Move "else" closer to a brace
From: Markus Elfring <elfring@...rs.sourceforge.net>
Date: Thu, 20 Oct 2016 22:12:27 +0200
The script "checkpatch.pl" pointed information out like the following.
ERROR: else should follow close brace '}'
Thus fix the affected source code places.
Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
---
arch/frv/kernel/setup.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/arch/frv/kernel/setup.c b/arch/frv/kernel/setup.c
index 577bcf5..35a23fc 100644
--- a/arch/frv/kernel/setup.c
+++ b/arch/frv/kernel/setup.c
@@ -902,8 +902,7 @@ static void __init setup_linux_memory(void)
#else
max_mapnr = physpages = low_top_pfn;
#endif
- }
- else {
+ } else {
low_top_pfn = physpages;
}
@@ -934,8 +933,7 @@ static void __init setup_linux_memory(void)
BOOTMEM_DEFAULT);
initrd_start = INITRD_START + PAGE_OFFSET;
initrd_end = initrd_start + INITRD_SIZE;
- }
- else {
+ } else {
printk(KERN_ERR
"initrd extends beyond end of memory (0x%08lx > 0x%08lx)\n"
"disabling initrd\n",
--
2.10.1
Powered by blists - more mailing lists