Skip to content
Commit 42275bd8 authored by Scott Feldman's avatar Scott Feldman Committed by David S. Miller
Browse files

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: default avatarScott Feldman <sfeldma@gmail.com>
Reported-by: default avatarOr Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1f7bd29b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment