net/mlx5_core: Fix wrong name in struct
authorEli Cohen <eli@mellanox.com>
Fri, 25 Sep 2015 07:49:15 +0000 (10:49 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Sep 2015 05:19:50 +0000 (22:19 -0700)
The name refers to syndrome so uset ext_synd instread of ext_sync.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/health.c
include/linux/mlx5/device.h

index 292d76f2a9041105bceb9ae0a792fe4eb05c53d2..6e69de00cea8ca9c31b6212e8ec2b633726bca69 100644 (file)
@@ -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)
index 8eb3b19af2a4bc2ece866e8d07c6243115ce13d4..41e9f3bd663c901263ab879093ded7a29eae42ce 100644 (file)
@@ -440,7 +440,7 @@ struct health_buffer {
        __be32          rsvd2;
        u8              irisc_index;
        u8              synd;
-       __be16          ext_sync;
+       __be16          ext_synd;
 };
 
 struct mlx5_init_seg {