]> git.itanic.dy.fi Git - linux-stable/commit
e1000e: Fix return value test
authorBenjamin Poirier <bpoirier@suse.com>
Fri, 21 Jul 2017 18:36:25 +0000 (11:36 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Nov 2017 08:37:25 +0000 (08:37 +0000)
commit5df4097cfc7049f64cc0896ede59e94087abaefe
treeab1b587bacff6208ed5f5f697db115ea9d0920e8
parentfbb2d8000a8f2a257f33ecb2d1fc346dcfe2e09f
e1000e: Fix return value test

commit d3509f8bc7b0560044c15f0e3ecfde1d9af757a6 upstream.

All the helpers return -E1000_ERR_PHY.

Signed-off-by: Benjamin Poirier <bpoirier@suse.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/intel/e1000e/netdev.c