Thread (3 messages) flat view 3 messages, 2 authors, 2016-02-17

Re: [PATCH] lance: Return correct error code

From: Sergei Shtylyov <hidden>
Date: 2016-02-17 14:16:25
Also in: lkml

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.
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 <redacted>
[...]

MBR, Sergei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help