diff --git a/net/hsr/hsr_framereg.c b/net/hsr/hsr_framereg.c index 73bc6f659812..ee388739f1f3 100644 --- a/net/hsr/hsr_framereg.c +++ b/net/hsr/hsr_framereg.c @@ -154,7 +154,7 @@ void prp_handle_san_frame(bool san, enum hsr_port_type port, static struct hsr_node *hsr_add_node(struct hsr_priv *hsr, struct list_head *node_db, unsigned char addr[], - u16 seq_out, bool san, + int seq_out, bool san, enum hsr_port_type rx_port) { struct hsr_node *new_node, *node; @@ -219,7 +219,7 @@ struct hsr_node *hsr_get_node(struct hsr_port *port, struct list_head *node_db, struct ethhdr *ethhdr; struct prp_rct *rct; bool san = false; - u16 seq_out; + int seq_out; if (!skb_mac_header_was_set(skb)) return NULL;