]> git.neil.brown.name Git - history.git/log
history.git
21 years ago[PATCH] sparse: nf_sockopt() annotation
Alexander Viro [Sat, 29 May 2004 12:36:13 +0000 (05:36 -0700)]
[PATCH] sparse: nf_sockopt() annotation

netfilter set/getsockopt annotated.  That's a continuation of previous
patch - by now the only remaining place where setsockopt()/getsockopt()
userland pointers are not traced is vcc_[sg]etsockopt() and down into the
ATM drivers.  Everything from that area in net/* should be done by now.

That's pretty much it as far as non-trivial splitting counts; remaining
patches in net/* are independent, tty and console stuff is also not hard to
split (not much of it, anyway) and what remains is arch-dependent code for
alpha and amd64.  Of course there'll be more stuff coming, but as far as I'm
concerned the rest of my pile is managable - and finally below 200Kb.  That'll
go tomorrow - right now I'm going down and getting some sleep...

21 years agoMerge Al/Russell fighting over the same __user annotations
Linus Torvalds [Sat, 29 May 2004 12:33:21 +0000 (05:33 -0700)]
Merge Al/Russell fighting over the same __user annotations

21 years ago[SERIAL] Fix sparse warnings in serial_core.c
Russell King [Sat, 29 May 2004 21:24:42 +0000 (22:24 +0100)]
[SERIAL] Fix sparse warnings in serial_core.c

This fixes sparse warnings for the user write method, and the UART
ioctl functions which copy data to/from userspace.

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Sat, 29 May 2004 12:27:15 +0000 (05:27 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ARM PATCH] 1897/1: prevent selecting more than one PXA target
Nicolas Pitre [Sat, 29 May 2004 21:54:21 +0000 (22:54 +0100)]
[ARM PATCH] 1897/1: prevent selecting more than one PXA target

Patch from Nicolas Pitre

... since this is not supported at the moment and would fail to build.

21 years ago[ARM PATCH] 1872/1: base clock difference between PXA25x and PXA27x
Nicolas Pitre [Sat, 29 May 2004 21:50:19 +0000 (22:50 +0100)]
[ARM PATCH] 1872/1: base clock difference between PXA25x and PXA27x

Patch from Nicolas Pitre

21 years ago[ARM PATCH] 1898/1: fix io_v2p macro on PXA
Nicolas Pitre [Sat, 29 May 2004 21:41:43 +0000 (22:41 +0100)]
[ARM PATCH] 1898/1: fix io_v2p macro on PXA

Patch from Nicolas Pitre

Correcting my own screw-up, found by Ian Campbell.

21 years ago[ARM] Remove obsolete asm-arm/arch-*/keyboard.h
Russell King [Sat, 29 May 2004 12:44:29 +0000 (13:44 +0100)]
[ARM] Remove obsolete asm-arm/arch-*/keyboard.h

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
Linus Torvalds [Sat, 29 May 2004 12:25:38 +0000 (05:25 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ARM PATCH] 1869/1: PCMCIA support for Mainstone
Nicolas Pitre [Sat, 29 May 2004 22:03:57 +0000 (23:03 +0100)]
[ARM PATCH] 1869/1: PCMCIA support for Mainstone

Patch from Nicolas Pitre

21 years ago[ARM] Ensure AMBA devices on Versatile have a correct dma_mask
Russell King [Sat, 29 May 2004 12:12:55 +0000 (13:12 +0100)]
[ARM] Ensure AMBA devices on Versatile have a correct dma_mask

21 years ago[PATCH] sparse: ->[gs]etsockopt() annotation
Alexander Viro [Sat, 29 May 2004 12:02:23 +0000 (05:02 -0700)]
[PATCH] sparse: ->[gs]etsockopt() annotation

optval (and in case of getsockopt - optlen) made __user, changes
percolated down into the instances.

21 years agoFix up my misedit of Al's good patch. Don't blame Al.
Linus Torvalds [Sat, 29 May 2004 12:00:35 +0000 (05:00 -0700)]
Fix up my misedit of Al's good patch. Don't blame Al.

21 years ago[ARM] Move common definitions to asm/memory.h
Russell King [Sat, 29 May 2004 11:53:46 +0000 (12:53 +0100)]
[ARM] Move common definitions to asm/memory.h

Virtually all the architecture specific memory.h files were defining
the same constants and v<->p translations the same way.  Move them to
asm/memory.h

21 years ago[PATCH] sparse: final bits of compat_ioctl
Alexander Viro [Sat, 29 May 2004 11:44:03 +0000 (04:44 -0700)]
[PATCH] sparse: final bits of compat_ioctl

ethtool_ioctl() annotated; it would go in the first compat_ioctl
chunk (trivial ones) if it wouldn't be right after SIOCGIFCONF mess; was
easier to split in that order...

21 years ago[PATCH] sparse (compat_ioctl): SIOCGIFCONF
Alexander Viro [Sat, 29 May 2004 11:43:52 +0000 (04:43 -0700)]
[PATCH] sparse (compat_ioctl): SIOCGIFCONF

Switched to compat_alloc_user_space(), killed kmalloc and set_fs(),
annotated, somewhat cleaned up.

21 years ago[PATCH] sparse (compat_ioctl): fb colourmap stuff
Alexander Viro [Sat, 29 May 2004 11:43:41 +0000 (04:43 -0700)]
[PATCH] sparse (compat_ioctl): fb colourmap stuff

Similar to previous - annotated, killed helper, made the thing
type-clean, cleaned up.

21 years ago[PATCH] sparse (compat_ioctl): CDROM_SEND_PACKET handling
Alexander Viro [Sat, 29 May 2004 11:43:31 +0000 (04:43 -0700)]
[PATCH] sparse (compat_ioctl): CDROM_SEND_PACKET handling

annotated, killed useless (and type-buggering - void ** is not
assignment-compatible with foo **) helper, cleaned up.

21 years ago[PATCH] sparse (compat_ioctl): font stuff
Alexander Viro [Sat, 29 May 2004 11:43:20 +0000 (04:43 -0700)]
[PATCH] sparse (compat_ioctl): font stuff

Annotated, cleaned up, wholesale copying of structure with
subsequeunt casts from hell replaced with get_user()/put_user() on
the fields we really need.

21 years ago[PATCH] sparse (compat_ioctl): blkpg cleanup and annotation
Alexander Viro [Sat, 29 May 2004 11:43:09 +0000 (04:43 -0700)]
[PATCH] sparse (compat_ioctl): blkpg cleanup and annotation

blkpg ioctls handling switched to compat_alloc_user_space() (instead
of messing with set_fs()) and annotated.

21 years ago[PATCH] sparse (compat_ioctl): raw_ioctl() fixes
Alexander Viro [Sat, 29 May 2004 11:42:59 +0000 (04:42 -0700)]
[PATCH] sparse (compat_ioctl): raw_ioctl() fixes

Whoever had done the translation apparently never heard of
big-endian boxen.  Replaced the kludge with get_user()/put_user() on
64bit values.  Note that
struct raw_config_request
{
        int     raw_minor;
        __u64   block_major;
        __u64   block_minor;
};
has __u64 on _all_ platforms and it is used as an integer in raw.c code.
The only reason why translation is needed at all is alignment for 64bit
values; block_major and block_minor themselves should be passed as-is.

Breakage fixed, entire area annotated.

21 years ago[PATCH] sparse: compat_ioctl - easy part
Alexander Viro [Sat, 29 May 2004 11:42:48 +0000 (04:42 -0700)]
[PATCH] sparse: compat_ioctl - easy part

Easy parts of compat_ioctl fixes - pure __user annotation.
In one place (SG_IO handling) replaced dereference of user pointer
with put_user() (why whoever had noticed that just put a FIXME instead
of obvios fix is a mistery...)

21 years ago[PATCH] sparse: fault_in_pages_readable() annotation
Alexander Viro [Sat, 29 May 2004 09:18:33 +0000 (02:18 -0700)]
[PATCH] sparse: fault_in_pages_readable() annotation

21 years ago[PATCH] sparse: misc ->read()/->write() __user annotation
Alexander Viro [Sat, 29 May 2004 09:18:23 +0000 (02:18 -0700)]
[PATCH] sparse: misc ->read()/->write() __user annotation

a bunch of trivial ->read() and ->write() instances (and their procfs
relatives) __user-annotated.  All chunks are independent, but IMO not
worth splitting.

21 years ago[PATCH] sparse: bits and pieces
Alexander Viro [Sat, 29 May 2004 09:18:12 +0000 (02:18 -0700)]
[PATCH] sparse: bits and pieces

Independent minor bits caught by sparse:

 - paride.h mixing void and int in ? :, used always in a void context
   ide-iops.c return insw() - insw is void()
 - scsi/constants.c uses undefined macros in #if; added #define to 0 in
   case that used to leave it undefined
 - usb/host/hcd.h: fixed-point arithmetics in constant
 - fs/exec.c: missing UL on a large constant
 - fs/locks.c: #if where #ifdef should've been
 - fs.h: missing UL on MAX_LFS_FILESIZE in 64bit case

21 years ago[PATCH] sparse: trivial parts of fs/* annotation
Alexander Viro [Sat, 29 May 2004 09:18:01 +0000 (02:18 -0700)]
[PATCH] sparse: trivial parts of fs/* annotation

fs/*, fs/proc/*, fs/nfsd/*, fs/autofs4/*

The only interdependent group is the fs/autofs4/* stuff.

21 years ago[PATCH] sparse: aio annotation
Alexander Viro [Sat, 29 May 2004 09:17:49 +0000 (02:17 -0700)]
[PATCH] sparse: aio annotation

21 years ago[PATCH] sparse: sg.c annotation
Alexander Viro [Sat, 29 May 2004 09:17:39 +0000 (02:17 -0700)]
[PATCH] sparse: sg.c annotation

rest of pointers in sg ioctl arguments made __user.

21 years ago[PATCH] sparse: scsi_ioctl __user annotation
Alexander Viro [Sat, 29 May 2004 09:17:28 +0000 (02:17 -0700)]
[PATCH] sparse: scsi_ioctl __user annotation

scsi_ioctl() and scsi_ioctl_send_command() switched to __user *;
scsi/scsi_ioctl.c annotated.

21 years ago[PATCH] sparse: scsi_cmd_ioctl __user annotation
Alexander Viro [Sat, 29 May 2004 09:17:16 +0000 (02:17 -0700)]
[PATCH] sparse: scsi_cmd_ioctl __user annotation

scsi_cmd_ioctl() switched to __user *, block/scsi_ioctl.c annotated.

21 years ago[PATCH] sparse: make sg_io_hdr->cmdp a __user pointer
Alexander Viro [Sat, 29 May 2004 09:17:05 +0000 (02:17 -0700)]
[PATCH] sparse: make sg_io_hdr->cmdp a __user pointer

copying moved into sg_io()

21 years ago[PATCH] sparse: kernel/sysctl.c annotation and cleanup
Alexander Viro [Sat, 29 May 2004 09:16:55 +0000 (02:16 -0700)]
[PATCH] sparse: kernel/sysctl.c annotation and cleanup

21 years ago[PATCH] sparse: trivial part of cdrom.c annotation
Alexander Viro [Sat, 29 May 2004 09:16:44 +0000 (02:16 -0700)]
[PATCH] sparse: trivial part of cdrom.c annotation

21 years ago[PATCH] sparse: trivial part of drivers/scsi/* annotation
Alexander Viro [Sat, 29 May 2004 09:16:34 +0000 (02:16 -0700)]
[PATCH] sparse: trivial part of drivers/scsi/* annotation

21 years ago[PATCH] sparse: cdrom_generic_command split into kernel/user
Alexander Viro [Sat, 29 May 2004 09:16:22 +0000 (02:16 -0700)]
[PATCH] sparse: cdrom_generic_command split into kernel/user

The kernel instance (packet_command) has kernel pointers, userland one -
__user ones. Surprise.

21 years ago[PATCH] more sparse checking of do_utimes()
Alexander Viro [Sat, 29 May 2004 07:33:30 +0000 (00:33 -0700)]
[PATCH] more sparse checking of do_utimes()

Speaking of conflicts...  Here's another half of a do_utimes() patch,
same story as on ppc64:

21 years agoAdd __user pointer annotations to ppc64 code
Linus Torvalds [Sat, 29 May 2004 07:32:11 +0000 (00:32 -0700)]
Add __user pointer annotations to ppc64 code

21 years agoMerge bk://cifs.bkbits.net/linux-2.5cifs
Linus Torvalds [Sat, 29 May 2004 06:39:07 +0000 (23:39 -0700)]
Merge bk://cifs.bkbits.net/linux-2.5cifs
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://bk.linux1394.org/ieee1394-2.6
Linus Torvalds [Sat, 29 May 2004 06:37:49 +0000 (23:37 -0700)]
Merge bk://bk.linux1394.org/ieee1394-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoadb.c needs <linux/devfs_fs_kernel.h>
Linus Torvalds [Sat, 29 May 2004 06:33:01 +0000 (23:33 -0700)]
adb.c needs <linux/devfs_fs_kernel.h>

21 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Sat, 29 May 2004 06:26:05 +0000 (23:26 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Sat, 29 May 2004 06:25:16 +0000 (23:25 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[PATCH] Missed RTC_IRQ patchlet
Alexander Viro [Sat, 29 May 2004 06:18:42 +0000 (23:18 -0700)]
[PATCH] Missed RTC_IRQ patchlet

oh, hell - I missed this one when carving the thing out of big patch ;-/

21 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Sat, 29 May 2004 06:13:58 +0000 (23:13 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

21 years ago[PATCH] typo in OSS sparse __user annotations
Adam Kropelin [Sat, 29 May 2004 06:12:44 +0000 (23:12 -0700)]
[PATCH] typo in OSS sparse __user annotations

Fix a missing initialization in the sparse __user annotation work for OSS.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years agoAdd __user pointer annotations to fs/compat.c
Linus Torvalds [Sat, 29 May 2004 06:11:39 +0000 (23:11 -0700)]
Add __user pointer annotations to fs/compat.c

21 years ago[NET]: Do net_todo_list empty check under semaphore.
David S. Miller [Sat, 29 May 2004 06:10:54 +0000 (23:10 -0700)]
[NET]: Do net_todo_list empty check under semaphore.

21 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Sat, 29 May 2004 06:07:59 +0000 (23:07 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

21 years agoMerge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
David S. Miller [Sat, 29 May 2004 05:56:15 +0000 (22:56 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
into kernel.bkbits.net:/home/davem/sparc-2.6

21 years agoAdd __user pointer annotations to arch/ppc64/kernel/sys_ppc32.c
Linus Torvalds [Sat, 29 May 2004 05:53:47 +0000 (22:53 -0700)]
Add __user pointer annotations to arch/ppc64/kernel/sys_ppc32.c

This also fixes a terminally broken sys32_utimes() implementation.

21 years agoFix sparse complaint about badly typed constant
Linus Torvalds [Sat, 29 May 2004 05:52:33 +0000 (22:52 -0700)]
Fix sparse complaint about badly typed constant

21 years ago[IPSEC]: Fix ref counting in __xfrmN_bundle_create().
Herbert Xu [Sat, 29 May 2004 05:46:04 +0000 (22:46 -0700)]
[IPSEC]: Fix ref counting in __xfrmN_bundle_create().

21 years ago[NET]: Simplify netdev_sysfs_xxx if SYSFS is not configured.
Stephen Hemminger [Sat, 29 May 2004 05:41:48 +0000 (22:41 -0700)]
[NET]: Simplify netdev_sysfs_xxx if SYSFS is not configured.

Don't need all the network sysfs code if CONFIG_SYSFS is not enabled.
Also:
* netdev_sysfs_unregister is declaration mismatch
* if netdev_sysfs_register fails print a warning.
  Need to still mark it as registered so the unregister_netdevice works,
  but we will probably end up leaking memory in that case.

21 years ago[IRDA]: Fix NULL-ptr dereference in irlmp_get_saddr().
Patrick McHardy [Sat, 29 May 2004 05:40:34 +0000 (22:40 -0700)]
[IRDA]: Fix NULL-ptr dereference in irlmp_get_saddr().

21 years ago[IPV4]: Fix skb leak in igmpv3_newpack.
Patrick McHardy [Sat, 29 May 2004 05:39:03 +0000 (22:39 -0700)]
[IPV4]: Fix skb leak in igmpv3_newpack.

21 years ago[IPV4,6]: Fix off-by-one in max protocol-type check
Patrick McHardy [Sat, 29 May 2004 05:38:17 +0000 (22:38 -0700)]
[IPV4,6]: Fix off-by-one in max protocol-type check

21 years ago[IPV6]: Fix memory leak in ah6.c
Patrick McHardy [Sat, 29 May 2004 05:37:22 +0000 (22:37 -0700)]
[IPV6]: Fix memory leak in ah6.c

21 years ago[NET]: Prevent future missed updates of FOO_MAX macros.
Hideaki Yoshifuji [Sat, 29 May 2004 05:35:45 +0000 (22:35 -0700)]
[NET]: Prevent future missed updates of FOO_MAX macros.

21 years ago[AF_KEY]: Set family for state selector.
Herbert Xu [Sat, 29 May 2004 05:34:25 +0000 (22:34 -0700)]
[AF_KEY]: Set family for state selector.

As the comment in the code suggests, nobody really uses this so nobody
will notice the difference :) Still, let's make it correct while we're
at it.

21 years ago[SPARC64]: compat select and futex need %o4 zero-extended.
David S. Miller [Sat, 29 May 2004 05:27:54 +0000 (22:27 -0700)]
[SPARC64]: compat select and futex need %o4 zero-extended.

21 years agoAdd __user annotations to arch/ppc64/kernel/process.c
Linus Torvalds [Sat, 29 May 2004 05:19:56 +0000 (22:19 -0700)]
Add __user annotations to arch/ppc64/kernel/process.c

21 years agoAdd __user annotations to arch/ppc64/kernel/syscalls.c
Linus Torvalds [Sat, 29 May 2004 05:17:40 +0000 (22:17 -0700)]
Add __user annotations to arch/ppc64/kernel/syscalls.c

21 years ago[TCP]: More sysctl tweakings for rcvbuf stuff.
David S. Miller [Sat, 29 May 2004 05:06:39 +0000 (22:06 -0700)]
[TCP]: More sysctl tweakings for rcvbuf stuff.

1) Add sysctl to control rcvbuf moderation, off for now.
2) Set default winscale to zero.

21 years agoAdd __user annotations to ppc64 signal.c
Linus Torvalds [Sat, 29 May 2004 05:00:58 +0000 (22:00 -0700)]
Add __user annotations to ppc64 signal.c

21 years ago[PATCH] sparse: trivial part of kernel/* __user annotation
Alexander Viro [Sat, 29 May 2004 04:15:01 +0000 (21:15 -0700)]
[PATCH] sparse: trivial part of kernel/* __user annotation

21 years ago[PATCH] sparse: partial mm/* __user annotation
Alexander Viro [Sat, 29 May 2004 04:14:50 +0000 (21:14 -0700)]
[PATCH] sparse: partial mm/* __user annotation

21 years ago[PATCH] sparse: rtc.c __user annotation
Alexander Viro [Sat, 29 May 2004 04:14:39 +0000 (21:14 -0700)]
[PATCH] sparse: rtc.c __user annotation

Also replacement of #if RTC_IRQ with #ifdef, moved inlined function in
front of all uses.

21 years ago[PATCH] sparse: trivial part of drivers/ide __user annotation
Alexander Viro [Sat, 29 May 2004 04:14:28 +0000 (21:14 -0700)]
[PATCH] sparse: trivial part of drivers/ide __user annotation

21 years ago[PATCH] sparse: ide-proc.c fixes
Alexander Viro [Sat, 29 May 2004 04:14:17 +0000 (21:14 -0700)]
[PATCH] sparse: ide-proc.c fixes

Fixed dereferencing userland pointers, general idiocy in parsing.

21 years ago[PATCH] sparse: OSS __user annotation
Alexander Viro [Sat, 29 May 2004 04:14:06 +0000 (21:14 -0700)]
[PATCH] sparse: OSS __user annotation

caddr_t is gone (most of the instances were void __user * in disguise,
the rest - void *)

Fixed b0rken ioctls in mpu401 and pss - they used to dereference
userland pointers with no checks.

21 years ago[PATCH] sparse: partial serial_core.c __user annotation
Alexander Viro [Sat, 29 May 2004 04:13:54 +0000 (21:13 -0700)]
[PATCH] sparse: partial serial_core.c __user annotation

21 years ago[PATCH] sparse: drivers/pci __user annotation
Alexander Viro [Sat, 29 May 2004 04:13:42 +0000 (21:13 -0700)]
[PATCH] sparse: drivers/pci __user annotation

21 years ago[PATCH] sparse: partial drivers/input __user annotation
Alexander Viro [Sat, 29 May 2004 04:13:32 +0000 (21:13 -0700)]
[PATCH] sparse: partial drivers/input __user annotation

21 years ago[PATCH] sparse: trivial part of drivers/block __user annotation
Alexander Viro [Sat, 29 May 2004 04:13:21 +0000 (21:13 -0700)]
[PATCH] sparse: trivial part of drivers/block __user annotation

21 years ago[PATCH] sparse: trivial part of drivers/char __user annotation
Alexander Viro [Sat, 29 May 2004 04:13:10 +0000 (21:13 -0700)]
[PATCH] sparse: trivial part of drivers/char __user annotation

21 years ago[PATCH] sparse: acpi __user annotation
Alexander Viro [Sat, 29 May 2004 04:12:58 +0000 (21:12 -0700)]
[PATCH] sparse: acpi __user annotation

21 years ago[PATCH] sparse: ipc __user annotation
Alexander Viro [Sat, 29 May 2004 04:12:47 +0000 (21:12 -0700)]
[PATCH] sparse: ipc __user annotation

21 years ago[PATCH] sparse: ext2 __user annotation (ioctl)
Alexander Viro [Sat, 29 May 2004 04:12:36 +0000 (21:12 -0700)]
[PATCH] sparse: ext2 __user annotation (ioctl)

21 years ago[PATCH] sparse: nfs __user annotation (client only, and not touching RPC)
Alexander Viro [Sat, 29 May 2004 04:12:25 +0000 (21:12 -0700)]
[PATCH] sparse: nfs __user annotation (client only, and not touching RPC)

21 years ago[PATCH] sparse: parport __user annotation (sysctls)
Alexander Viro [Sat, 29 May 2004 04:12:14 +0000 (21:12 -0700)]
[PATCH] sparse: parport __user annotation (sysctls)

21 years ago[PATCH] sparse: oprofile __user annotation
Alexander Viro [Sat, 29 May 2004 04:12:03 +0000 (21:12 -0700)]
[PATCH] sparse: oprofile __user annotation

21 years ago[PATCH] nfsd: missing dget()
Andrew Morton [Sat, 29 May 2004 03:59:39 +0000 (20:59 -0700)]
[PATCH] nfsd: missing dget()

From: Neil Brown <neilb@cse.unsw.edu.au>

The recentish change to fh_compose not consuming a reference to the passed
dentries missed this needed dget.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] vt_ioctl() comment fix
Andrew Morton [Sat, 29 May 2004 03:59:28 +0000 (20:59 -0700)]
[PATCH] vt_ioctl() comment fix

From: <Andries.Brouwer@cwi.nl>

The "Probably init should be changed" happened almost ten years ago.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] CREDITS file update
Andrew Morton [Sat, 29 May 2004 03:59:18 +0000 (20:59 -0700)]
[PATCH] CREDITS file update

From: Robert Love <rml@ximian.com>

Update Robert's email address

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] CREDITS file update
Andrew Morton [Sat, 29 May 2004 03:59:07 +0000 (20:59 -0700)]
[PATCH] CREDITS file update

From: <Valdis.Kletnieks@vt.edu>

Thomas Dunbar used to be working in one of the Dean's offices here.  He's
now down the hall from me (and has been for several years, actually).  So
let's fix the crufty pointers.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] fs/dcache.c: avoid race when updating nr_unused count of unused dentries.
Andrew Morton [Sat, 29 May 2004 03:58:56 +0000 (20:58 -0700)]
[PATCH] fs/dcache.c: avoid race when updating nr_unused count of unused dentries.

From: NeilBrown <neilb@cse.unsw.edu.au>

d_count == 1 is no guarantee that dentry is on the dentry_unused list, even
if it has just been incremented inside dcache_lock, as dput can decrement
at any time.

This test from Greg Banks is much safer, and is more transparently correct.

Cc: Maneesh Soni <maneesh@in.ibm.com>, Dipankar Sarma <dipankar@in.ibm.com>
From: Greg Banks <gnb@melbourne.sgi.com>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] epoll events send fix
Andrew Morton [Sat, 29 May 2004 03:58:46 +0000 (20:58 -0700)]
[PATCH] epoll events send fix

From: Davide Libenzi <davidel@xmailserver.org>

We're now sending epi->event.events while it should be sending
epi->revents.

Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ADT746X MAINTAINERS update
Andrew Morton [Sat, 29 May 2004 03:58:35 +0000 (20:58 -0700)]
[PATCH] ADT746X MAINTAINERS update

From: Colin Leroy <colin@colino.net>

I'm maintaining this driver i wrote :)

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] fix unchecked return value in register_disk()
Andrew Morton [Sat, 29 May 2004 03:58:24 +0000 (20:58 -0700)]
[PATCH] fix unchecked return value in register_disk()

From: "Luiz Fernando N. Capitulino" <lcapitulino@prefeitura.sp.gov.br>

Signed-off-by: Luiz Capitulino <lcapitulino@prefeitura.sp.gov.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] asm-i386/timer.h docu cleanup
Andrew Morton [Sat, 29 May 2004 03:58:13 +0000 (20:58 -0700)]
[PATCH] asm-i386/timer.h docu cleanup

From: Adam Lackorzynski <adam@os.inf.tu-dresden.de>

This patch fixes a typo (intruupt), a possible confusion (ms should be
microseconds here, not milli), and adds descriptions for the missing
functions.

Signed-off-by: Adam Lackorzynski <adam@os.inf.tu-dresden.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] use SLAB_PANIC for general caches
Andrew Morton [Sat, 29 May 2004 03:58:02 +0000 (20:58 -0700)]
[PATCH] use SLAB_PANIC for general caches

From: Brian Gerst <bgerst@didntduck.org>

Initialize the general caches using SLAB_PANIC instead of BUG().

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] dm: change maintainer
Andrew Morton [Sat, 29 May 2004 03:57:52 +0000 (20:57 -0700)]
[PATCH] dm: change maintainer

From: <thornber@redhat.com>

Change of device-mapper maintainer

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] dm-table.c: proper usage of dm_vcalloc
Andrew Morton [Sat, 29 May 2004 03:57:41 +0000 (20:57 -0700)]
[PATCH] dm-table.c: proper usage of dm_vcalloc

From: Kevin Corry <kevcorry@us.ibm.com>

dm-table.c: Proper usage of dm_vcalloc. [Dave Olien]

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] dm: add static and __init qualifiers
Andrew Morton [Sat, 29 May 2004 03:57:30 +0000 (20:57 -0700)]
[PATCH] dm: add static and __init qualifiers

From: Kevin Corry <kevcorry@us.ibm.com>

DM: Add static and __init qualifiers. [Dave Olien]

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] dm-ioctl: replace dm_[add|remove]_wait_queue() with dm_wait_event()
Andrew Morton [Sat, 29 May 2004 03:57:19 +0000 (20:57 -0700)]
[PATCH] dm-ioctl: replace dm_[add|remove]_wait_queue() with dm_wait_event()

From: Kevin Corry <kevcorry@us.ibm.com>

Some testing of DM multipath has turned up a problem with the DEVICE_WAIT
command.  In the tests, while performing a DEVICE_WAIT on a multipath device,
the command sometimes returns immediately, even though the event-number is
correct and no path-failure has occurred to trigger an event.  The problem was
tracked down to the call to schedule() in dev_wait(), which would return even
though it was not woken up by a DM table event.

This patch moves the responsibility for waiting from the ioctl interface into
the core driver, and uses wait_event_interruptible() instead of relying on
wait-queues and schedule().

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] dm.c: free cloned bio on error path
Andrew Morton [Sat, 29 May 2004 03:57:09 +0000 (20:57 -0700)]
[PATCH] dm.c: free cloned bio on error path

From: Kevin Corry <kevcorry@us.ibm.com>

In __map_bio(), if the target returns an error while mapping the I/O, the
cloned bio needs to be freed.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] dm-ioctl.c: fix off-by-one error
Andrew Morton [Sat, 29 May 2004 03:56:58 +0000 (20:56 -0700)]
[PATCH] dm-ioctl.c: fix off-by-one error

From: Kevin Corry <kevcorry@us.ibm.com>

Fix an OB1 error when calculating an output buffer size, that could cause a
missing null termininator in the 'list devices' ioctl results.  [Steffan
Paletta]

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] i386: put irq stacks in .bss.page_aligned section
Andrew Morton [Sat, 29 May 2004 03:56:47 +0000 (20:56 -0700)]
[PATCH] i386: put irq stacks in .bss.page_aligned section

From: Matt Mackall <mpm@selenic.com>

I noticed that my vmlinux BSS had grown from 17k to 45k between 2.6.5 and
2.6.6.  8k was moving a pair of objects in head.S from the text section to
bss, 8k was the introduction of IRQ stacks, while the remainder (12k) was
page alignment slop, some of it spurious.  The following patch brings BSS
down to the expected 33k.

Throw the IRQ stacks into the page aligned section to avoided wasted BSS
space.  While we'd expect this to save up to 4k, this saves over 10k of BSS
here due to gcc3.3 spuriously aligning other objects in the vicinity.

Signed-off-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] Add `make checkstack' target
Andrew Morton [Sat, 29 May 2004 03:56:36 +0000 (20:56 -0700)]
[PATCH] Add `make checkstack' target

Jorn Engel <joern@wohnheim.fh-wedel.de>

Adds a `make checkstack' target.  This disassembles and parses vmlinux and
*.ko, generating a sorted list of stack hogs, eg:

0xc0100663 huft_build:                                  1456
0xc01022d3 huft_build:                                  1456
0xc0103127 inflate_dynamic:                             1328
0xc0101487 inflate_dynamic:                             1324
0xc010131f inflate_fixed:                               1168
0xc0102fb7 inflate_fixed:                               1168
0x00000003 sha512_transform:                            984
0xc024aee3 Vpd:                                         952
0x00000003 twofish_setkey:                              804
0x000060c3 isd200_action:                               792
0x0000e6cb nfsd4_proc_compound:                         760
0xc0249087 SkPnmiGetStruct:                             712
....

Supported architectures are alleged to be arm, x86, ia64, mips, mips64, ppc,
ppc64 and s390x.

Signed-off-by: Jörn Engel <joern@wohnheim.fh-wedel.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc64: xmon fixes
Andrew Morton [Sat, 29 May 2004 03:56:25 +0000 (20:56 -0700)]
[PATCH] ppc64: xmon fixes

From: Anton Blanchard <anton@samba.org>

A few xmon fixes:

- Check we have the set-indicator property before calling rtas.
- We were printing a cpu number in one place with %s, fix.

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