]> git.itanic.dy.fi Git - linux-stable/commit
net/mlx5: Fix error message when failing to allocate device memory
authorRoi Dayan <roid@nvidia.com>
Mon, 1 May 2023 11:37:56 +0000 (14:37 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 23 May 2023 05:38:05 +0000 (22:38 -0700)
commita65735148e0328f80c0f72f9f8d2f609bfcf4aff
tree8b39524c0f1e3dbba2caed9163d2fdda9157a90c
parentbe071cdb167fc3e25fe81922166b3d499d23e8ac
net/mlx5: Fix error message when failing to allocate device memory

Fix spacing for the error and also the correct error code pointer.

Fixes: c9b9dcb430b3 ("net/mlx5: Move device memory management to mlx5_core")
Signed-off-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/main.c