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