[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANLzEksBhzPOg8Tfax-J0sy5VBgEqCyz9sgjOiNSvTR=WeybBA@mail.gmail.com>
Date: Tue, 24 Sep 2013 20:07:25 -0700
From: Benson Leung <bleung@...omium.org>
To: Ming Lei <ming.lei@...onical.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Olof Johansson <olofj@...omium.org>,
stable <stable@...r.kernel.org>
Subject: Re: [PATCH] driver core : Fix use after free of dev->parent in device_shutdown
On Tue, Sep 24, 2013 at 6:14 PM, Ming Lei <ming.lei@...onical.com> wrote:
> It is better to save one line by below:
>
> parent = get_device(dev->parent);
>
Done.
>
> Reviewed-by: Ming Lei <ming.lei@...onical.com>
Thank you!
--
Benson Leung
Software Engineer, Chrom* OS
bleung@...omium.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists