Searched hist:a09f4af1 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/amd/ |
H A D | lance.c | a09f4af1 Wed Feb 17 09:03:26 CST 2016 Amitoj Kaur Chawla <amitoj1606@gmail.com> lance: Return correct error code
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> Signed-off-by: David S. Miller <davem@davemloft.net> a09f4af1 Wed Feb 17 09:03:26 CST 2016 Amitoj Kaur Chawla <amitoj1606@gmail.com> lance: Return correct error code 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> Signed-off-by: David S. Miller <davem@davemloft.net>
|