git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c93adcc
)
net/mlx5: fix errno object in probe function
author
Adrien Mazarguil
<adrien.mazarguil@6wind.com>
Thu, 24 May 2018 12:17:55 +0000
(14:17 +0200)
committer
Shahaf Shuler
<shahafs@mellanox.com>
Sun, 17 Jun 2018 08:04:48 +0000
(10:04 +0200)
Fixes:
a6d83b6a9209
("net/mlx5: standardize on negative errno values")
Cc: stable@dpdk.org
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx5/mlx5.c
patch
|
blob
|
history
diff --git
a/drivers/net/mlx5/mlx5.c
b/drivers/net/mlx5/mlx5.c
index
60575db
..
efc502a
100644
(file)
--- a/
drivers/net/mlx5/mlx5.c
+++ b/
drivers/net/mlx5/mlx5.c
@@
-1062,7
+1062,7
@@
mlx5_pci_probe(struct rte_pci_driver *pci_drv __rte_unused,
DRV_LOG(ERR,
"port %u cannot get MAC address, is mlx5_en"
" loaded? (errno: %s)",
- eth_dev->data->port_id, strerror(errno));
+ eth_dev->data->port_id, strerror(
rte_
errno));
err = ENODEV;
goto port_error;
}