Re: [PATCH] driver core : Fix use after free of dev->parent in device_shutdown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 24, 2013 at 6:14 PM, Ming Lei <ming.lei@xxxxxxxxxxxxx> wrote:
> It is better to save one line by below:
>
>                     parent = get_device(dev->parent);
>
Done.

>
> Reviewed-by: Ming Lei <ming.lei@xxxxxxxxxxxxx>

Thank you!


-- 
Benson Leung
Software Engineer, Chrom* OS
bleung@xxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]