浏览代码

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: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Ben Hutchings 16 年之前
父节点
当前提交
23428e6b46
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/linux/mdio.h

+ 1 - 1
include/linux/mdio.h

@@ -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;