Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 78ccb258 authored by Eli Cohen's avatar Eli Cohen Committed by David S. Miller
Browse files

net/mlx5_core: Fix wrong name in struct



The name refers to syndrome so uset ext_synd instread of ext_sync.

Signed-off-by: default avatarEli Cohen <eli@mellanox.com>
Signed-off-by: default avatarOr Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a31208b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -130,7 +130,7 @@ static void print_health_info(struct mlx5_core_dev *dev)
	pr_info("hw_id 0x%08x\n", read_be32(&h->hw_id));
	pr_info("irisc_index %d\n", readb(&h->irisc_index));
	pr_info("synd 0x%x: %s\n", readb(&h->synd), hsynd_str(readb(&h->synd)));
	pr_info("ext_sync 0x%04x\n", read_be16(&h->ext_sync));
	pr_info("ext_sync 0x%04x\n", read_be16(&h->ext_synd));
}

static void poll_health(unsigned long data)
+1 −1
Original line number Diff line number Diff line
@@ -440,7 +440,7 @@ struct health_buffer {
	__be32		rsvd2;
	u8		irisc_index;
	u8		synd;
	__be16		ext_sync;
	__be16		ext_synd;
};

struct mlx5_init_seg {