Commit 41ade8ee authored by Ben Hutchings's avatar Ben Hutchings Committed by Greg Kroah-Hartman

sfc: Correctly initialise reset_method in siena_test_chip()

[ Upstream commit ef492f11 ]
Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2672f1c1
...@@ -170,7 +170,7 @@ static const struct efx_nic_register_test siena_register_tests[] = { ...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment