commit | 47a6ca3f972f5baf06cd0c9f37d7b5268ade5363 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Tue Jun 05 02:42:56 2018 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 05 10:20:33 2018 -0400 |
tree | e5702f968a95306f8519e89cc168308507fdce62 | |
parent | 6f6027a52bfbb9bbf18937d2628eaf1137a5a386 [diff] |
net/mlx5e: fix error return code in mlx5e_alloc_rq() Fix to return error code -ENOMEM from the kvzalloc_node() error handling case instead of 0, as done elsewhere in this function. Fixes: 069d11465a80 ("net/mlx5e: RX, Enhance legacy Receive Queue memory scheme") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Reviewed-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>