From: Ivan Vecera Date: Mon, 28 Jul 2014 13:03:52 +0000 (+0200) Subject: bna: fill the magic in bnad_get_eeprom() instead of validating X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dabf24d168ae7da5c3dc8c383db64b200e9ab483;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed