summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRavi Gunasekaran <r-gunasekaran@ti.com>2023-02-17 11:50:49 +0530
committerVignesh Raghavendra <vigneshr@ti.com>2023-02-17 12:04:08 +0530
commitb90124e89119b5df2a7d087dbe004b1d2e143c3c (patch)
tree42cd28180405c11d9bfd3f3e931e1b15c81ab195 /net
parent9a516b108b99de760b8b4d845836848527e468ba (diff)
net: hsr: Fix build error after merging linux-stable
Fix the build error in send_hsr_supervision_frame Fixes: 8ffeeca90755 ("Merge tag 'v5.10.165' of https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux into ti-linux-5.10.y-cicd") Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Diffstat (limited to 'net')
-rw-r--r--net/hsr/hsr_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/hsr/hsr_device.c b/net/hsr/hsr_device.c
index e73ab0c6f241..60839272ab74 100644
--- a/net/hsr/hsr_device.c
+++ b/net/hsr/hsr_device.c
@@ -456,6 +456,7 @@ static void send_hsr_supervision_frame(struct hsr_port *master,
{
struct hsr_priv *hsr = master->hsr;
__u8 type = HSR_TLV_LIFE_CHECK;
+ struct hsr_tag *hsr_tag = NULL;
struct hsr_sup_payload *hsr_sp;
struct hsr_sup_tag *hsr_stag;
struct sk_buff *skb;