Re: [PATCH -next] IB/mlx5: Add missing error code

2021-02-22 Thread kernel test robot
Hi YueHaibing, Thank you for the patch! Yet something to improve: [auto build test ERROR on next-20210219] url: https://github.com/0day-ci/linux/commits/YueHaibing/IB-mlx5-Add-missing-error-code/20210222-162815 base:abaf6f60176f1ae9d946d63e4db63164600b7b1a config: arc-allyesconfig (attac

[PATCH -next] IB/mlx5: Add missing error code

2021-02-22 Thread YueHaibing
Set err to -ENOMEM if kzalloc fails instead of 0. Fixes: 759738537142 ("IB/mlx5: Enable subscription for device events over DEVX") Signed-off-by: YueHaibing --- drivers/infiniband/hw/mlx5/devx.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/mlx5/dev