e1000e: Use sizeof struct rather than pointer in e1000_get_eeprom()
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 1 Dec 2009 15:54:24 +0000 (15:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Dec 2009 08:35:56 +0000 (00:35 -0800)
commit8528b016d64a7c1c97ba6540ab53a538348d5026
tree34d777a9e8848b07ccd34fc4db0dc44bc831a018
parent07f025e6bad7292af3904b8f49cd33e7b5fe3467
e1000e: Use sizeof struct rather than pointer in e1000_get_eeprom()

Don't use the sizeof the pointer to clear the result

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/ethtool.c