diff options
author | Dave Olson <dave.olson@qlogic.com> | 2007-08-17 14:42:14 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-10-09 20:45:57 -0700 |
commit | d29cc6efb9731a415957b8d0ff16e31729ed6837 (patch) | |
tree | aff221b626e734db9b0ad9598dfafa6af41fe54f /mm | |
parent | 55046698faf6357ff7c53593dbfd43a9a3f681a7 (diff) |
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 'mm')
0 files changed, 0 insertions, 0 deletions