Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755886Ab0H3QMc (ORCPT ); Mon, 30 Aug 2010 12:12:32 -0400 Received: from exprod5og113.obsmtp.com ([64.18.0.26]:48801 "EHLO exprod5og113.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755034Ab0H3QMb convert rfc822-to-8bit (ORCPT ); Mon, 30 Aug 2010 12:12:31 -0400 MIME-Version: 1.0 In-Reply-To: <4C7BD6CB.2060705@kernel.org> References: <20100830154825.E4E2560255F@il93ubuntu.localdomain> <20100830160147.DE515603843@il93ubuntu.localdomain> <4C7BD6CB.2060705@kernel.org> Date: Mon, 30 Aug 2010 11:12:21 -0500 Message-ID: Subject: Re: [PATCH v3] scatterlist: prevent invalid free when alloc fails From: Jeffrey Carlyle To: Tejun Heo Cc: OLUSANYA SOYANNWO , linux-kernel@vger.kernel.org, Hu Tao , jaxboe@fusionio.com, torvalds@osdl.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 691 Lines: 16 On Mon, Aug 30, 2010 at 11:05 AM, Tejun Heo wrote: > On 08/30/2010 05:58 PM, Jeffrey Carlyle wrote: >> + ? ? ? ? ? ? ? ? ? ? /* >> + ? ? ? ? ? ? ? ? ? ? ?* Adjust entry count so that proper free function is >> + ? ? ? ? ? ? ? ? ? ? ?* used in sg_kfree. >> + ? ? ? ? ? ? ? ? ? ? ?*/ >> + ? ? ? ? ? ? ? ? ? ? if(pvr) > > I suppose you meant "if (prv)"? I did. I ran checkpatch.pl and submitted a new patch. Thank you for patience. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/