Re: [PATCH v3] scatterlist: prevent invalid free when alloc fails

From: Jeffrey Carlyle
Date: Mon Aug 30 2010 - 12:12:34 EST


On Mon, Aug 30, 2010 at 11:05 AM, Tejun Heo <tj@xxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/