sfc: Correctly initialise reset_method in siena_test_chip()

[ Upstream commit ef492f11efed9a6a1686bf914fb74468df59385c ]

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ben Hutchings 2012-12-01 01:55:27 +00:00 committed by Greg Kroah-Hartman
parent 2672f1c1e7
commit 41ade8ee0d
1 changed files with 1 additions and 1 deletions

View 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) 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; int rc, rc2;
efx_reset_down(efx, reset_method); efx_reset_down(efx, reset_method);