summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorEran Ben Elisha <eranbe@mellanox.com>2017-11-20 09:58:01 +0200
committerSaeed Mahameed <saeedm@mellanox.com>2018-01-12 02:01:47 +0200
commit72f36be06138bdc11bdbe1f04e4a3e2637ea438d (patch)
treeab975a43730639e212df98c5dccd97752c0de441 /mm
parentb6908c296021a99ba2a83a4b4703eb9e6365e5dc (diff)
net/mlx5: Fix mlx5_get_uars_page to return error code
Change mlx5_get_uars_page to return ERR_PTR in case of allocation failure. Change all callers accordingly to check the IS_ERR(ptr) instead of NULL. Fixes: 59211bd3b632 ("net/mlx5: Split the load/unload flow into hardware and software flows") Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions