diff options
author | Michael Chan <mchan@broadcom.com> | 2009-12-03 15:58:00 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-03 15:58:00 -0800 |
commit | 012093f6d5d89e6ed6e89c55c383f84b1cff7a78 (patch) | |
tree | 14b514130bf8b0261e46592c6ca35518b7059bce /net/core | |
parent | 9b471446cb376e2d1a4ceb4695059acfc3437f32 (diff) | |
download | linux-3.10-012093f6d5d89e6ed6e89c55c383f84b1cff7a78.tar.gz linux-3.10-012093f6d5d89e6ed6e89c55c383f84b1cff7a78.tar.bz2 linux-3.10-012093f6d5d89e6ed6e89c55c383f84b1cff7a78.zip |
bnx2: Refine VPD logic.
- Replace magic values with constants
- Simplify length calculation and fix a bug
Based on valuable feedback from Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions