Skip to content

Commit

Permalink
sfc: Correctly initialise reset_method in siena_test_chip()
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
  • Loading branch information
Ben Hutchings committed Dec 1, 2012
1 parent 778cdaf commit ef492f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/sfc/siena.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ef492f1

Please sign in to comment.