Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753401AbcCCBkO (ORCPT ); Wed, 2 Mar 2016 20:40:14 -0500 Received: from szxga02-in.huawei.com ([119.145.14.65]:20476 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750797AbcCCBkM (ORCPT ); Wed, 2 Mar 2016 20:40:12 -0500 Subject: Re: [PATCH v2] locktorture: Fix NULL pointer when torture_type is invalid To: , Davidlohr Bueso References: <1453955159-23216-1-git-send-email-wangkefeng.wang@huawei.com> <56AC2421.7020006@huawei.com> <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> CC: , , , Josh Triplett , "Guohanjun (Hanjun Guo)" From: Kefeng Wang Message-ID: <56D79566.7010302@huawei.com> Date: Thu, 3 Mar 2016 09:37:42 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <20160302211216.GC3577@linux.vnet.ibm.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.19.180] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090204.56D795DC.0020,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: f98c5fce1a9fa2f07ca9875a24be954c Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 466 Lines: 20 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. > > Thanx, Paul >