提交 ef492f11 编写于 作者: B Ben Hutchings

sfc: Correctly initialise reset_method in siena_test_chip()

Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
上级 778cdaf6
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册