lkml.org 
[lkml]   [2008]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 16/23] checkpatch: correct spelling in kfree checks
    Date
    From: Wolfram Sang <w.sang@pengutronix.de>

    Correct spelling in the kfree reports.

    Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
    Signed-off-by: Andy Whitcroft <apw@shadowen.org>
    ---
    scripts/checkpatch.pl | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
    index a4e8087..3961e75 100755
    --- a/scripts/checkpatch.pl
    +++ b/scripts/checkpatch.pl
    @@ -2075,7 +2075,7 @@ sub process {
    if ($prevline =~ /\bif\s*\(([^\)]*)\)/) {
    my $expr = $1;
    if ($line =~ /\bkfree\(\Q$expr\E\);/) {
    - WARN("kfree(NULL) is safe this check is probabally not required\n" . $hereprev);
    + WARN("kfree(NULL) is safe this check is probably not required\n" . $hereprev);
    }
    }
    # check for needless usb_free_urb() checks
    --
    1.5.6.rc0.140.ga9675


    \
     
     \ /
      Last update: 2008-06-12 14:51    [W:0.019 / U:29.712 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site