diff options
author | YueHaibing <yuehaibing@huawei.com> | 2021-02-22 13:23:43 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-03-01 19:49:09 +0100 |
commit | 3a9b3d4536e0c25bd3906a28c1f584177e49dd0f (patch) | |
tree | d2c983d43c8f266ae7f1892b13f5c07c1dfae1bd /ipc/util.c | |
parent | RDMA/rxe: Fix missing kconfig dependency on CRYPTO (diff) | |
download | linux-3a9b3d4536e0c25bd3906a28c1f584177e49dd0f.tar.xz linux-3a9b3d4536e0c25bd3906a28c1f584177e49dd0f.zip |
IB/mlx5: Add missing error code
Set err to -ENOMEM if kzalloc fails instead of 0.
Fixes: 759738537142 ("IB/mlx5: Enable subscription for device events over DEVX")
Link: https://lore.kernel.org/r/20210222122343.19720-1-yuehaibing@huawei.com
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions