From mboxrd@z Thu Jan 1 00:00:00 1970 From: nsekhar@ti.com (Sekhar Nori) Date: Fri, 26 Oct 2012 15:45:40 +0530 Subject: [PATCH] ARM: davinci: dm644x: move the dereference below the NULL test In-Reply-To: References: Message-ID: <508A62CC.8070701@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 9/10/2012 10:19 AM, Wei Yongjun wrote: > From: Wei Yongjun > > The dereference should be moved below the NULL test. > > spatch with a semantic match is used to found this. > (http://coccinelle.lip6.fr/) > > Signed-off-by: Wei Yongjun Queuing this for inclusion in v3.8 Thanks, Sekhar From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755465Ab2JZKQO (ORCPT ); Fri, 26 Oct 2012 06:16:14 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:52769 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754324Ab2JZKQN (ORCPT ); Fri, 26 Oct 2012 06:16:13 -0400 Message-ID: <508A62CC.8070701@ti.com> Date: Fri, 26 Oct 2012 15:45:40 +0530 From: Sekhar Nori User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: Wei Yongjun CC: , , , , , Subject: Re: [PATCH] ARM: davinci: dm644x: move the dereference below the NULL test References: In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/10/2012 10:19 AM, Wei Yongjun wrote: > From: Wei Yongjun > > The dereference should be moved below the NULL test. > > spatch with a semantic match is used to found this. > (http://coccinelle.lip6.fr/) > > Signed-off-by: Wei Yongjun Queuing this for inclusion in v3.8 Thanks, Sekhar