* [PATCH 2/4 v2] bonding: Fixed up a error "do not initialise statics to 0 or NULL" in bond_main.c
@ 2013-07-23 7:25 Ding Tianhong
2013-07-25 0:45 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Ding Tianhong @ 2013-07-23 7:25 UTC (permalink / raw)
To: Jay Vosburgh, Andy Gospodarek, David S. Miller, Netdev
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>
---
drivers/net/bonding/bond_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 5eb75ef..8ca04cb 100644
--- 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;
--
1.8.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 2/4 v2] bonding: Fixed up a error "do not initialise statics to 0 or NULL" in bond_main.c
2013-07-23 7:25 [PATCH 2/4 v2] bonding: Fixed up a error "do not initialise statics to 0 or NULL" in bond_main.c Ding Tianhong
@ 2013-07-25 0:45 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-07-25 0:45 UTC (permalink / raw)
To: dingtianhong; +Cc: fubar, andy, netdev
From: Ding Tianhong <dingtianhong@huawei.com>
Date: Tue, 23 Jul 2013 15:25:47 +0800
> The error is found by the checkpatch.pl tools.
>
> Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-25 0:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-23 7:25 [PATCH 2/4 v2] bonding: Fixed up a error "do not initialise statics to 0 or NULL" in bond_main.c Ding Tianhong
2013-07-25 0:45 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.