]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sfc: Correctly initialise reset_method in siena_test_chip()
authorBen Hutchings <bhutchings@solarflare.com>
Sat, 1 Dec 2012 01:55:27 +0000 (01:55 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Mar 2013 19:11:56 +0000 (12:11 -0700)
[ Upstream commit ef492f11efed9a6a1686bf914fb74468df59385c ]

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/sfc/siena.c

index 20113191461a86227cf779cbbc3d3abd7e624175..b09ff7982b135d26a15af740e1305847dd7f2718 100644 (file)
@@ -170,7 +170,7 @@ static const struct efx_nic_register_test siena_register_tests[] = {
 
 static int siena_test_chip(struct efx_nic *efx, struct efx_self_tests *tests)
 {
-       enum reset_type reset_method = reset_method;
+       enum reset_type reset_method = RESET_TYPE_ALL;
        int rc, rc2;
 
        efx_reset_down(efx, reset_method);