commit | dabf24d168ae7da5c3dc8c383db64b200e9ab483 | [log] [tgz] |
---|---|---|
author | Ivan Vecera <ivecera@redhat.com> | Mon Jul 28 15:03:52 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 30 13:56:40 2014 -0700 |
tree | cc106b6b4bf7b6cc5dca7534b2be08b587363a95 | |
parent | 26bcd8b72563b4c54892c4c2a409f6656fb8ae8b [diff] |
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: Ivan Vecera <ivecera@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>