diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2016-03-08 00:24:17 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-10 22:10:30 +0100 |
commit | 2d9deae4aedee2be2205e22440ac357c37013658 (patch) | |
tree | cd5f85c9f3b68b7cf376d25788575dabfbdaf6b6 /mm/vmstat.c | |
parent | Merge branch 'sh_eth-fixes' (diff) | |
download | linux-2d9deae4aedee2be2205e22440ac357c37013658.tar.xz linux-2d9deae4aedee2be2205e22440ac357c37013658.zip |
net: dsa: mv88e6xxx: rework port state setter
Apply a few non-functional changes on the port state setter:
* add a dynamic debug message with state names to track changes
* explicit states checking instead of assuming their numeric values
* lock mutex only once when changing several port states
* use bitmap macros to declare and access port_state_update_mask
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Tested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/vmstat.c')
0 files changed, 0 insertions, 0 deletions