lkml.org 
[lkml]   [2009]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/9] devres: WARN() and return, don't crash on device_del() of uninitialized device
    Greg Kroah-Hartman wrote:
    > From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    >
    > I just debugged an obscure crash caused by a device_del() of a all NULL'd
    > out struct device (in usb-serial) and found that a patch like this one would
    > have saved me time (in addition to improved chances of a bug report from
    > users hitting similar driver bugs).
    >
    > [akpm@linux-foundation.org: cleanup]
    > Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    > Cc: Kay Sievers <kay.sievers@vrfy.org>
    > Cc: Tejun Heo <tj@kernel.org>
    > Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    > Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    Acked-by: Tejun Heo <tj@kernel.org>

    --
    tejun


    \
     
     \ /
      Last update: 2009-07-15 06:19    [W:0.019 / U:1.348 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site