Patchwork [Trivial,29/33] ndisc: Convert use of typedef ctl_table to struct ctl_table

login
register
mail settings
Submitter Joe Perches
Date June 14, 2013, 2:37 a.m.
Message ID <9c7afffd58958d72a5f99c2e7f298b9824716f02.1371177118.git.joe@perches.com>
Download mbox | patch
Permalink /patch/251209/
State Accepted
Delegated to: David Miller
Headers show

Comments

Joe Perches - June 14, 2013, 2:37 a.m.
This typedef is unnecessary and should just be removed.

Signed-off-by: Joe Perches <joe@perches.com>
---
 include/net/ndisc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
David Miller - June 20, 2013, 6:18 a.m.
From: Joe Perches <joe@perches.com>
Date: Thu, 13 Jun 2013 19:37:54 -0700

> This typedef is unnecessary and should just be removed.
> 
> Signed-off-by: Joe Perches <joe@perches.com>

Applied.
--
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

diff --git a/include/net/ndisc.h b/include/net/ndisc.h
index 745bf74..949d775 100644
--- a/include/net/ndisc.h
+++ b/include/net/ndisc.h
@@ -230,7 +230,7 @@  extern int 			ndisc_ifinfo_sysctl_change(struct ctl_table *ctl,
 							   void __user *buffer,
 							   size_t *lenp,
 							   loff_t *ppos);
-int ndisc_ifinfo_sysctl_strategy(ctl_table *ctl,
+int ndisc_ifinfo_sysctl_strategy(struct ctl_table *ctl,
 				 void __user *oldval, size_t __user *oldlenp,
 				 void __user *newval, size_t newlen);
 #endif