lkml.org 
[lkml]   [2012]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 07/14] pinctrl: SPEAr: Update error check for unsigned variables
    From
    On Fri, Nov 16, 2012 at 7:50 AM, Tushar Behera <tushar.behera@linaro.org> wrote:

    > Checking '< 0' for unsigned variables always returns false. For error
    > codes, use IS_ERR_VALUE() instead.
    >
    > CC: Linus Walleij <linus.walleij@linaro.org>
    > Signed-off-by: Tushar Behera <tushar.behera@linaro.org>

    Patch applied with Viresh's ACK, thanks!
    Linus Walleij


    \
     
     \ /
      Last update: 2012-11-23 09:01    [W:2.407 / U:0.036 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site