projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a8887d
)
mdio: mdio_if_info::mmds should not be __bitwise
author
Ben Hutchings
<bhutchings@solarflare.com>
Wed, 19 Aug 2009 03:13:03 +0000
(20:13 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 19 Aug 2009 03:13:03 +0000
(20:13 -0700)
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>
include/linux/mdio.h
patch
|
blob
|
history
diff --git
a/include/linux/mdio.h
b/include/linux/mdio.h
index cfdf1df2875e4e12eff9a21dd24e29f0e873b64c..c779b49a1fda3158c4278f05379b5f41fb95cabf 100644
(file)
--- a/
include/linux/mdio.h
+++ b/
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;