lkml.org 
[lkml]   [2016]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 6/6] FRV-setup: Move statements for "case" to separate lines
    From
    Date
    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
    \
     
     \ /
      Last update: 2016-10-21 07:13    [W:3.227 / U:0.120 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site