rocker: fix eth_type type in struct rocker_ctrl
[firefly-linux-kernel-4.4.55.git] / drivers / net / ethernet / rocker / rocker.c
index 4b060fbd31457d3271b56e2809a4549a89bc5de6..55364359b868b1aedba6680ee2f84b74003f528f 100644 (file)
@@ -2753,7 +2753,7 @@ static int rocker_port_vlan_l2_groups(struct rocker_port *rocker_port,
 static struct rocker_ctrl {
        const u8 *eth_dst;
        const u8 *eth_dst_mask;
-       u16 eth_type;
+       __be16 eth_type;
        bool acl;
        bool bridge;
        bool term;