Commit 6b1f87d6 authored by Roi Dayan's avatar Roi Dayan Committed by openeuler-sync-bot
Browse files

net/mlx5: Fix error message when failing to allocate device memory

stable inclusion
from stable-v5.10.181
commit 8b9c561b9fc186a623982eb9fdd5fa58e48ccf47
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8GJZJ

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=8b9c561b9fc186a623982eb9fdd5fa58e48ccf47



--------------------------------

commit a6573514 upstream.

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

Fixes: c9b9dcb4 ("net/mlx5: Move device memory management to mlx5_core")
Signed-off-by: default avatarRoi Dayan <roid@nvidia.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
(cherry picked from commit a6f72914)
parent 4aa988ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment