diff options
author | Patrick Rabau <pr2345@gmail.com> | 2010-02-15 19:42:11 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-16 15:19:04 -0800 |
commit | c9885fe5a76dea798543f2938a872bc159e8e69a (patch) | |
tree | 47d0d0f90753dc2179cd36e12825b0e608ed3c50 /drivers/base/devres.c | |
parent | beb499afe3c9c006bb2d66ceaff0f354d0405ff4 (diff) | |
download | op-kernel-dev-c9885fe5a76dea798543f2938a872bc159e8e69a.zip op-kernel-dev-c9885fe5a76dea798543f2938a872bc159e8e69a.tar.gz |
bnx2: Fix bug when saving statistics.
This fixes the problem of dropping the carry when adding 2 32-bit values.
Switch to use array indexing for better readability.
Reported by and fix provided by Patrick Rabau.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/base/devres.c')
0 files changed, 0 insertions, 0 deletions