[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+5yK5H1wc4qJ2mr511M2e05SQDpfeZhbTvsbLT+C+2nt1=2JA@mail.gmail.com>
Date: Wed, 17 Feb 2016 19:54:05 +0530
From: Amitoj Kaur Chawla <amitoj1606@...il.com>
To: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Cc: netdev@...r.kernel.org,
"Linux-Kernel@...r. Kernel. Org" <linux-kernel@...r.kernel.org>,
Julia Lawall <julia.lawall@...6.fr>
Subject: Re: [PATCH] lance: Return correct error code
On Wed, Feb 17, 2016 at 7:46 PM, Sergei Shtylyov
<sergei.shtylyov@...entembedded.com> 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
Powered by blists - more mailing lists