Re: [PATCH] lance: Return correct error code

From: Amitoj Kaur Chawla
Date: Wed Feb 17 2016 - 09:24:13 EST


On Wed, Feb 17, 2016 at 7:46 PM, Sergei Shtylyov
<sergei.shtylyov@xxxxxxxxxxxxxxxxxx> wrote:
> Hello.
>
> On 2/17/2016 4:35 PM, Amitoj Kaur Chawla wrote:
>
>> The return value of kzalloc on failure should be -ENOMEM and
>
>
> kzalloc() returns NULL on failure! You need to clarify your patch
> description, so that it makes some sense.
>

Okay, thanks for the feedback. Will send v2.

Amitoj