Patchwork xfrm: C99 for xfrm_dev_notifier

login
register
mail settings
Submitter Alexey Dobriyan
Date Oct. 30, 2008, 9:44 a.m.
Message ID <20081030094407.GA5742@x200.localdomain>
Download mbox | patch
Permalink /patch/6459/
State Accepted
Delegated to: David Miller
Headers show

Comments

Alexey Dobriyan - Oct. 30, 2008, 9:44 a.m.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 net/xfrm/xfrm_policy.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - Oct. 31, 2008, 7:42 a.m.
From: Alexey Dobriyan <adobriyan@gmail.com>
Date: Thu, 30 Oct 2008 12:44:07 +0300

> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>

Applied to net-next-2.6
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

--- a/net/xfrm/xfrm_policy.c
+++ b/net/xfrm/xfrm_policy.c
@@ -2379,9 +2379,7 @@  static int xfrm_dev_event(struct notifier_block *this, unsigned long event, void
 }
 
 static struct notifier_block xfrm_dev_notifier = {
-	xfrm_dev_event,
-	NULL,
-	0
+	.notifier_call	= xfrm_dev_event,
 };
 
 #ifdef CONFIG_XFRM_STATISTICS