lkml.org 
[lkml]   [2009]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH] pcnet32: remove superfluous NULL pointer check in pcnet32_probe1()
    From
    From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    Date: Thu, 30 Jul 2009 23:19:17 +0200

    > From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    > Subject: [PATCH] pcnet32: remove superfluous NULL pointer check in pcnet32_probe1()
    >
    > Move the debug printk() into the proper place and remove superfluous
    > NULL pointer check in pcnet32_probe1().
    >
    > This takes care of the following entry from Dan's list:
    >
    > drivers/net/pcnet32.c +1889 pcnet32_probe1(298) warning: variable derefenced before check 'pdev'
    >
    > Reported-by: Dan Carpenter <error27@gmail.com>
    > Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>

    Applied, but please CC: netdev@vger.kernel.org for all future
    network driver patches so that it gets properly tracked in
    patchwork. Thanks!


    \
     
     \ /
      Last update: 2009-08-02 21:33    [W:0.023 / U:0.256 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site