Skip to content
Commit dabf24d1 authored by Ivan Vecera's avatar Ivan Vecera Committed by David S. Miller
Browse files

bna: fill the magic in bnad_get_eeprom() instead of validating



A driver should fill magic field of ethtool_eeprom struct in .get_eeprom
and validate it in .set_eeprom. The bna incorrectly validates it in both
and this makes its .get_eeprom interface unusable.

Signed-off-by: default avatarIvan Vecera <ivecera@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 26bcd8b7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment