diff options
author | David S. Miller <davem@davemloft.net> | 2008-01-22 08:20:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-23 12:11:39 +0100 |
commit | 4c93566e2a61b48ef071a8d8a8fa9904c83a668e (patch) | |
tree | 5da4dffee090f69d3194fab20e5124e0ce3cba42 /net/ipv4/ip_output.c | |
parent | [BLUETOOTH]: Move children of connection device to NULL before connection down. (diff) | |
download | linux-4c93566e2a61b48ef071a8d8a8fa9904c83a668e.tar.xz linux-4c93566e2a61b48ef071a8d8a8fa9904c83a668e.zip |
[TULIP] DMFE: Fix SROM parsing regression.
Changeset 16b110c3fd760620b4a787db6ed512fe531ab1b5 (dmfe warning fix)
bothed up the offsets read from the SROM so that it doesn't read the
same datums it used to.
The change made transformations like turning:
"srom + 34"
into
"(__le32 *)srom + 34/4"
which doesn't work because 4 does not divide evenly
into 34 so we're using a different pointer offset
than in the original code.
I've changed theses cases in dmfe_parse_srom() to
consistently use "(type *)(srom + offset)" preserving
the offsets from the original code.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_output.c')
0 files changed, 0 insertions, 0 deletions