diff options
author | Alexander Viro <viro@www.linux.org.uk> | 2004-07-30 08:49:36 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-07-30 08:49:36 -0700 |
commit | a6c1323128246e9d5067865db44ab7f64e9cce15 (patch) | |
tree | 0d704c59ce88c2d79511db405e877649064ccc94 /kernel | |
parent | 6bd51af907a2e57285087f7e18b7b4abbf97f870 (diff) | |
download | history-a6c1323128246e9d5067865db44ab7f64e9cce15.tar.gz |
[PATCH] sparse: misc cleanups
all sorts of minor stuff - basically, all chunks are independent here,
but IMO that one is not worth splitting. Contains:
* pmac_cpufreq.c: declaration in the middle of a block.
* sys_ia32.c: couple of trivial annotations.
* ipmi_si_intf.c: should be using asm/irq.h instead of linux/irq.h
* synclink_cs.c: assignment-in-conditional with nobody ever looking
at the variable we are assigning to afterwards; variable removed.
* sbni.c: s/__volatile/__volatile__
* matroxfb_base.h: got rid of ((u32 *)p)++
* asm-ppc/checksum.h and asm-sparc64/floppy.h: NULL noise removal
* amd64 compat.h: missing L in long constant.
* mtd-abi.h: annotated ioctl structure
* sysctl.c: corrected annotations in extern
Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sysctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 3ae9e7568738c4..e7435ba0f35b15 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -113,7 +113,7 @@ extern int sysctl_hz_timer; #if defined(CONFIG_PPC32) && defined(CONFIG_6xx) extern unsigned long powersave_nap; int proc_dol2crvec(ctl_table *table, int write, struct file *filp, - void *buffer, size_t *lenp); + void __user *buffer, size_t *lenp); #endif #ifdef CONFIG_BSD_PROCESS_ACCT |