ChangeSet@1.1852, 2004-07-13 16:58:30-07:00, torvalds@ppc970.osdl.org ppc64: fix up si_addr usage Al's last changes mean that it is now annotated as a user pointer, and we want to avoid warnings. ChangeSet@1.1851, 2004-07-13 11:30:17-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] compat_fillonedir() warning fix access_ok() expects a pointer, not unsigned long. It's not a problem on platforms that have this guy done as a macro (or ones that do not use fs/compat.c at all), but that's still wrong and on some platforms that care we actually have access_ok() as inlined function. Bogus cast removed. ChangeSet@1.1850, 2004-07-13 11:16:58-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] __vfs_follow_link() made inline again __vfs_follow_link() really should be inline; that's a special case since we are in the middle of recursion and really want to conserve stack space. Moved before the first use, made inline again. ChangeSet@1.1849, 2004-07-13 11:16:47-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: more fs/* NULL noise removal (partially based on patch from Mika Kukkonen) ChangeSet@1.1848, 2004-07-13 11:04:12-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: assorted drivers/* NULL noise removal ChangeSet@1.1847, 2004-07-13 11:03:58-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: net/* NULL noise removal ChangeSet@1.1846, 2004-07-13 11:03:46-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: drivers/usb NULL noise removal ChangeSet@1.1845, 2004-07-13 11:03:33-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: drivers/net partial NULL noise removal ChangeSet@1.1844, 2004-07-13 11:03:20-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: drivers/media NULL noise removal ChangeSet@1.1843, 2004-07-13 11:03:08-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: gemtek ioctl fix Dumb Typo(tm) - the first bug caught by 0/NULL checks (arg is really a kernel pointer there, so memset() is actually OK - results will be copied to userland by caller. Or would be, if we would not oops ;-) ChangeSet@1.1842, 2004-07-13 11:02:57-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: ipc compat annotations and cleanups ipc compat code switched to compat_alloc_user_space() and annotated. ChangeSet@1.1841, 2004-07-13 11:02:45-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: arch/* NULL noise removal ChangeSet@1.1840, 2004-07-13 11:02:33-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: signal annotation ss_sp in struct sigaltstack made __user ->si_addr and ->sival_ptr made __user your ->sa_restorer and ->sa_handler changes propagated users of these guys annotated on i386/amd64/alpha/sparc/sparc64 ChangeSet@1.1839, 2004-07-13 11:02:21-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: alpha topology.h compile fix Missing bits of cpumask_t conversion ChangeSet@1.1838, 2004-07-13 11:02:10-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: alpha sparse infrastructure * added usual CHECK assignment in Makefile * switched uaccess.h to __check_uptr() * added L on long constants (ones missed earlier) * added __user in osf_sys.c (duh - I've added __user to cast in the initializer, but forgot to add it in declaration) ChangeSet@1.1837, 2004-07-13 11:01:58-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: alpha NULL noise removal ChangeSet@1.1836, 2004-07-13 11:01:46-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: drivers/sbus annotation ChangeSet@1.1835, 2004-07-13 11:01:35-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: drivers/sbus fixes a) vfc is not 64bit-clean, marked as such in Kconfig b) aurora is simply broken - still uses tqueues. Marked as broken. c) vfc does dereferencing of userland pointer, right after having carefully copied the data to kernel space ;-) Fixed. d) vfc ->mmap() had missed prototype change. Fixed. e) BPP ioctls are misdeclared - they should've been _IO(...) instead of _IOR(..., void). Too late to fix, but we can at least make them _IOR(..., char) - same value, but doesn't try to find sizeof(void). ChangeSet@1.1834, 2004-07-13 11:01:23-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: NULL noise removal in drivers/sbus ChangeSet@1.1833, 2004-07-13 11:01:12-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: tms380tr.c fix tms380tr is used both by ISA and PCI drivers. Enabling/disabling DMA is done only for ISA ones (it's protected by if (dev->dma > 0) and PCI ones leave it 0), but it's compiled unconditionally. Which breaks on platforms that don't have that ISA crap at all, but support PCI just fine. Code in question placed under ifdef CONFIG_ISA. ChangeSet@1.1832, 2004-07-13 11:01:01-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: compile fix for rrunner on big-endian platforms bitrot strikes again... ChangeSet@1.1831, 2004-07-13 11:00:50-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: saa fix direct write to userland pointer. ChangeSet@1.1830, 2004-07-13 11:00:39-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: isdn compile fix for platforms with HZ > 1000 Division by zero is an ugly thing... We are safe wrt overflows, since the maximal value we ever pass is 10000 - not enough to overflow unless you've got a platform with HZ > 200000. ChangeSet@1.1829, 2004-07-13 11:00:27-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: usb ioctl cleanups usb ioctls in compat_ioctl.c switched to compat_alloc_user_space() and cleaned up; ioctl structures annotated. ChangeSet@1.1828, 2004-07-13 11:00:16-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: VIDIOCSWIN compat_ioctl fixes In handling of VIDIOCSWIN for 32bit on 64bit platforms: * switched to compat_alloc_user_space() * fixed memory corruption in copying arguments from userland * fixed arithmetic overflows * added missing checks for get_user() results and corresponding returns with -EFAULT. ChangeSet@1.1827, 2004-07-13 11:00:06-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: switching afs to kvec - afs and rxrpc switched to kvec; definition of kvec moved to uio.h (duh). - afs/mntpt.c got missing cast added. at that point afs is sparse-clean and rxrpc has only one remaining warning (setsockopt from local variable, protected by set_fs()). ChangeSet@1.1825, 2004-07-13 00:42:45-05:00, stevef@smfhome.smfdom Set DevMajor/DevMinor when querying info on remote char/block devices Signed-off-by: Steve French (sfrench@us.ibm.com) ChangeSet@1.1824, 2004-07-12 23:47:18-05:00, stevef@smfhome1.smfdom Set Type field when creating block/char/pipe e.g. via mknod. Fixing problem mentioned by Jeremy Allison remove spurious warning message logged on mount with credentials file (pointed out by Richard Hughes) Signed-off-by: Steve French (sfrench@us.ibm.com) ChangeSet@1.1823, 2004-07-12 21:41:31-05:00, stevef@smfhome.smfdom fix the null pointer sparse warning al viros way (resolving potential merge conflict) Signed-off-by: Steve French (sfrench@us.ibm.com) ChangeSet@1.1818.3.3, 2004-07-13 00:13:32+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 1962/1: S3C2410 - Rename MACH_VR1000 to Thorcom-VR1000 Patch from Ben Dooks Place correct machine name for VR1000 in machine support file. ChangeSet@1.1818.7.1, 2004-07-13 00:03:03+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 1961/1: S3C2410 - fix for UART FIFO size calculation Patch from Ben Dooks Fixes calculation of how many bytes in the RX/TX FIFOs. Previous code failed to check wether the full flags where set before returning the byte counter. This should ensure that the serial driver behaves correctly when the FIFO fills, and not just ignore the input data ChangeSet@1.1818.3.2, 2004-07-12 23:37:33+01:00, jelenz@edu.rmk.(none) [ARM PATCH] 1958/1: make collie use INIT_MACHINE Patch from John Lenz make collie use the new INIT_MACHINE macro instead of arch_initcall. ChangeSet@1.1818.6.15, 2004-07-12 14:27:49-07:00, steiner@sgi.com [PATCH] ia64: Reduce TLB flushing during process migration This patch adds an architecture-specific callout after explicit processor migrations. The callout allows architectures (or platforms) to update TLB specific information (ex., cpu_vm_mask). Signed-off-by: Jack Steiner Signed-off-by: David Mosberger ChangeSet@1.1811.4.13, 2004-07-12 13:28:17-07:00, kaos@sgi.com [PATCH] ia64: build fixes for IA64_MCA_DEBUG_INFO Make mca.c build again with debug enabled. Signed-off-by: Keith Owens Signed-off-by: David Mosberger ChangeSet@1.1818.6.13, 2004-07-12 09:09:51-07:00, viro@www.linux.org.uk [PATCH] sparse: drivers/media/* annotation ChangeSet@1.1818.6.12, 2004-07-12 09:09:37-07:00, viro@www.linux.org.uk [PATCH] sparse: blind dereference of userland pointers in ac7110 ChangeSet@1.1818.6.11, 2004-07-12 09:09:26-07:00, viro@www.linux.org.uk [PATCH] sparse: dvb_ringbuffer_pkt_write()/dvb_ringbuffer_write() annotation copy_from_user() moved from dvb_ringbuffer_{write,pkt_write}() to callers; these functions are always getting kernel pointer now. "usermem" argument killed, code annotated. ChangeSet@1.1818.6.10, 2004-07-12 09:09:14-07:00, viro@www.linux.org.uk [PATCH] sparse: drivers/isdn/* annotation ChangeSet@1.1818.6.9, 2004-07-12 09:09:03-07:00, viro@www.linux.org.uk [PATCH] sparse: blind dereference of userland pointers in divasproc ChangeSet@1.1818.6.8, 2004-07-12 09:08:51-07:00, viro@www.linux.org.uk [PATCH] sparse: ISDN ->readstat() and ->writecmd() annotation ->readstat() and ->writecmd() are always getting a userland pointer; marked argument as such, killed "user" flag, killed dead code. ChangeSet@1.1818.6.7, 2004-07-12 09:08:39-07:00, viro@www.linux.org.uk [PATCH] sparse: misc NULL noise in drivers/* ChangeSet@1.1818.6.6, 2004-07-12 09:08:24-07:00, viro@www.linux.org.uk [PATCH] sparse: NULL noise in drivers/isdn ChangeSet@1.1818.6.5, 2004-07-12 09:08:11-07:00, viro@www.linux.org.uk [PATCH] sparse: megaraid annotation ChangeSet@1.1818.6.4, 2004-07-12 09:08:00-07:00, viro@www.linux.org.uk [PATCH] sparse: megaraid inline fixes inlined functions moved, a couple of heavy-weight ones (issue_scb() and meg_cmd_done()) uninlined. ChangeSet@1.1818.6.3, 2004-07-12 09:07:49-07:00, viro@www.linux.org.uk [PATCH] sparse: aacraid annotation ChangeSet@1.1818.6.2, 2004-07-12 09:07:37-07:00, viro@www.linux.org.uk [PATCH] sparse: misc NULL noise in fs/* ChangeSet@1.1818.6.1, 2004-07-12 09:07:25-07:00, viro@www.linux.org.uk [PATCH] sparse: NULL noise in fs/reiserfs ChangeSet@1.1818.1.30, 2004-07-12 02:01:59-07:00, davem@nuts.davemloft.net [SPARC64]: Update defconfig. ChangeSet@1.1818.1.27, 2004-07-11 23:56:52-07:00, wesolows@foobazco.org [SPARC32]: Don't allow the kernel to read PAGE_NONE pages. ChangeSet@1.1818.1.26, 2004-07-11 23:09:44-07:00, wesolows@foobazco.org Merge foobazco.org:/sources/2.5-bk into foobazco.org:/sources/2.5-sparc-todave ChangeSet@1.1818.1.25, 2004-07-11 20:34:31-07:00, torvalds@ppc970.osdl.org x86: fix stackframe ownership confusion in sys_sigaltstack() gcc doesn't understand that "asmlinkage" routines have the argument stack owned by the assembly-language caller, and the recent sparse cleanup made gcc think it owns enough stack frame space to make a tailcall by overwriting "struct pt_regs" that is set up by the low-level system call code. Hide that problem again. The real fix would be to tell gcc that the caller owns the stack frame that it set up, but we don't have any such interfaces, so for now the best we can do is to hide it. ChangeSet@1.1818.1.23, 2004-07-11 17:49:02-07:00, gandalf@netfilter.org [NETFILTER]: Add timestamping to ipt_ULOG After Andi's timestamp optimizations we don't have any timestamps on the packets unless someone requested them. Here's a patch for 2.6 to explicitly timestamp the packets before we log them. Harald approved it some time ago, he's pretty busy so I'm sending it instead. Signed-off-by: Martin Josefsson Signed-off-by: David S. Miller ChangeSet@1.1818.1.22, 2004-07-11 17:47:10-07:00, akpm@osdl.org [SPARSE]: Fix warnings in net/sctp/ Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.1818.1.21, 2004-07-11 17:41:54-07:00, bunk@fs.tum.de [IPV4]: Remove no longer available URL. This patch solves Bugzilla #2445 by removing a no longer available URL from the help text for NET_IPIP. Noted by Nils Hammar . Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller ChangeSet@1.1818.4.1, 2004-07-11 17:19:27-07:00, davem@nuts.davemloft.net [SPARC64]: Add CMT register defines. ChangeSet@1.1822, 2004-07-11 18:34:22-05:00, stevef@smfhome.smfdom clean up NULL vs. 0 warnings generated by sparse tool ChangeSet@1.1818.3.1, 2004-07-12 00:16:21+01:00, rmk@flint.arm.linux.org.uk [ARM] ohci-omap does not need asm/mach-types.h ChangeSet@1.1818.2.71, 2004-07-11 14:54:01-07:00, torvalds@ppc970.osdl.org Remove obsoleted drivers/char/h8.c drivers/char/h8.h. ChangeSet@1.1818.2.70, 2004-07-11 10:32:43-07:00, torvalds@ppc970.osdl.org Linux 2.6.8-rc1 TAG: v2.6.8-rc1