lkml.org 
[lkml]   [2011]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 02/36] Staging: cx25821: cx25821-alsa.c: Add braces to else clause
    Date
    Add curly braces around else clause because corresponding if has them.

    Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
    ---
    drivers/staging/cx25821/cx25821-alsa.c | 3 ++-
    1 files changed, 2 insertions(+), 1 deletions(-)

    diff --git a/drivers/staging/cx25821/cx25821-alsa.c b/drivers/staging/cx25821/cx25821-alsa.c
    index 8d5fdd5..41a3b9c 100644
    --- a/drivers/staging/cx25821/cx25821-alsa.c
    +++ b/drivers/staging/cx25821/cx25821-alsa.c
    @@ -317,8 +317,9 @@ static irqreturn_t cx25821_irq(int irq, void *dev_id)
    cx25821_aud_irq(chip, audint_status,
    audint_mask);
    break;
    - } else
    + } else {
    goto out;
    + }
    }

    handled = 1;
    --
    1.7.0.4


    \
     
     \ /
      Last update: 2011-10-22 07:49    [W:0.023 / U:60.392 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site