diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2012-12-01 01:55:27 +0000 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2012-12-01 01:55:27 +0000 |
commit | ef492f11efed9a6a1686bf914fb74468df59385c (patch) | |
tree | db1edd6d5fffe80709a57a2a995b20c34f4d74ea /drivers/net/ethernet/sfc/siena.c | |
parent | 778cdaf639e34288c298f1d3d3503d0724ceabc7 (diff) |
sfc: Correctly initialise reset_method in siena_test_chip()
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/siena.c')
-rw-r--r-- | drivers/net/ethernet/sfc/siena.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/siena.c b/drivers/net/ethernet/sfc/siena.c index 3553d77a3fd..ba40f67e4f0 100644 --- a/drivers/net/ethernet/sfc/siena.c +++ b/drivers/net/ethernet/sfc/siena.c @@ -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); |