Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757770AbcCCOOc (ORCPT ); Thu, 3 Mar 2016 09:14:32 -0500 Received: from e19.ny.us.ibm.com ([129.33.205.209]:35457 "EHLO e19.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756765AbcCCOOa (ORCPT ); Thu, 3 Mar 2016 09:14:30 -0500 X-IBM-Helo: d01dlp01.pok.ibm.com X-IBM-MailFrom: paulmck@linux.vnet.ibm.com X-IBM-RcptTo: linux-kernel@vger.kernel.org Date: Thu, 3 Mar 2016 06:14:25 -0800 From: "Paul E. McKenney" To: Kefeng Wang Cc: Davidlohr Bueso , linux-kernel@vger.kernel.org, peterz@infradead.org, mingo@redhat.com, Josh Triplett , "Guohanjun (Hanjun Guo)" Subject: Re: [PATCH v2] locktorture: Fix NULL pointer when torture_type is invalid Message-ID: <20160303141425.GG3577@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com References: <20160131002721.GI6719@linux.vnet.ibm.com> <20160131221736.GB16147@linux-uzut.site> <56AEC21A.5010107@huawei.com> <20160201030235.GC16147@linux-uzut.site> <56AED0C7.7050505@huawei.com> <20160202064635.GH6719@linux.vnet.ibm.com> <20160203002331.GA3385@linux-uzut.site> <20160302195543.GA12593@linux-uzut.site> <20160302211216.GC3577@linux.vnet.ibm.com> <56D79566.7010302@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56D79566.7010302@huawei.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16030314-0057-0000-0000-000003963E60 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 634 Lines: 21 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