Re: [PATCH] net: r6040: Return proper error for r6040_init_one

From: David Miller
Date: Thu Jan 06 2011 - 14:17:53 EST


From: Florian Fainelli <florian@xxxxxxxxxxx>
Date: Wed, 5 Jan 2011 10:50:45 +0100

> On Wednesday 05 January 2011 09:40:04 Axel Lin wrote:
>> Return -ENOMEM instead of 0 for the case of mdiobus_alloc and kmalloc
>> failure.
>>
>> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>
>
> Acked-by: Florian Fainelli <florian@xxxxxxxxxxx>

Applied, thanks.
--
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/