Skip to content

Commit

Permalink
mdio: mdio_if_info::mmds should not be __bitwise
Browse files Browse the repository at this point in the history
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: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Ben Hutchings authored and David S. Miller committed Aug 19, 2009
1 parent 1a8887d commit 23428e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/mdio.h
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ static inline __u16 mdio_phy_id_devad(int phy_id)
*/
struct mdio_if_info {
int prtad;
u32 __bitwise mmds;
u32 mmds;
unsigned mode_support;

struct net_device *dev;
Expand Down

0 comments on commit 23428e6

Please sign in to comment.