summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorGal Pressman <galp@mellanox.com>2017-09-12 16:51:12 +0200
committerSaeed Mahameed <saeedm@mellanox.com>2017-09-28 06:23:10 +0200
commitb20eab15a1d5091e45022401e75b49948e8be33f (patch)
tree46194300619db26015d2a0bef563081d5cd53d8e /drivers/net/ethernet
parentnet/mlx5e: Check encap entry state when offloading tunneled flows (diff)
downloadlinux-b20eab15a1d5091e45022401e75b49948e8be33f.tar.xz
linux-b20eab15a1d5091e45022401e75b49948e8be33f.zip
net/mlx5e: Print netdev features correctly in error message
Use the correct formatting for netdev features. Fixes: 0e405443e803 ("net/mlx5e: Improve set features ndo resiliency") Signed-off-by: Gal Pressman <galp@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/en_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
index dfc29720ab77..84b013dc62e9 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
@@ -3333,8 +3333,8 @@ static int mlx5e_handle_feature(struct net_device *netdev,
err = feature_handler(netdev, enable);
if (err) {
- netdev_err(netdev, "%s feature 0x%llx failed err %d\n",
- enable ? "Enable" : "Disable", feature, err);
+ netdev_err(netdev, "%s feature %pNF failed, err %d\n",
+ enable ? "Enable" : "Disable", &feature, err);
return err;
}