aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-01-21 23:20:58 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-23 03:11:39 -0800
commit4c93566e2a61b48ef071a8d8a8fa9904c83a668e (patch)
tree5da4dffee090f69d3194fab20e5124e0ce3cba42 /net
parent[BLUETOOTH]: Move children of connection device to NULL before connection down. (diff)
downloadlinux-dev-4c93566e2a61b48ef071a8d8a8fa9904c83a668e.tar.xz
linux-dev-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')
0 files changed, 0 insertions, 0 deletions