Commit 23428e6b authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller

mdio: mdio_if_info::mmds should not be __bitwise

I misunderstood the meaning of __bitwise.  In practice it makes sparse
warn about every use of mmds which is certainly not what we want.
Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1a8887d8
...@@ -304,7 +304,7 @@ static inline __u16 mdio_phy_id_devad(int phy_id) ...@@ -304,7 +304,7 @@ static inline __u16 mdio_phy_id_devad(int phy_id)
*/ */
struct mdio_if_info { struct mdio_if_info {
int prtad; int prtad;
u32 __bitwise mmds; u32 mmds;
unsigned mode_support; unsigned mode_support;
struct net_device *dev; struct net_device *dev;
......
Markdown is supported
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