commit | 42275bd8fcb351f951781d8882f359d25976824b | [log] [tgz] |
---|---|---|
author | Scott Feldman <sfeldma@gmail.com> | Wed May 13 11:16:50 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed May 13 14:20:59 2015 -0400 |
tree | 9689357f34d19a10544b03047df26b2031364664 | |
parent | 1f7bd29bc0559aedae857639ca391c815e47f1d9 [diff] |
switchdev: don't use anonymous union on switchdev attr/obj structs Older gcc versions (e.g. gcc version 4.4.6) don't like anonymous unions which was causing build issues on the newly added switchdev attr/obj structs. Fix this by using named union on structs. Signed-off-by: Scott Feldman <sfeldma@gmail.com> Reported-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>