projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9402b74
)
bonding: Fixed up a error "do not initialise statics to 0 or NULL" in bond_main.c
author
dingtianhong
<dingtianhong@huawei.com>
Tue, 23 Jul 2013 07:25:47 +0000
(15:25 +0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 25 Jul 2013 00:45:23 +0000
(17:45 -0700)
The error is found by the checkpatch.pl tools.
Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Cc: Jay Vosburgh <fubar@us.ibm.com>
Cc: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/bonding/bond_main.c
b/drivers/net/bonding/bond_main.c
index 5cd8e0acf1602282d1d30066172c8e8f3e7c5467..414d07ef65401ed0990a7f44610f69537e2ecdd9 100644
(file)
--- a/
drivers/net/bonding/bond_main.c
+++ b/
drivers/net/bonding/bond_main.c
@@
-106,7
+106,7
@@
static char *arp_ip_target[BOND_MAX_ARP_TARGETS];
static char *arp_validate;
static char *arp_all_targets;
static char *fail_over_mac;
-static int all_slaves_active
= 0
;
+static int all_slaves_active;
static struct bond_params bonding_defaults;
static int resend_igmp = BOND_DEFAULT_RESEND_IGMP;