OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
switchdev: don't use anonymous union on switchdev attr/obj structs
[sagit-ice-cold/kernel_xiaomi_msm8998.git]
/
include
/
net
/
switchdev.h
diff --git
a/include/net/switchdev.h
b/include/net/switchdev.h
index
9f9a7cc
..
ea5b1c2
100644
(file)
--- a/
include/net/switchdev.h
+++ b/
include/net/switchdev.h
@@
-38,7
+38,7
@@
struct switchdev_attr {
struct netdev_phys_item_id ppid; /* PORT_PARENT_ID */
u8 stp_state; /* PORT_STP_STATE */
unsigned long brport_flags; /* PORT_BRIDGE_FLAGS */
- };
+ }
u
;
};
struct fib_info;
@@
-67,7
+67,7
@@
struct switchdev_obj {
u32 nlflags;
u32 tb_id;
} ipv4_fib;
- };
+ }
u
;
};
/**