summaryrefslogtreecommitdiffstats
path: root/security/root_plug.c
diff options
context:
space:
mode:
authorDave Olson <dave.olson@qlogic.com>2007-08-17 14:42:14 -0700
committerRoland Dreier <rolandd@cisco.com>2007-10-09 20:45:57 -0700
commitd29cc6efb9731a415957b8d0ff16e31729ed6837 (patch)
treeaff221b626e734db9b0ad9598dfafa6af41fe54f /security/root_plug.c
parent55046698faf6357ff7c53593dbfd43a9a3f681a7 (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 'security/root_plug.c')
0 files changed, 0 insertions, 0 deletions