summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDave Olson <dave.olson@qlogic.com>2007-08-17 21:42:14 (GMT)
committerRoland Dreier <rolandd@cisco.com>2007-10-10 03:45:57 (GMT)
commitd29cc6efb9731a415957b8d0ff16e31729ed6837 (patch)
treeaff221b626e734db9b0ad9598dfafa6af41fe54f /lib
parent55046698faf6357ff7c53593dbfd43a9a3f681a7 (diff)
downloadlinux-fsl-qoriq-d29cc6efb9731a415957b8d0ff16e31729ed6837.tar.xz
IB/ipath: Future proof eeprom checksum code (contents reading)
In an earlier change, the amount of data read from the flash was mistakenly limited to the size known to the current driver. This causes problems when the length is increased, and written with the new longer version; the checksum would fail because not enough data was read. Always read the full 128 byte length to prevent this. Signed-off-by: Dave Olson <dave.olson@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions