]> git.hungrycats.org Git - linux/log
linux
22 years agoMerge bk://linux-dj.bkbits.net/cpufreq
Dave Jones [Thu, 3 Jun 2004 14:23:23 +0000 (15:23 +0100)]
Merge bk://linux-dj.bkbits.net/cpufreq
into delerium.codemonkey.org.uk:/mnt/data/src/bk/cpufreq

22 years ago[CPUFREQ] Consolidate version checking in longhaul_get_cpu_mult
Dave Jones [Wed, 2 Jun 2004 22:21:35 +0000 (23:21 +0100)]
[CPUFREQ] Consolidate version checking in longhaul_get_cpu_mult
reduce code duplication.

22 years agoMerge delerium.codemonkey.org.uk:/mnt/nfs/neologic/bar/src/kernel/2.6/trees/bk-linus
Dave Jones [Wed, 2 Jun 2004 02:46:03 +0000 (03:46 +0100)]
Merge delerium.codemonkey.org.uk:/mnt/nfs/neologic/bar/src/kernel/2.6/trees/bk-linus
into delerium.codemonkey.org.uk:/mnt/nfs/neologic/bar/src/kernel/2.6/trees/cpufreq

22 years ago[CPUFREQ] Fix build of longhaul.
Dave Jones [Tue, 1 Jun 2004 14:49:42 +0000 (15:49 +0100)]
[CPUFREQ] Fix build of longhaul.
Arjan noted that in some cases, the build fails.
This should fix it up.

22 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.6
Linus Torvalds [Mon, 31 May 2004 13:47:44 +0000 (06:47 -0700)]
Merge bk://gkernel.bkbits.net/net-drivers-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] Better tulip handling on PA-RISC
Matthew Wilcox [Mon, 31 May 2004 19:01:40 +0000 (15:01 -0400)]
[PATCH] Better tulip handling on PA-RISC

This patch improves some of the handling of PA-RISC tulip cards.

 - Introduce HAS_SWAPPED_SEEPROM and NEEDS_FAKE_MEDIA_TABLE
 - Only trigger this code on GSC machines.  The pure PCI machines don't
   have these cards.
 - Allow the chip_name to be overridden in tulip_init_one().
 - Fix some indentation.
 - Handle the output from tulip_read_eeprom() better.

22 years ago[PATCH] Re: [Fwd: [PATCH] Stop queue on close in hdlcdrv]
Krzysztof Halasa [Mon, 31 May 2004 19:01:28 +0000 (15:01 -0400)]
[PATCH] Re: [Fwd: [PATCH] Stop queue on close in hdlcdrv]

> From: Ralf Baechle <ralf@linux-mips.org>
> Subject: [PATCH] Stop queue on close in hdlcdrv
> To: Jeff Garzik <garzik@gtf.org>
> Date: Tue, 4 May 2004 13:59:15 +0200
>
> The stop method of a driver should ensure queueing is stopped ...
>
> diff -u -r1.19 hdlcdrv.c
> --- suckage/drivers/net/hamradio/hdlcdrv.c 12 Apr 2004 20:23:32 -0000

the above means the following is needed for my drivers - please apply to 2.6:

22 years ago[PATCH] farsync needs <asm/io.h>
Christoph Hellwig [Mon, 31 May 2004 19:01:17 +0000 (15:01 -0400)]
[PATCH] farsync needs <asm/io.h>

i386 gets it implicitly from somewhere but some architectures don't.
Also move <asm/uaccess.h> down so we have asm after linux headers.

22 years ago[PATCH] s2io section fix
Andrew Morton [Mon, 31 May 2004 19:01:07 +0000 (15:01 -0400)]
[PATCH] s2io section fix

s2io_rem_nic() is marked __exit and is being referred to from .data.

Signed-off-by: Andrew Morton <akpm@osdl.org>
22 years ago[PATCH] fix net/ixgb/ixgb_main.c warning
Andrew Morton [Mon, 31 May 2004 19:00:56 +0000 (15:00 -0400)]
[PATCH] fix net/ixgb/ixgb_main.c warning

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

drivers/net/ixgb/ixgb_main.c: In function `ixgb_intr':
drivers/net/ixgb/ixgb_main.c:1593: warning: unused variable `hw'
(catch by J. Cherry).

This happens because `hw' is only used when CONFIG_IXGB_NAPI is not set.
As `hw' is used only to have the code readable, we can use it for
!CONFIG_IXGB_NAPI too.

Signed-off-by: Andrew Morton <akpm@osdl.org>
22 years agoMerge redhat.com:/spare/repo/linux-2.6
Jeff Garzik [Mon, 31 May 2004 18:59:19 +0000 (14:59 -0400)]
Merge redhat.com:/spare/repo/linux-2.6
into redhat.com:/spare/repo/net-drivers-2.6

22 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Mon, 31 May 2004 12:29:47 +0000 (05:29 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[SPARC]: First stage of sparc32 sparse work.
David S. Miller [Mon, 31 May 2004 12:08:20 +0000 (05:08 -0700)]
[SPARC]: First stage of sparc32 sparse work.

22 years agoMerge bk://kernel.bkbits.net/davem/bluetooth-2.6
Linus Torvalds [Mon, 31 May 2004 11:10:55 +0000 (04:10 -0700)]
Merge bk://kernel.bkbits.net/davem/bluetooth-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
David S. Miller [Mon, 31 May 2004 11:03:57 +0000 (04:03 -0700)]
Merge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

22 years agoMerge http://linux-mh.bkbits.net/bluetooth-2.6
David S. Miller [Mon, 31 May 2004 11:03:02 +0000 (04:03 -0700)]
Merge http://linux-mh.bkbits.net/bluetooth-2.6
into kernel.bkbits.net:/home/davem/bluetooth-2.6

22 years ago[Bluetooth] Add quirk for broken RTX Telecom based dongles
Marcel Holtmann [Tue, 1 Jun 2004 01:34:49 +0000 (03:34 +0200)]
[Bluetooth] Add quirk for broken RTX Telecom based dongles

Some RTX Telecom based USB dongles offer SCO support, but their
implementation is broken. This patch disables the use of the ISOC
interface for these devices.

22 years ago[Bluetooth] Add dynamic channel allocation for RFCOMM server sockets
Marcel Holtmann [Tue, 1 Jun 2004 01:02:50 +0000 (03:02 +0200)]
[Bluetooth] Add dynamic channel allocation for RFCOMM server sockets

If no channel is specified for a RFCOMM server socket, it will search
for the next free one and automaticly bind to it.

Proposed by Stephen Crane <steve.crane@rococosoft.com>

22 years ago[Bluetooth] Add dynamic PSM allocation for L2CAP server sockets
Marcel Holtmann [Tue, 1 Jun 2004 00:52:34 +0000 (02:52 +0200)]
[Bluetooth] Add dynamic PSM allocation for L2CAP server sockets

If no PSM is specified for a L2CAP server socket, it will search
for the next free one and automaticly bind to it.

Proposed by Stephen Crane <steve.crane@rococosoft.com>

22 years ago[Bluetooth] Allocate protocol number for HIDP support
Marcel Holtmann [Tue, 1 Jun 2004 00:44:36 +0000 (02:44 +0200)]
[Bluetooth] Allocate protocol number for HIDP support

This patch allocates the next free protocol number for the upcoming
HIDP support.

22 years ago[Bluetooth] Update Kconfig help entries
Marcel Holtmann [Tue, 1 Jun 2004 00:34:23 +0000 (02:34 +0200)]
[Bluetooth] Update Kconfig help entries

This patch updates the address of the BlueZ project and changes
some wording of the help entries.

22 years ago[Bluetooth] Remove CVS tags and cleanup the code
Marcel Holtmann [Tue, 1 Jun 2004 00:16:59 +0000 (02:16 +0200)]
[Bluetooth] Remove CVS tags and cleanup the code

Since we are using Bitkeeper the CVS tags are useless. This patch
removes them and makes some whitespace cleanups.

22 years ago[Bluetooth] Move function exports out of syms.c
Marcel Holtmann [Mon, 31 May 2004 23:04:38 +0000 (01:04 +0200)]
[Bluetooth] Move function exports out of syms.c

With Linux 2.6 there is no need to keep the function exports in a
central file and thus the use of syms.c makes no real sense. Remove
it and add the EXPORT_SYMBOL calls to the functions they belong to.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
Linus Torvalds [Mon, 31 May 2004 10:30:21 +0000 (03:30 -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] Fix up SOC PCMCIA socket timing calculations
Russell King [Mon, 31 May 2004 12:15:46 +0000 (13:15 +0100)]
[PCMCIA] Fix up SOC PCMCIA socket timing calculations

The timing calculations used by the PXA platforms did not always take
account of the timings handed to us by PCMCIA, and where it did, it
assumed IO timings for memory windows.

We fix this, and provide a generic function which calculates the
required timings (in nanoseconds) for IO, memory and attribute
windows.  The SOC drivers only have to convert this information to
whatever format the hardware requires to achieve at least these
timing parameters.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Mon, 31 May 2004 10:28:18 +0000 (03:28 -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] Correct permissions on several ARMv6 files.
Russell King [Mon, 31 May 2004 12:47:23 +0000 (13:47 +0100)]
[ARM] Correct permissions on several ARMv6 files.

22 years ago[ARM] Eliminate meminfo 'end' element
Russell King [Mon, 31 May 2004 12:41:16 +0000 (13:41 +0100)]
[ARM] Eliminate meminfo 'end' element

Some machines decided to initialise this element.  It's not necessary
since find_memend_and_nodes() initialises this itself.  However,
'end' is not required if we initialise high_memory in this function
rather than waiting until mem_init() is called.

22 years ago[SPARC]: Set sparse arch defines explicitly.
David S. Miller [Mon, 31 May 2004 10:09:43 +0000 (03:09 -0700)]
[SPARC]: Set sparse arch defines explicitly.

22 years ago[PATCH] ppc32: reorg DMA API, add coherent alloc in irq
Andrew Morton [Mon, 31 May 2004 09:56:32 +0000 (02:56 -0700)]
[PATCH] ppc32: reorg DMA API, add coherent alloc in irq

From: Eugene Surovegin <ebs@ebshome.net>

Put back DECLARE_PCI_UNMAP_???  and friends accidentaly removed during DMA
API reorganization.

Signed-off-by: Eugene Surovegin <ebs@ebshome.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
David S. Miller [Mon, 31 May 2004 09:36:41 +0000 (02:36 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
into kernel.bkbits.net:/home/davem/sparc-2.6

22 years ago[SPARC64]: Lots of sparse work for arch/sparc64.
David S. Miller [Mon, 31 May 2004 09:25:51 +0000 (02:25 -0700)]
[SPARC64]: Lots of sparse work for arch/sparc64.

22 years agosparse: make x86 and ppc64 set the architecture-specific #define's
Linus Torvalds [Mon, 31 May 2004 08:18:46 +0000 (01:18 -0700)]
sparse: make x86 and ppc64 set the architecture-specific #define's
explcitly.

sparse doesn't set any arch defines itself.

22 years ago[PATCH] Avoid excessive stack usage in NFS
Peter Osterlund [Mon, 31 May 2004 08:11:45 +0000 (01:11 -0700)]
[PATCH] Avoid excessive stack usage in NFS

Assigning '*wdata' with a dynamic initializer creates a
temporary structure copy on the stack, and then the final
data is initialized with a "memcpy()".

As a result, these NFS functions use more than 800 bytes
of stack-space.

Changing the code to just do a memset followed by explicit
initialization of the non-zero member variables takes the
stack usage down to 36 bytes.

Here is a patch that does exactly that.

22 years ago[SPARC64]: __volatile --> __volatile__
David S. Miller [Mon, 31 May 2004 07:44:34 +0000 (00:44 -0700)]
[SPARC64]: __volatile --> __volatile__

22 years ago[SPARC64]: Annotate 64-bit constants with 'UL'
David S. Miller [Mon, 31 May 2004 07:41:04 +0000 (00:41 -0700)]
[SPARC64]: Annotate 64-bit constants with 'UL'

22 years ago[SPARC64]: Fix NR_IRQS check in hardirq.h
David S. Miller [Mon, 31 May 2004 06:06:15 +0000 (23:06 -0700)]
[SPARC64]: Fix NR_IRQS check in hardirq.h

22 years agoppc64: more user address fixups.
Linus Torvalds [Mon, 31 May 2004 05:35:54 +0000 (22:35 -0700)]
ppc64: more user address fixups.

Removed one (harmless) direct user pointer access.

22 years agoppc64: add more user annotations to ptrace.c
Linus Torvalds [Mon, 31 May 2004 05:21:49 +0000 (22:21 -0700)]
ppc64: add more user annotations to ptrace.c

22 years agoppc64: fix more user pointers in signal handling
Linus Torvalds [Mon, 31 May 2004 05:17:16 +0000 (22:17 -0700)]
ppc64: fix more user pointers in signal handling

22 years agosparse: make x86 user pointer checks stricter.
Linus Torvalds [Mon, 31 May 2004 04:19:40 +0000 (21:19 -0700)]
sparse: make x86 user pointer checks stricter.

Also use "__force" when forcing the user address to "unsigned long"
for the address limit check.

22 years agoppc64: missing __user annotations noticed by stricter checks.
Linus Torvalds [Mon, 31 May 2004 03:41:08 +0000 (20:41 -0700)]
ppc64: missing __user annotations noticed by stricter checks.

22 years agoppc64: check more of the user access functions for proper arguments.
Linus Torvalds [Mon, 31 May 2004 03:39:30 +0000 (20:39 -0700)]
ppc64: check more of the user access functions for proper arguments.

22 years agosparse: add "__force" type attribute for forcing a cast.
Linus Torvalds [Mon, 31 May 2004 03:38:48 +0000 (20:38 -0700)]
sparse: add "__force" type attribute for forcing a cast.

22 years ago[PATCH] sparse: asus_acpi dereference of userland pointers
Alexander Viro [Mon, 31 May 2004 02:59:55 +0000 (19:59 -0700)]
[PATCH] sparse: asus_acpi dereference of userland pointers

Direct sscanf() on userland buffer in procfs ->write_proc().  Fixed.

22 years ago[PATCH] sparse: reiserfs annotation
Alexander Viro [Sun, 30 May 2004 17:38:17 +0000 (10:38 -0700)]
[PATCH] sparse: reiserfs annotation

Everything straigthforward and takes care of almost all sparse warnings
in fs/reiserfs/*.

22 years ago[PATCH] trivial annotation for arch/i386/kernel/*
Alexander Viro [Sun, 30 May 2004 16:17:04 +0000 (09:17 -0700)]
[PATCH] trivial annotation for arch/i386/kernel/*

Several places in arch/i386/kernel were still un-annotated - they didn't
trip copy_.._user(), so they stayed alive.  Caught and killed.

That's not all - there's a big cluster of them in vm86.c, but I haven't
looked into that code yet.

22 years agoppc64: mark the "regshere" marker with proper type information.
Linus Torvalds [Sun, 30 May 2004 15:00:08 +0000 (08:00 -0700)]
ppc64: mark the "regshere" marker with proper type information.

22 years ago[PATCH] sparse alpha: the rest of it
Alexander Viro [Sun, 30 May 2004 14:35:38 +0000 (07:35 -0700)]
[PATCH] sparse alpha: the rest of it

A bunch of "return in void function" dealt with, removed bogus extern
from definition of __load_new_mm_context(), sanitized fscking ugly
CROSS_64K() helper (even if sparse doesn't segfault on that anymore,
it's _still_ fscking ugly).

22 years ago[PATCH] sparse alpha: utimes()
Alexander Viro [Sun, 30 May 2004 14:34:09 +0000 (07:34 -0700)]
[PATCH] sparse alpha: utimes()

... and that's where I'd found do_utimes() crap before I went
grepping ;-)

22 years ago[PATCH] sparse alpha: trivial parts of __user annotation
Alexander Viro [Sun, 30 May 2004 14:33:58 +0000 (07:33 -0700)]
[PATCH] sparse alpha: trivial parts of __user annotation

Trivial stuff in arch/alpha annotated; in two cases of
osf_proplist_syscall() dereferencing userland pointers replaced with
get_user

22 years ago[PATCH] sparse alpha: #if abuses
Alexander Viro [Sun, 30 May 2004 14:33:47 +0000 (07:33 -0700)]
[PATCH] sparse alpha: #if abuses

#if where #ifdef should've been

22 years ago[PATCH] sparse alpha: long constants
Alexander Viro [Sun, 30 May 2004 14:33:36 +0000 (07:33 -0700)]
[PATCH] sparse alpha: long constants

Long constants marked as such

22 years ago[PATCH] sparse alpha: beginning of __user annotation
Alexander Viro [Sun, 30 May 2004 14:33:26 +0000 (07:33 -0700)]
[PATCH] sparse alpha: beginning of __user annotation

Copying primitives annotated.

22 years agoppc64: more explicitly typed constants
Linus Torvalds [Sun, 30 May 2004 14:33:10 +0000 (07:33 -0700)]
ppc64: more explicitly typed constants

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

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

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Sun, 30 May 2004 13:28:41 +0000 (06:28 -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] Add two more missing __user annotations for sparse.
Russell King [Sun, 30 May 2004 15:40:37 +0000 (16:40 +0100)]
[ARM] Add two more missing __user annotations for sparse.

22 years ago[PATCH] sparse: SIOCGIFCONF handling - the rest of it
Alexander Viro [Sun, 30 May 2004 13:09:42 +0000 (06:09 -0700)]
[PATCH] sparse: SIOCGIFCONF handling - the rest of it

Fixed the type of SIOCGIFCONF callback; inet instance was already
correctly annotated, decnet one was _not_.  Moreover, decnet callback
needed fixing - dereferencing userland address.

22 years ago[PATCH] sparse: tty_driver ->write_proc()
Alexander Viro [Sun, 30 May 2004 13:09:31 +0000 (06:09 -0700)]
[PATCH] sparse: tty_driver ->write_proc()

Made ->write_proc in tty_driver suitable for procfs write callback

22 years ago[PATCH] sparse: n_tty annotation
Alexander Viro [Sun, 30 May 2004 13:09:21 +0000 (06:09 -0700)]
[PATCH] sparse: n_tty annotation

n_tty annotated, ldisc_struct ->read() and ->write() got __user
on their buf argument.

22 years ago[PATCH] sparse: vt and friends
Alexander Viro [Sun, 30 May 2004 13:09:10 +0000 (06:09 -0700)]
[PATCH] sparse: vt and friends

vt, vt_ioctl, consolemap and selection annotated, struct unimapdesc
and struct consolefontdesc got __user on their pointer members.

22 years ago[PATCH] sparse: tty_ioctl annotation
Alexander Viro [Sun, 30 May 2004 13:08:59 +0000 (06:08 -0700)]
[PATCH] sparse: tty_ioctl annotation

tty_ioctl.c annotation

22 years ago[PATCH] sparse: tty_io annotation
Alexander Viro [Sun, 30 May 2004 13:08:48 +0000 (06:08 -0700)]
[PATCH] sparse: tty_io annotation

tty_io.c annotated

22 years ago[PATCH] sparse: fs/compat.c::copy_iocb() cleanup
Alexander Viro [Sun, 30 May 2004 13:08:37 +0000 (06:08 -0700)]
[PATCH] sparse: fs/compat.c::copy_iocb() cleanup

That "u64" in there is actually struct iocb __user *.  Changed
prototype, killed casts in body and caller...

22 years ago[PATCH] sparse: amd64 - rest
Alexander Viro [Sun, 30 May 2004 13:08:26 +0000 (06:08 -0700)]
[PATCH] sparse: amd64 - rest

return void in floppy.h and "conditionally long" constants in page.h.

Would be useful to teach as(1) about C notation for long...

22 years ago[PATCH] sparse: amd64 - long constants
Alexander Viro [Sun, 30 May 2004 13:08:15 +0000 (06:08 -0700)]
[PATCH] sparse: amd64 - long constants

Long constants marked as such.

22 years ago[PATCH] sparse: amd64 - #if abuse fixes
Alexander Viro [Sun, 30 May 2004 13:08:04 +0000 (06:08 -0700)]
[PATCH] sparse: amd64 - #if abuse fixes

#if where #ifdef should've been.  Fixed.

22 years ago[PATCH] sparse: amd64 - more trivial annotations
Alexander Viro [Sun, 30 May 2004 13:07:53 +0000 (06:07 -0700)]
[PATCH] sparse: amd64 - more trivial annotations

22 years ago[PATCH] sparse: amd64 annotations - trivial part
Alexander Viro [Sun, 30 May 2004 13:07:42 +0000 (06:07 -0700)]
[PATCH] sparse: amd64 annotations - trivial part

Annotation of amd64 code - just adding __user where needed...

22 years ago[PATCH] sparse: amd64 annotation - beginning
Alexander Viro [Sun, 30 May 2004 13:07:30 +0000 (06:07 -0700)]
[PATCH] sparse: amd64 annotation - beginning

Annotated basic primitives (copy_.._user, get_user, ...).
Functions got __user in prototypes, macros (in uaccess.h) got a
conditional check - see CHECK_UPTR() below.  If you have more elegant
way to deal with the macros - please, tell.

22 years ago[PATCH] sparse: net/* non-ANSI argument lists
Alexander Viro [Sun, 30 May 2004 13:07:19 +0000 (06:07 -0700)]
[PATCH] sparse: net/* non-ANSI argument lists

22 years ago[PATCH] sparse: more net/* annotation
Alexander Viro [Sun, 30 May 2004 13:07:08 +0000 (06:07 -0700)]
[PATCH] sparse: more net/* annotation

Annotation of net/* ...copy... that deals with userland pointers +
several bits that fell out of previous patch (trivial annotations)

22 years ago[PATCH] sparse: trivial part of net/* annotation
Alexander Viro [Sun, 30 May 2004 13:06:56 +0000 (06:06 -0700)]
[PATCH] sparse: trivial part of net/* annotation

22 years ago[PATCH] sparse: missed piece of sock_get_timestamp() annotation
Alexander Viro [Sun, 30 May 2004 13:06:44 +0000 (06:06 -0700)]
[PATCH] sparse: missed piece of sock_get_timestamp() annotation

22 years ago[PATCH] sparse: dev_ioctl() callers
Alexander Viro [Sun, 30 May 2004 13:06:33 +0000 (06:06 -0700)]
[PATCH] sparse: dev_ioctl() callers

dev_ioctl() has a __user pointer argument; however, its declaration
lacks that and callers are also wrong.  Declaration fixed, callers updated.

22 years ago[PATCH] sparse: missed setsockopt wrappers
Alexander Viro [Sun, 30 May 2004 13:06:21 +0000 (06:06 -0700)]
[PATCH] sparse: missed setsockopt wrappers

Here's the tail of setsockopt I've missed - for old protocol families we
have wrappers around those methods.

22 years ago[PATCH] Fix compilation on x86-64
Andi Kleen [Sun, 30 May 2004 13:01:28 +0000 (06:01 -0700)]
[PATCH] Fix compilation on x86-64

I managed to break compilation with my last patch with a last minute edit.

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Sun, 30 May 2004 12:22:41 +0000 (05:22 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

22 years ago[PKT_SCHED]: Missing rta_len init in sch_delay.
David S. Miller [Sun, 30 May 2004 12:12:54 +0000 (05:12 -0700)]
[PKT_SCHED]: Missing rta_len init in sch_delay.

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
David S. Miller [Sun, 30 May 2004 10:51:09 +0000 (03:51 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
into kernel.bkbits.net:/home/davem/sparc-2.6

22 years ago[SPARC]: Do tty_flip_buffer_push outside of port lock.
David S. Miller [Sun, 30 May 2004 10:43:22 +0000 (03:43 -0700)]
[SPARC]: Do tty_flip_buffer_push outside of port lock.

22 years ago[SPARC64]: Update defconfig.
David S. Miller [Sun, 30 May 2004 10:39:32 +0000 (03:39 -0700)]
[SPARC64]: Update defconfig.

22 years agoppc64: use "ASM_CONST()" to give proper C type to constants
Linus Torvalds [Sun, 30 May 2004 05:50:19 +0000 (22:50 -0700)]
ppc64: use "ASM_CONST()" to give proper C type to constants
that can also be used in assembly language context.

This one fixes the common CPU_FTR_COHERENT_ICACHE warning in
asm/cacheflush.h.

22 years ago[PATCH] Really fix empty node 0 on x86-64
Andi Kleen [Sun, 30 May 2004 04:55:25 +0000 (21:55 -0700)]
[PATCH] Really fix empty node 0 on x86-64

x86-64 shares some numa code with i386, and that didn't handle holes in
the node map properly.  Fix this.

22 years ago[PATCH] x86-64 update
Andi Kleen [Sun, 30 May 2004 04:55:13 +0000 (21:55 -0700)]
[PATCH] x86-64 update

Add accumulated bug fixes for x86-64 and some minor cleanups.

 - Add ptep_set_access_flags from i386
 - Change memory text mapping to 10MB from 40MB to make alias window
   smaller
 - Disable change_page_attr for kernel mapoing for now (wrong, but the
   other code also doesn't work)
 - Add .bss.page_aligned and align interrupt/exception stacks (idea from
   Matt Mackall)
 - Protect sysenter MSR setup against missing registers.
 - Set mce tolerance level to 1 (panic instead of deadlock)
 - Fix cross 4GB bug in find_first_bit (Michael Matz)
 - Add missing memory clobbers in bitops.h (Suresh B.  Siddha)
 - Check kernel size at boot up
 - Set boot cpu online at boot to fix early printk
 - Fix EFER bit definitions (Dave Jones)
 - Fix comments in 32bit syscall table.
 - Quieten all 32bit syscalls that are unimplemented in 32bit.
 - Various MCE fixes suggested by Eric Morton, David Boles et.al.
   More to come.
 - Quieten some printks
 - Fix cpu online check in msr driver
 - Lower polling interval for machine checks to 5 minutes to avoid
   overrunning the registers.
 - Make memcpy_{from,to}io more compatible with i386 (Roland Dreier)

22 years agoppc64: fix untyped large constants so that they don't cause
Linus Torvalds [Sun, 30 May 2004 04:47:20 +0000 (21:47 -0700)]
ppc64: fix untyped large constants so that they don't cause
sparse to warn about implicit typing.

22 years agoAdd __user annotations to sock_get_timestamp()
Linus Torvalds [Sun, 30 May 2004 04:10:51 +0000 (21:10 -0700)]
Add __user annotations to sock_get_timestamp()

22 years ago[PATCH] make vram boot option actually work
Piotr Kaczuba [Sun, 30 May 2004 03:32:16 +0000 (20:32 -0700)]
[PATCH] make vram boot option actually work

The following patch makes the vram boot option actually be recognized
and its value assigned to the vram variable.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoLinux 2.6.7-rc2 v2.6.7-rc2
Linus Torvalds [Sat, 29 May 2004 16:24:11 +0000 (09:24 -0700)]
Linux 2.6.7-rc2

22 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...

22 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

22 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.

22 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

22 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.

22 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

22 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.

22 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

22 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