git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfa76d4
)
IB/mlx5: Fix error code in get_port_caps()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Mon, 12 Jan 2015 08:56:58 +0000
(11:56 +0300)
committer
Roland Dreier
<roland@purestorage.com>
Tue, 17 Feb 2015 18:22:59 +0000
(10:22 -0800)
The current code returns success when kmalloc() fails. It should
return an error code, -ENOMEM.
Fixes:
e126ba97dba9
("mlx5: Add driver for Mellanox Connect-IB adapters")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx5/main.c
patch
|
blob
|
history
diff --cc
drivers/infiniband/hw/mlx5/main.c
Simple merge