lkml.org 
[lkml]   [2015]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v3 16/19] staging: sm750fb: fix brace placement
    On Thu, Jun 25, 2015 at 08:49:30AM -0700, Juston Li wrote:
    > I placed it above the else to make it consistent with the if statement with
    > similar comment that the else corresponds to:
    >
    > /* Set the primary display control */
    > - if (!ctrl)+ if (!ctrl) {

    Once you add the else statement, then that kind of doesn't make sense.
    Sudip is right. It should be:

    } else {
    /* commentary about else side */

    regards,
    dan carpenter



    \
     
     \ /
      Last update: 2015-06-25 22:41    [W:3.119 / U:0.420 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site