mirror of
https://github.com/torvalds/linux.git
synced 2024-12-21 02:21:36 +00:00
net/mlx5e: Print netdev features correctly in error message
Use the correct formatting for netdev features.
Fixes: 0e405443e8
("net/mlx5e: Improve set features ndo resiliency")
Signed-off-by: Gal Pressman <galp@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
This commit is contained in:
parent
b281208911
commit
b20eab15a1
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user