summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/iio
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-01-12 11:56:58 +0300
committerRoland Dreier <roland@purestorage.com>2015-02-17 10:22:59 -0800
commitf614fc15ae39ceb531586e3969f2b99fd23182a0 (patch)
treee16ee8b0bca811affd161434c0d3b19d34064f70 /include/dt-bindings/iio
parentbfa76d49576599a4b9f9b7a71f23d73d6dcff735 (diff)
downloadop-kernel-dev-f614fc15ae39ceb531586e3969f2b99fd23182a0.zip
op-kernel-dev-f614fc15ae39ceb531586e3969f2b99fd23182a0.tar.gz
IB/mlx5: Fix error code in get_port_caps()
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>
Diffstat (limited to 'include/dt-bindings/iio')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud