]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] fix return codes after i2c_add_driver() in tea6415c and tea6420
Michael Hunold [Wed, 14 Jul 2004 02:27:38 +0000 (19:27 -0700)]
[PATCH] fix return codes after i2c_add_driver() in tea6415c and tea6420

In two of my i2c helper drivers the return value of i2c_add_driver() is
ignored.  Thanks to Arthur Othieno for finding these bugs.

Signed-off-by: Arthur Othieno <a.othieno@bluewin.ch>
Signed-off-by: Michael Hunold <hunold@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix saa7146 compilation
Michael Hunold [Wed, 14 Jul 2004 02:27:27 +0000 (19:27 -0700)]
[PATCH] fix saa7146 compilation

From: Colin Leroy <colin@colino.net>

This patch fixes a compilation error on 2.6.8-rc1.  Here's the error:
drivers/media/common/saa7146_video.c:3: conflicting types for `memory'
include/asm-m68k/setup.h:365: previous declaration of `memory' make[3]: ***
[drivers/media/common/saa7146_video.o] Error 1

Signed-off-by: Colin Leroy <colin@colino.net>
Signed-off-by: Michael Hunold <hunold@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] autoselect FAT_FS in config
Hirofumi Ogawa [Wed, 14 Jul 2004 02:27:16 +0000 (19:27 -0700)]
[PATCH] autoselect FAT_FS in config

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] remove struct_cpy()
Andrew Morton [Wed, 14 Jul 2004 02:27:05 +0000 (19:27 -0700)]
[PATCH] remove struct_cpy()

Only two architectures implement it, so afs broke the build.

Remove struct_cpy() altogether, and use structure assignments.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] `unknown symbol' in sound/oss/kahlua.ko needs unknown symbol udelay
Pawel Sikora [Wed, 14 Jul 2004 02:26:53 +0000 (19:26 -0700)]
[PATCH] `unknown symbol' in sound/oss/kahlua.ko needs unknown symbol udelay

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] floppy.c: remove superfluous variable initialization
Adrian Bunk [Wed, 14 Jul 2004 02:26:42 +0000 (19:26 -0700)]
[PATCH] floppy.c: remove superfluous variable initialization

From: Kam Leo <A1tmblwd@netscape.net>

Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] #ifndef guard percpu_counter.h and blockgroup_lock.h
Adrian Bunk [Wed, 14 Jul 2004 02:26:31 +0000 (19:26 -0700)]
[PATCH] #ifndef guard percpu_counter.h and blockgroup_lock.h

Insert header guards to allow possible multiple inclusion for
include/linux/percpu_counter.h and include/linux/blockgroup_lock.h

Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] small style fixups for the new automount code
Christoph Hellwig [Wed, 14 Jul 2004 02:26:20 +0000 (19:26 -0700)]
[PATCH] small style fixups for the new automount code

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Fix 3c59x.c uses of plain integer as NULL pointer
Petri T. Koistinen [Wed, 14 Jul 2004 02:26:09 +0000 (19:26 -0700)]
[PATCH] Fix 3c59x.c uses of plain integer as NULL pointer

This patch will fix 3Com "Vortex" and "Boomerang" ethernet driver sparse
warnings about using plain integer as NULL pointer.

Signed-off-by: Petri T. Koistinen <petri.koistinen@iki.fi>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] pmac_zilog: initialize port spinlock on all init paths
David Eger [Wed, 14 Jul 2004 02:25:57 +0000 (19:25 -0700)]
[PATCH] pmac_zilog: initialize port spinlock on all init paths

pmac_zilog: initialize the serial ports' spinlocks even if console over
   serial is not enabled; disable this driver by default for ppc

This lock not being initialized was Oopsing my TiBook :-P

Signed-off-by: David Eger <eger@havoc.gtf.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoppc64: fix up si_addr usage
Linus Torvalds [Tue, 13 Jul 2004 09:58:30 +0000 (02:58 -0700)]
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.

22 years ago[PATCH] compat_fillonedir() warning fix
Alexander Viro [Tue, 13 Jul 2004 04:30:17 +0000 (21:30 -0700)]
[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.

22 years ago[PATCH] __vfs_follow_link() made inline again
Alexander Viro [Tue, 13 Jul 2004 04:16:58 +0000 (21:16 -0700)]
[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.

22 years ago[PATCH] sparse: more fs/* NULL noise removal
Alexander Viro [Tue, 13 Jul 2004 04:16:47 +0000 (21:16 -0700)]
[PATCH] sparse: more fs/* NULL noise removal

(partially based on patch from Mika Kukkonen)

22 years ago[PATCH] sparse: assorted drivers/* NULL noise removal
Alexander Viro [Tue, 13 Jul 2004 04:04:12 +0000 (21:04 -0700)]
[PATCH] sparse: assorted drivers/* NULL noise removal

22 years ago[PATCH] sparse: net/* NULL noise removal
Alexander Viro [Tue, 13 Jul 2004 04:03:58 +0000 (21:03 -0700)]
[PATCH] sparse: net/* NULL noise removal

22 years ago[PATCH] sparse: drivers/usb NULL noise removal
Alexander Viro [Tue, 13 Jul 2004 04:03:46 +0000 (21:03 -0700)]
[PATCH] sparse: drivers/usb NULL noise removal

22 years ago[PATCH] sparse: drivers/net partial NULL noise removal
Alexander Viro [Tue, 13 Jul 2004 04:03:33 +0000 (21:03 -0700)]
[PATCH] sparse: drivers/net partial NULL noise removal

22 years ago[PATCH] sparse: drivers/media NULL noise removal
Alexander Viro [Tue, 13 Jul 2004 04:03:20 +0000 (21:03 -0700)]
[PATCH] sparse: drivers/media NULL noise removal

22 years ago[PATCH] sparse: gemtek ioctl fix
Alexander Viro [Tue, 13 Jul 2004 04:03:08 +0000 (21:03 -0700)]
[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  ;-)

22 years ago[PATCH] sparse: ipc compat annotations and cleanups
Alexander Viro [Tue, 13 Jul 2004 04:02:57 +0000 (21:02 -0700)]
[PATCH] sparse: ipc compat annotations and cleanups

ipc compat code switched to compat_alloc_user_space() and annotated.

22 years ago[PATCH] sparse: arch/* NULL noise removal
Alexander Viro [Tue, 13 Jul 2004 04:02:45 +0000 (21:02 -0700)]
[PATCH] sparse: arch/* NULL noise removal

22 years ago[PATCH] sparse: signal annotation
Alexander Viro [Tue, 13 Jul 2004 04:02:33 +0000 (21:02 -0700)]
[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

22 years ago[PATCH] sparse: alpha topology.h compile fix
Alexander Viro [Tue, 13 Jul 2004 04:02:21 +0000 (21:02 -0700)]
[PATCH] sparse: alpha topology.h compile fix

Missing bits of cpumask_t conversion

22 years ago[PATCH] sparse: alpha sparse infrastructure
Alexander Viro [Tue, 13 Jul 2004 04:02:10 +0000 (21:02 -0700)]
[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)

22 years ago[PATCH] sparse: alpha NULL noise removal
Alexander Viro [Tue, 13 Jul 2004 04:01:58 +0000 (21:01 -0700)]
[PATCH] sparse: alpha NULL noise removal

22 years ago[PATCH] sparse: drivers/sbus annotation
Alexander Viro [Tue, 13 Jul 2004 04:01:46 +0000 (21:01 -0700)]
[PATCH] sparse: drivers/sbus annotation

22 years ago[PATCH] sparse: drivers/sbus fixes
Alexander Viro [Tue, 13 Jul 2004 04:01:35 +0000 (21:01 -0700)]
[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).

22 years ago[PATCH] sparse: NULL noise removal in drivers/sbus
Alexander Viro [Tue, 13 Jul 2004 04:01:23 +0000 (21:01 -0700)]
[PATCH] sparse: NULL noise removal in drivers/sbus

22 years ago[PATCH] sparse: tms380tr.c fix
Alexander Viro [Tue, 13 Jul 2004 04:01:12 +0000 (21:01 -0700)]
[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.

22 years ago[PATCH] sparse: compile fix for rrunner on big-endian platforms
Alexander Viro [Tue, 13 Jul 2004 04:01:01 +0000 (21:01 -0700)]
[PATCH] sparse: compile fix for rrunner on big-endian platforms

bitrot strikes again...

22 years ago[PATCH] sparse: saa fix
Alexander Viro [Tue, 13 Jul 2004 04:00:50 +0000 (21:00 -0700)]
[PATCH] sparse: saa fix

direct write to userland pointer.

22 years ago[PATCH] sparse: isdn compile fix for platforms with HZ > 1000
Alexander Viro [Tue, 13 Jul 2004 04:00:39 +0000 (21:00 -0700)]
[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.

22 years ago[PATCH] sparse: usb ioctl cleanups
Alexander Viro [Tue, 13 Jul 2004 04:00:27 +0000 (21:00 -0700)]
[PATCH] sparse: usb ioctl cleanups

usb ioctls in compat_ioctl.c switched to compat_alloc_user_space()
and cleaned up; ioctl structures annotated.

22 years ago[PATCH] sparse: VIDIOCSWIN compat_ioctl fixes
Alexander Viro [Tue, 13 Jul 2004 04:00:16 +0000 (21:00 -0700)]
[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.

22 years ago[PATCH] sparse: switching afs to kvec
Alexander Viro [Tue, 13 Jul 2004 04:00:06 +0000 (21:00 -0700)]
[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()).

22 years agoMerge bk://cifs.bkbits.net/linux-2.5cifs
Linus Torvalds [Mon, 12 Jul 2004 17:20:03 +0000 (10:20 -0700)]
Merge bk://cifs.bkbits.net/linux-2.5cifs
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoSet DevMajor/DevMinor when querying info on remote char/block devices
Steve French [Mon, 12 Jul 2004 19:42:45 +0000 (14:42 -0500)]
Set DevMajor/DevMinor when querying info on remote char/block devices

Signed-off-by: Steve French (sfrench@us.ibm.com)
22 years agoSet Type field when creating block/char/pipe e.g. via mknod.
Steve French [Mon, 12 Jul 2004 18:47:18 +0000 (13:47 -0500)]
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)
22 years agofix the null pointer sparse warning al viros way (resolving potential merge conflict)
Steve French [Mon, 12 Jul 2004 16:41:31 +0000 (11:41 -0500)]
fix the null pointer sparse warning al viros way (resolving potential merge conflict)

Signed-off-by: Steve French (sfrench@us.ibm.com)
22 years agoMerge bk://linux.bkbits.net/linux-2.5
Steve French [Mon, 12 Jul 2004 12:21:07 +0000 (05:21 -0700)]
Merge bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-serial
Linus Torvalds [Mon, 12 Jul 2004 10:54:20 +0000 (03:54 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-serial
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[ARM PATCH] 1961/1: S3C2410 - fix for UART FIFO size calculation
Ben Dooks [Tue, 13 Jul 2004 01:03:03 +0000 (02:03 +0100)]
[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

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Mon, 12 Jul 2004 10:52:29 +0000 (03:52 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[ARM PATCH] 1962/1: S3C2410 - Rename MACH_VR1000 to Thorcom-VR1000
Ben Dooks [Tue, 13 Jul 2004 01:13:32 +0000 (02:13 +0100)]
[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.

22 years ago[ARM PATCH] 1958/1: make collie use INIT_MACHINE
John Lenz [Tue, 13 Jul 2004 00:37:33 +0000 (01:37 +0100)]
[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.

22 years agoMerge http://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Mon, 12 Jul 2004 10:42:23 +0000 (03:42 -0700)]
Merge http://lia64.bkbits.net/to-linus-2.5
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] ia64: Reduce TLB flushing during process migration
Jack Steiner [Mon, 12 Jul 2004 07:27:49 +0000 (00:27 -0700)]
[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 <steiner@sgi.com>
Signed-off-by: David Mosberger <davidm@hpl.hp.com>
22 years agoMerge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5
David Mosberger [Mon, 12 Jul 2004 07:24:00 +0000 (00:24 -0700)]
Merge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5
into tiger.hpl.hp.com:/data1/bk/lia64/to-linus-2.5

22 years agoMerge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
David S. Miller [Mon, 12 Jul 2004 06:51:17 +0000 (23:51 -0700)]
Merge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

22 years ago[PATCH] ia64: build fixes for IA64_MCA_DEBUG_INFO
Keith Owens [Mon, 12 Jul 2004 06:28:17 +0000 (23:28 -0700)]
[PATCH] ia64: build fixes for IA64_MCA_DEBUG_INFO

Make mca.c build again with debug enabled.

Signed-off-by: Keith Owens <kaos@sgi.com>
Signed-off-by: David Mosberger <davidm@hpl.hp.com>
22 years ago[PATCH] sparse: drivers/media/* annotation
Alexander Viro [Mon, 12 Jul 2004 02:09:51 +0000 (19:09 -0700)]
[PATCH] sparse: drivers/media/* annotation

22 years ago[PATCH] sparse: blind dereference of userland pointers in ac7110
Alexander Viro [Mon, 12 Jul 2004 02:09:37 +0000 (19:09 -0700)]
[PATCH] sparse: blind dereference of userland pointers in ac7110

22 years ago[PATCH] sparse: dvb_ringbuffer_pkt_write()/dvb_ringbuffer_write() annotation
Alexander Viro [Mon, 12 Jul 2004 02:09:26 +0000 (19:09 -0700)]
[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.

22 years ago[PATCH] sparse: drivers/isdn/* annotation
Alexander Viro [Mon, 12 Jul 2004 02:09:14 +0000 (19:09 -0700)]
[PATCH] sparse: drivers/isdn/* annotation

22 years ago[PATCH] sparse: blind dereference of userland pointers in divasproc
Alexander Viro [Mon, 12 Jul 2004 02:09:03 +0000 (19:09 -0700)]
[PATCH] sparse: blind dereference of userland pointers in divasproc

22 years ago[PATCH] sparse: ISDN ->readstat() and ->writecmd() annotation
Alexander Viro [Mon, 12 Jul 2004 02:08:51 +0000 (19:08 -0700)]
[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.

22 years ago[PATCH] sparse: misc NULL noise in drivers/*
Alexander Viro [Mon, 12 Jul 2004 02:08:39 +0000 (19:08 -0700)]
[PATCH] sparse: misc NULL noise in drivers/*

22 years ago[PATCH] sparse: NULL noise in drivers/isdn
Alexander Viro [Mon, 12 Jul 2004 02:08:24 +0000 (19:08 -0700)]
[PATCH] sparse: NULL noise in drivers/isdn

22 years ago[PATCH] sparse: megaraid annotation
Alexander Viro [Mon, 12 Jul 2004 02:08:11 +0000 (19:08 -0700)]
[PATCH] sparse: megaraid annotation

22 years ago[PATCH] sparse: megaraid inline fixes
Alexander Viro [Mon, 12 Jul 2004 02:08:00 +0000 (19:08 -0700)]
[PATCH] sparse: megaraid inline fixes

inlined functions moved, a couple of heavy-weight ones (issue_scb()
and meg_cmd_done()) uninlined.

22 years ago[PATCH] sparse: aacraid annotation
Alexander Viro [Mon, 12 Jul 2004 02:07:49 +0000 (19:07 -0700)]
[PATCH] sparse: aacraid annotation

22 years ago[PATCH] sparse: misc NULL noise in fs/*
Alexander Viro [Mon, 12 Jul 2004 02:07:37 +0000 (19:07 -0700)]
[PATCH] sparse: misc NULL noise in fs/*

22 years ago[PATCH] sparse: NULL noise in fs/reiserfs
Alexander Viro [Mon, 12 Jul 2004 02:07:25 +0000 (19:07 -0700)]
[PATCH] sparse: NULL noise in fs/reiserfs

22 years ago[ARM] ohci-omap does not need asm/mach-types.h
Russell King [Mon, 12 Jul 2004 01:16:21 +0000 (02:16 +0100)]
[ARM] ohci-omap does not need asm/mach-types.h

22 years ago[SPARC64]: Update defconfig.
David S. Miller [Sun, 11 Jul 2004 19:01:59 +0000 (12:01 -0700)]
[SPARC64]: Update defconfig.

22 years agoMerge bk://kernel.bkbits.net/wesolows/sparc32-2.6
David S. Miller [Sun, 11 Jul 2004 18:49:34 +0000 (11:49 -0700)]
Merge bk://kernel.bkbits.net/wesolows/sparc32-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

22 years agoMerge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
David S. Miller [Sun, 11 Jul 2004 18:46:21 +0000 (11:46 -0700)]
Merge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

22 years agoMerge ssh://kernel.bkbits.net/sparc32-2.6
Keith M. Wesolowski [Sun, 11 Jul 2004 17:20:23 +0000 (10:20 -0700)]
Merge ssh://kernel.bkbits.net/sparc32-2.6
into foobazco.org:/sources/2.5-sparc-todave

22 years agoMerge kernel.bkbits.net:/home/repos/linux-2.5
Keith M. Wesolowski [Mon, 12 Jul 2004 00:02:22 +0000 (17:02 -0700)]
Merge kernel.bkbits.net:/home/repos/linux-2.5
into kernel.bkbits.net:/home/wesolows/sparc32-2.6

22 years ago[SPARC32]: Don't allow the kernel to read PAGE_NONE pages.
Keith M. Wesolowski [Sun, 11 Jul 2004 16:56:52 +0000 (09:56 -0700)]
[SPARC32]: Don't allow the kernel to read PAGE_NONE pages.

22 years agoMerge foobazco.org:/sources/2.5-bk
Keith M. Wesolowski [Sun, 11 Jul 2004 16:09:44 +0000 (09:09 -0700)]
Merge foobazco.org:/sources/2.5-bk
into foobazco.org:/sources/2.5-sparc-todave

22 years agox86: fix stackframe ownership confusion in sys_sigaltstack()
Linus Torvalds [Sun, 11 Jul 2004 13:34:31 +0000 (06:34 -0700)]
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.

22 years agoclean up NULL vs. 0 warnings generated by sparse tool
Steve French [Sun, 11 Jul 2004 13:34:22 +0000 (08:34 -0500)]
clean up NULL vs. 0 warnings generated by sparse tool

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Sun, 11 Jul 2004 13:27:29 +0000 (06:27 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[NETFILTER]: Add timestamping to ipt_ULOG
Martin Josefsson [Sun, 11 Jul 2004 10:49:02 +0000 (03:49 -0700)]
[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 <gandalf@netfilter.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[SPARSE]: Fix warnings in net/sctp/
Andrew Morton [Sun, 11 Jul 2004 10:47:10 +0000 (03:47 -0700)]
[SPARSE]: Fix warnings in net/sctp/

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[IPV4]: Remove no longer available URL.
Adrian Bunk [Sun, 11 Jul 2004 10:41:54 +0000 (03:41 -0700)]
[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 <m4341@bedug.com>.

Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[SPARC64]: Add CMT register defines.
David S. Miller [Sun, 11 Jul 2004 10:19:27 +0000 (03:19 -0700)]
[SPARC64]: Add CMT register defines.

22 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Sun, 11 Jul 2004 10:01:09 +0000 (03:01 -0700)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years agoMerge bk://linux.bkbits.net/linux-2.5
Steve French [Sun, 11 Jul 2004 08:03:22 +0000 (01:03 -0700)]
Merge bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs

22 years agoRemove obsoleted drivers/char/h8.c drivers/char/h8.h.
Linus Torvalds [Sun, 11 Jul 2004 07:54:01 +0000 (00:54 -0700)]
Remove obsoleted drivers/char/h8.c drivers/char/h8.h.

22 years agoMerge bk://linux.bkbits.net/linux-2.5
Steve French [Sun, 11 Jul 2004 04:07:02 +0000 (21:07 -0700)]
Merge bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs

22 years agoLinux 2.6.8-rc1 v2.6.8-rc1
Linus Torvalds [Sun, 11 Jul 2004 03:32:43 +0000 (20:32 -0700)]
Linux 2.6.8-rc1

22 years ago[PATCH] sparse: NULL noise in jfs
Alexander Viro [Sun, 11 Jul 2004 03:08:59 +0000 (20:08 -0700)]
[PATCH] sparse: NULL noise in jfs

22 years ago[PATCH] sparse: NULL noise in jffs
Alexander Viro [Sun, 11 Jul 2004 03:08:48 +0000 (20:08 -0700)]
[PATCH] sparse: NULL noise in jffs

22 years ago[PATCH] sparse: NULL noise is mtd
Alexander Viro [Sun, 11 Jul 2004 03:08:38 +0000 (20:08 -0700)]
[PATCH] sparse: NULL noise is mtd

0->NULL conversions in mtd

22 years ago[PATCH] sparse: removal of iovec use in mtd
Alexander Viro [Sun, 11 Jul 2004 03:08:26 +0000 (20:08 -0700)]
[PATCH] sparse: removal of iovec use in mtd

mtd, jffs and jffs2 switched from iovec to kvec

22 years agoppc64: export the user copy functions.
Linus Torvalds [Sun, 11 Jul 2004 03:04:18 +0000 (20:04 -0700)]
ppc64: export the user copy functions.

When Anton uninlined them, he didn't remember to export them
to modules..

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
Linus Torvalds [Sun, 11 Jul 2004 02:54:07 +0000 (19:54 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PCMCIA] Clean up class device attribute registration and fix build error
Russell King [Sun, 11 Jul 2004 11:58:09 +0000 (12:58 +0100)]
[PCMCIA] Clean up class device attribute registration and fix build error

22 years ago[PATCH] kill IKCONFIG_VERSION
Adrian Bunk [Sun, 11 Jul 2004 02:39:27 +0000 (19:39 -0700)]
[PATCH] kill IKCONFIG_VERSION

The patch below (already ACK'ed by Randy Dunlap) kills the unused
IKCONFIG_VERSION from kernel/configs.c .

This patch is based on a previous patch by Anton Blanchard and an idea of
Bartlomiej Zolnierkiewicz.  (I hope I haven't forgotten anyone who contributed
to this patch.  ;-) )

Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] remove drivers/char/h8.{c,h}
Adrian Bunk [Sun, 11 Jul 2004 02:39:16 +0000 (19:39 -0700)]
[PATCH] remove drivers/char/h8.{c,h}

CONFIG_H8 in drivers/char/ depends in both 2.4 and 2.6 on
CONFIG_OBSOLETE which is never enabled.

To remove this driver, the following is required additionally to the
patch below:
  rm drivers/char/h8.c
  rm drivers/char/h8.h

This patch was already ACK'ed by Richard Henderson.

Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] remove outdated ext2 help text parts
Adrian Bunk [Sun, 11 Jul 2004 02:39:05 +0000 (19:39 -0700)]
[PATCH] remove outdated ext2 help text parts

The patch below solves Bugzilla #3014 by removing much outdated information
from the ext2 help text.

The help text is now very short, but few correct information is better than
outdated information - and if you think it's too short, feel free to send a
patch that adds more current information.

Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix (UDF_FS=y && NLS=m) compile error
Adrian Bunk [Sun, 11 Jul 2004 02:38:54 +0000 (19:38 -0700)]
[PATCH] fix (UDF_FS=y && NLS=m) compile error

The patch below fixes Bugzilla #3030 ((UDF_FS=y && NLS=m) results in a
compile error).

Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] s390: cpu hotplug bugs
Martin Schwidefsky [Sun, 11 Jul 2004 02:38:42 +0000 (19:38 -0700)]
[PATCH] s390: cpu hotplug bugs

[PATCH] s390: cpu hotplug bugs.

From: Ursula Braun-Krahl <braunu@de.ibm.com>
From: Martin Schwidefsky <schwidefsky@de.ibm.com>

iucv driver changes:
 - Fix iucv declare/retrieve buffer which the cpu hotplug patch has broken.
 - Make smp_call_function_on call func(info) in non-smp kernels.
 - Use a spinlock to get smp_get_cpu/smp_put_cpu race free.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] s390: signals & exceptions
Martin Schwidefsky [Sun, 11 Jul 2004 02:38:31 +0000 (19:38 -0700)]
[PATCH] s390: signals & exceptions

From: Martin Schwidefsky <schwidefsky@de.ibm.com>
From: Ulrich Weigand <uweigand@de.ibm.com>

s390 core changes:
 - Add signo between signal frame and the signal return instruction on the
   user stack for backtrace over signal handlers.
 - Add hfp floating point exceptions.
 - Use a single function for region, segment and page translation exceptions.
 - Discard SIGTRAP for single stepped instructions if the trapping instruction
   is repeated (normal memory faults) or if another signal is delivered anyway.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] mpage_writepages() i_size reading fix
Andrea Arcangeli [Sun, 11 Jul 2004 02:38:19 +0000 (19:38 -0700)]
[PATCH] mpage_writepages() i_size reading fix

I believe reading the i_size from memory multiple times can generate fs
corruption.  The "offset" and the "end_index" were not coherent.  this is
writepages and it runs w/o the i_sem, so the i_size can change from under
us anytime.  If a parallel write happens while writepages run, the i_size
could advance from 4095 to 4100.  With the current 2.6 code that could
translate in end_index = 0 and offset = 4.  That's broken because end_index
and offset could be not coherent.  Either end_index=1 and offset =4, or
end_index = 0 and offset = 4095.  When they lose coherency the memset can
zeroout actual data.  The below patch fixes that (it's at least a
theoretical bug).

I don't really expect this tiny race to fix the bug in practice after the
more serious bugs we covered yesterday didn't fix it (more likely the
compiler will get involved into the equation soon ;).

This is also an optimization for 32bit archs that needs special locking to
read 64bit i_size coherenty.

This patch also arranges for mpage_writepages() to always zero out the file's
final page between i_size and the end of the file's final block.  This is a
best-effort correctness thing to deal with errant applications which write
into the mmapped page beyond the underlying file's EOF.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] __block_write_full_page() comment fixups
Andrea Arcangeli [Sun, 11 Jul 2004 02:38:08 +0000 (19:38 -0700)]
[PATCH] __block_write_full_page() comment fixups

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] writepage fs corruption fix
Andrea Arcangeli [Sun, 11 Jul 2004 02:37:57 +0000 (19:37 -0700)]
[PATCH] writepage fs corruption fix

Fix a data loss bug in mpage_writepages(), triggerable under extreme memory
pressure on ext2, JFS, hfs and hfsplus:

The bug is the marking of the bh clean despite we could still run into the
"confused" path.  After that the confused path really becomes confused and it
writes nothing and fs corruption triggers silenty (the reugular writepage only
writes bh that are marked dirty, it never attempts to submit_bh anything
marked clean).  The mpage-writepage code must never mark the bh clean as far
as it wants to still fallback in the regular writepage which depends on the bh
to be dirty (i.e.  the "goto confused" path).  This could only triggers with
memory pressure (it also needs buffer_heads_over_limit == 0, and that is
frequent under mm pressure).

Thanks a lot to Chris for his fine debugging that localized the problem in the
writepage code.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>