Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1336474

Re: [PATCH] lance: Return correct error code

From Amitoj Kaur Chawla <amitoj1606@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] lance: Return correct error code
Date 2016-02-17 15:30 +0100
Message-ID <r3bh8-7Ch-11@gated-at.bofh.it> (permalink)
References <r3auM-73z-27@gated-at.bofh.it> <r3b7r-7xk-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Feb 17, 2016 at 7:46 PM, Sergei Shtylyov
<sergei.shtylyov@cogentembedded.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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] lance: Return correct error code Amitoj Kaur Chawla <amitoj1606@gmail.com> - 2016-02-17 14:40 +0100
  Re: [PATCH] lance: Return correct error code Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2016-02-17 15:20 +0100
    Re: [PATCH] lance: Return correct error code Amitoj Kaur Chawla <amitoj1606@gmail.com> - 2016-02-17 15:30 +0100

csiph-web