summaryrefslogtreecommitdiffstats
path: root/drivers/net/veth.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2016-08-24 23:21:41 +0200
committerDavid S. Miller <davem@davemloft.net>2016-08-26 01:52:44 +0200
commit9a0a5c4cb1af98b625dcefd72e987ca4929db71d (patch)
tree3f3e05f8206d766a367779e669d0c146ed910f18 /drivers/net/veth.c
parentnet: minor optimization in qdisc_qstats_cpu_drop() (diff)
downloadlinux-9a0a5c4cb1af98b625dcefd72e987ca4929db71d.tar.xz
linux-9a0a5c4cb1af98b625dcefd72e987ca4929db71d.zip
net: systemport: Fix ordering in intrl2_*_mask_clear macro
Since we keep shadow copies of which interrupt sources are enabled through the intrl2_*_mask_{set,clear} macros, make sure that the ordering in which we do these two operations: update the copy, then unmask the register is correct. This is not currently a problem because we actually do not use them, but we will in a subsequent patch optimizing register accesses, so better be safe here. Fixes: 80105befdb4b ("net: systemport: add Broadcom SYSTEMPORT Ethernet MAC driver") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/veth.c')
0 files changed, 0 insertions, 0 deletions