Alexey Dobriyan
8d65af789f
sysctl: remove "struct file *" argument of ->proc_handler
...
It's unused.
It isn't needed -- read or write flag is already passed and sysctl
shouldn't care about the rest.
It _was_ used in two places at arch/frv for some reason.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com >
Cc: David Howells <dhowells@redhat.com >
Cc: "Eric W. Biederman" <ebiederm@xmission.com >
Cc: Al Viro <viro@zeniv.linux.org.uk >
Cc: Ralf Baechle <ralf@linux-mips.org >
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com >
Cc: Ingo Molnar <mingo@elte.hu >
Cc: "David S. Miller" <davem@davemloft.net >
Cc: James Morris <jmorris@namei.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2009-09-24 07:21:04 -07:00
John W. Linville
9fe0a8c838
arlan: fix warning when PROC_FS=n
...
drivers/net/wireless/arlan-proc.c:1216: warning: 'arlan_root_table' defined but not used
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2008-03-24 19:25:08 -04:00
Yoann Padioleau
6dbc9c89fb
[PATCH] dev->priv to netdev_priv(dev), for drivers/net/wireless
...
Replacing accesses to dev->priv to netdev_priv(dev). The replacment
is safe when netdev_priv is used to access a private structure that is
right next to the net_device structure in memory. Cf
http://groups.google.com/group/comp.os.linux.development.system/browse_thread/thread/de19321bcd94dbb8/0d74a4adcd6177bd
This is the case when the net_device structure was allocated with
a call to alloc_netdev or one of its derivative.
Signed-off-by: Yoann Padioleau <padator@wanadoo.fr >
Cc: mcgrof@gmail.com
Cc: linux-wireless@vger.kernel.org
Cc: akpm@linux-foundation.org
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2007-10-10 16:49:37 -07:00
Eric W. Biederman
0b4d414714
[PATCH] sysctl: remove insert_at_head from register_sysctl
...
The semantic effect of insert_at_head is that it would allow new registered
sysctl entries to override existing sysctl entries of the same name. Which is
pain for caching and the proc interface never implemented.
I have done an audit and discovered that none of the current users of
register_sysctl care as (excpet for directories) they do not register
duplicate sysctl entries.
So this patch simply removes the support for overriding existing entries in
the sys_sysctl interface since no one uses it or cares and it makes future
enhancments harder.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com >
Acked-by: Ralf Baechle <ralf@linux-mips.org >
Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com >
Cc: Russell King <rmk@arm.linux.org.uk >
Cc: David Howells <dhowells@redhat.com >
Cc: "Luck, Tony" <tony.luck@intel.com >
Cc: Ralf Baechle <ralf@linux-mips.org >
Cc: Paul Mackerras <paulus@samba.org >
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com >
Cc: Andi Kleen <ak@muc.de >
Cc: Jens Axboe <axboe@kernel.dk >
Cc: Corey Minyard <minyard@acm.org >
Cc: Neil Brown <neilb@suse.de >
Cc: "John W. Linville" <linville@tuxdriver.com >
Cc: James Bottomley <James.Bottomley@steeleye.com >
Cc: Jan Kara <jack@ucw.cz >
Cc: Trond Myklebust <trond.myklebust@fys.uio.no >
Cc: Mark Fasheh <mark.fasheh@oracle.com >
Cc: David Chinner <dgc@sgi.com >
Cc: "David S. Miller" <davem@davemloft.net >
Cc: Patrick McHardy <kaber@trash.net >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2007-02-14 08:09:59 -08:00
Eric W. Biederman
59fc5313b3
[PATCH] sysctl: register the sysctl number used by the arlan driver
...
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com >
Cc: "John W. Linville" <linville@tuxdriver.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2007-02-14 08:09:57 -08:00
Jörn Engel
6ab3d5624e
Remove obsolete #include <linux/config.h>
...
Signed-off-by: Jörn Engel <joern@wohnheim.fh-wedel.de >
Signed-off-by: Adrian Bunk <bunk@stusta.de >
2006-06-30 19:25:36 +02:00
Linus Torvalds
1da177e4c3
Linux-2.6.12-rc2
...
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
2005-04-16 15:20:36 -07:00