X25: Move SYSCTL ifdefs into header
Subsystems (3)
PATCH RESEND 1/3 X25: Move SYSCTL ifdefs into header
Moves the CONFIG_SYSCTL ifdefs in x25_init into header.
include/net/x25.h +6 -0
@@ -287,8 +287,14 @@ extern unsigned long x25_display_timer(sextern void x25_check_rbuf (struct sock *);/* sysctl_net_x25.c */ +#ifdef CONFIG_SYSCTL extern void x25_register_sysctl (void );extern void x25_unregister_sysctl (void ); +#else +static inline void x25_register_sysctl (void ) {}; +static inline void x25_unregister_sysctl (void ) {}; +#endif /* CONFIG_SYSCTL */ +struct x25_skb_cb {unsigned flags; };
net/x25/af_x25.c +0 -4
@@ -1667,9 +1667,7 @@ static int __init x25_init(void)printk (KERN_INFO "X.25 for Linux Version 0.2\n" ); -#ifdef CONFIG_SYSCTL x25_register_sysctl (); -#endif x25_proc_init (); out:return rc;
@@ -1682,9 +1680,7 @@ static void __exit x25_exit(void)x25_link_free ();x25_route_free (); -#ifdef CONFIG_SYSCTL x25_unregister_sysctl (); -#endif unregister_netdevice_notifier (&x25_dev_notifier);
David Miller
maintainerThese patches do not apply to the current sources.
Please respin them against net-2.6
In fact it looks like at least your first patch is already in the tree.
Sorry, ignore these resends, all 3 are were in net-2.6 and made it to linux-next 2f5517aefcfbdd7fdf0f03b13d292a10d445887f 1fd975a0520cdb27681855d5a18526e328d36b5c 429d33ace5ce6122817f8abe9d170eaa55dc3af9
I'll watch git in the future, not the mailing list pull requests to track.
Quoted 8 lines · David Miller
These patches do not apply to the current sources.
Please respin them against net-2.6
In fact it looks like at least your first patch is already in the tree.
David Miller
maintainerFrom: andrew hendry <[email protected]>
Date: Wed, 16 Dec 2009 10:26:19 +1100
Quoted 5 lines
Sorry, ignore these resends, all 3 are were in net-2.6 and made it to linux-next
2f5517aefcfbdd7fdf0f03b13d292a10d445887f1fd975a0520cdb27681855d5a18526e328d36b5c429d33ace5ce6122817f8abe9d170eaa55dc3af9
I'll watch git in the future, not the mailing list pull requests to track.
Another good place to check is patchwork:
http://patchwork.ozlabs.org/patch/39256/
http://patchwork.ozlabs.org/patch/39257/
http://patchwork.ozlabs.org/patch/39258/
All of those patches were put into state "applied".
New patches show up at: