e1000e: improper return code signage
authorBruce Allan <bruce.w.allan@intel.com>
Fri, 20 Nov 2009 23:23:53 +0000 (23:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Nov 2009 19:33:56 +0000 (11:33 -0800)
commit98086a954a75152f8b09c131fa443205bae5fde1
treeb80d383232de8de30301f4d7257d3eed0fa7c13e
parent7ea9655f8a4ccefcd8fdea7eb4fc5dab98e1a7ba
e1000e: improper return code signage

The e1000_get_cable_length_82577() should return a negative value upon
error.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/phy.c