projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
778cdaf
)
sfc: Correctly initialise reset_method in siena_test_chip()
author
Ben Hutchings
<bhutchings@solarflare.com>
Sat, 1 Dec 2012 01:55:27 +0000
(
01:55
+0000)
committer
Ben Hutchings
<bhutchings@solarflare.com>
Sat, 1 Dec 2012 01:55:27 +0000
(
01:55
+0000)
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/siena.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/sfc/siena.c
b/drivers/net/ethernet/sfc/siena.c
index 3553d77a3fdc3fa47219e771291a307aec830c16..ba40f67e4f05da34c89475a68622375646da9dda 100644
(file)
--- 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);