hsr: use extack error message instead of netdev_info
If HSR uses the extack instead of netdev_info(), users can get error messages immediately without any checking the kernel message. Signed-off-by: Taehee Yoo <ap420073@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
f3f2f98470
commit
13eeb5fea6
@@ -13,7 +13,7 @@
|
||||
#include "hsr_main.h"
|
||||
|
||||
int hsr_add_port(struct hsr_priv *hsr, struct net_device *dev,
|
||||
enum hsr_port_type pt);
|
||||
enum hsr_port_type pt, struct netlink_ext_ack *extack);
|
||||
void hsr_del_port(struct hsr_port *port);
|
||||
bool hsr_port_exists(const struct net_device *dev);
|
||||
|
||||
|
Reference in New Issue
Block a user