]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 May 2023 11:44:11 +0000 (12:44 +0100)
commitc59106f8bca18b84839edda3e615efa818bba235
tree5187a11a2f2ff5124681e1c6d9fd8a2eb62429d9
parent8680d838c98c08785b960df062e1c4a860737cb7
net/mlx5: Fix error message when failing to allocate device memory

commit a65735148e0328f80c0f72f9f8d2f609bfcf4aff upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/main.c