Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1505472
| From | SF Markus Elfring <elfring@users.sourceforge.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 6/6] FRV-setup: Move statements for "case" to separate lines |
| Date | 2016-10-21 07:20 +0200 |
| Message-ID | <suApk-1a2-13@gated-at.bofh.it> (permalink) |
| References | <suAfD-16j-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Thu, 20 Oct 2016 22:33:56 +0200
The script "checkpatch.pl" pointed information out like the following.
ERROR: trailing statements should be on next line
Thus fix the affected source code places.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
arch/frv/kernel/setup.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/frv/kernel/setup.c b/arch/frv/kernel/setup.c
index 9a44cbe..df44dbd 100644
--- a/arch/frv/kernel/setup.c
+++ b/arch/frv/kernel/setup.c
@@ -474,8 +474,12 @@ static void __init determine_cpu(void)
pdm_suspend_mode = HSR0_PDM_PLL_STOP;
switch (PSR_VERSION(psr)) {
- case PSR_VERSION_FR501_MB93501: cpu_silicon = "mb93501"; break;
- case PSR_VERSION_FR501_MB93501A: cpu_silicon = "mb93501/A"; break;
+ case PSR_VERSION_FR501_MB93501:
+ cpu_silicon = "mb93501";
+ break;
+ case PSR_VERSION_FR501_MB93501A:
+ cpu_silicon = "mb93501/A";
+ break;
default:
break;
}
--
2.10.1
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/6] FRV-setup: Fine-tuning for six function implementations SF Markus Elfring <elfring@users.sourceforge.net> - 2016-10-21 07:10 +0200
[PATCH 2/6] FRV-setup: Use seq_putc() in show_cpuinfo() SF Markus Elfring <elfring@users.sourceforge.net> - 2016-10-21 07:10 +0200
[PATCH 3/6] FRV-setup: Add some spaces for better code readability SF Markus Elfring <elfring@users.sourceforge.net> - 2016-10-21 07:10 +0200
[PATCH 5/6] FRV-setup: Fix indentation in two lines SF Markus Elfring <elfring@users.sourceforge.net> - 2016-10-21 07:20 +0200
Re: [PATCH 5/6] FRV-setup: Fix indentation in two lines Jiri Kosina <jikos@kernel.org> - 2016-10-21 09:30 +0200
Re: [PATCH 5/6] FRV-setup: Fix indentation in two lines Dan Carpenter <dan.carpenter@oracle.com> - 2016-10-21 10:00 +0200
Re: FRV-setup: Clarification for "source code clean-up"? SF Markus Elfring <elfring@users.sourceforge.net> - 2016-10-21 11:20 +0200
Re: FRV-setup: Clarification for "source code clean-up"? Dan Carpenter <dan.carpenter@oracle.com> - 2016-10-21 11:30 +0200
Re: FRV-setup: Clarification for "source code clean-up"? SF Markus Elfring <elfring@users.sourceforge.net> - 2016-10-21 12:00 +0200
Re: FRV-setup: Clarification for "source code clean-up"? Geert Uytterhoeven <geert@linux-m68k.org> - 2016-10-21 12:30 +0200
Re: FRV-setup: Clarification for "source code clean-up"? Dan Carpenter <dan.carpenter@oracle.com> - 2016-10-21 12:30 +0200
Re: FRV-setup: Clarification for "source code clean-up"? Julia Lawall <julia.lawall@lip6.fr> - 2016-10-21 13:10 +0200
Re: Improving software around DMA API usage? SF Markus Elfring <elfring@users.sourceforge.net> - 2016-10-21 13:40 +0200
[PATCH 6/6] FRV-setup: Move statements for "case" to separate lines SF Markus Elfring <elfring@users.sourceforge.net> - 2016-10-21 07:20 +0200
csiph-web