diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-12-15 11:09:41 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-18 14:57:48 -0500 |
commit | 2794ffc441dde3109804085dc745e8014a4de224 (patch) | |
tree | d80d005d64cb8214246c3940695a77628e3f4eb5 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 20b56ed9f8adfb9a7fb1c878878c54aa4ed645c1 (diff) |
sfp: fix EEPROM reading in the case of non-SFF8472 SFPs
The EEPROM reading was trying to read from the second EEPROM address
if we requested the last byte from the SFF8079 EEPROM, which caused a
failure when the second EEPROM is not present. Discovered with a
S-RJ01 SFP module. Fix this.
Fixes: 73970055450e ("sfp: add SFP module support")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions