Re: [PATCH v2] locktorture: Fix NULL pointer when torture_type is invalid

From: Paul E. McKenney
Date: Thu Mar 03 2016 - 09:14:35 EST


On Thu, Mar 03, 2016 at 09:37:42AM +0800, Kefeng Wang wrote:
>
>
> On 2016/3/3 5:12, Paul E. McKenney wrote:
> > On Wed, Mar 02, 2016 at 11:55:43AM -0800, Davidlohr Bueso wrote:
> >> On Tue, 02 Feb 2016, Davidlohr Bueso wrote:
> >>
> >> I've just hit this issue myself and remembered this thread :)
> >>
> >> Paul, folks, does the below patch look reasonable to you? If so
> >> I can properly resend. thanks.
> >
> > If it works for Kefeng Wang, I would be happy to take it.
>
> Yes, it works for me, tested on my board.

Very good, thank you!

Davidlohr, please do send me a cleaned-up version of your patch.

Thanx, Paul