aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netfilter/xt_rateest.h
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2010-06-08 07:21:30 +0000
committerDavid S. Miller <davem@davemloft.net>2010-06-11 18:37:07 -0700
commitcbd6890c5987cd7115147e1dd2c10d729afabb08 (patch)
tree074d6e8fcb69fdc2d5a2d07d7a284c76f08b8771 /include/net/netfilter/xt_rateest.h
parentenic: cleanup vic_provinfo_alloc() (diff)
downloadlinux-dev-cbd6890c5987cd7115147e1dd2c10d729afabb08.tar.xz
linux-dev-cbd6890c5987cd7115147e1dd2c10d729afabb08.zip
bnx2: Fix compiler warning in bnx2_disable_forced_2g5().
drivers/net/bnx2.c: In function 'bnx2_disable_forced_2g5': drivers/net/bnx2.c:1489: warning: 'bmcr' may be used uninitialized in this function We fix it by checking return values from all bnx2_read_phy() and proceeding to do read-modify-write only if the read operation is successful. The related bnx2_enable_forced_2g5() is also fixed the same way. Reported-by: Prarit Bhargava <prarit@redhat.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netfilter/xt_rateest.h')
0 files changed, 0 insertions, 0 deletions