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


Groups > linux.kernel > #1337649

Re: [PATCH v2] lance: Return correct error code

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH v2] lance: Return correct error code
Date 2016-02-18 21:00 +0100
Message-ID <r3CU3-27a-31@gated-at.bofh.it> (permalink)
References <r3bTQ-87x-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Date: Wed, 17 Feb 2016 20:33:26 +0530

> Failure of kzalloc should cause the enclosing function
> to return -ENOMEM, not -ENODEV.
> 
> Additionally, removed the following checkpatch warnings:
> ERROR: spaces required around that '==' (ctx:VxV)
> ERROR: space required before the open parenthesis '('
> CHECK: Comparison to NULL could be written "!lp"
> 
> Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>

Applied, thanks.

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


Thread

[PATCH v2] lance: Return correct error code Amitoj Kaur Chawla <amitoj1606@gmail.com> - 2016-02-17 16:10 +0100
  Re: [PATCH v2] lance: Return correct error code David Miller <davem@davemloft.net> - 2016-02-18 21:00 +0100

csiph-web