]> git.hungrycats.org Git - linux/log
linux
23 years ago[PATCH] vm_enough_memory microoptimisation
Andrew Morton [Sun, 31 Aug 2003 11:29:56 +0000 (04:29 -0700)]
[PATCH] vm_enough_memory microoptimisation

From: <ffrederick@prov-liege.be>

The expected case is (sysctl_overcommit_memory == 0), so put that first.

23 years ago[PATCH] Kobject doc addition
Andrew Morton [Sun, 31 Aug 2003 11:29:49 +0000 (04:29 -0700)]
[PATCH] Kobject doc addition

From: <ffrederick@prov-liege.be>

Here's an _important_ kobject doc patch.

23 years ago[PATCH] Fix permissions on /proc/kallsyms
Andrew Morton [Sun, 31 Aug 2003 11:29:40 +0000 (04:29 -0700)]
[PATCH] Fix permissions on /proc/kallsyms

From: Rusty Russell <rusty@rustcorp.com.au>

Change the permissions on /proc/kallsyms.  As David M-T points out,
it's nice for analysis tools not to need root.  Place
cond_resched() to avoid starvation problems on non-preempt.

23 years ago[PATCH] /proc/kallsym caching fix
Andrew Morton [Sun, 31 Aug 2003 11:29:33 +0000 (04:29 -0700)]
[PATCH] /proc/kallsym caching fix

From: Rusty Russell <rusty@rustcorp.com.au>

Out by one error broke caching of results in /proc/kallsyms, slowing
reading to a crawl.

23 years ago[PATCH] Fix 'pci=noacpi' with buggy ACPI BIOSes
Andrew Morton [Sun, 31 Aug 2003 11:29:25 +0000 (04:29 -0700)]
[PATCH] Fix 'pci=noacpi' with buggy ACPI BIOSes

From: Thomas Schlichter <schlicht@uni-mannheim.de>

Make the `pci=noacpi' command line option work correctly.  It fixes
interrupt routing probems for (at least 3) people with broken ACPI BIOSes.

23 years ago[PATCH] c99 struct initialiser conversions
Andrew Morton [Sun, 31 Aug 2003 11:29:17 +0000 (04:29 -0700)]
[PATCH] c99 struct initialiser conversions

From: CaT <cat@zip.com.au>

Convert a whole bunch of struct initialisers into c99 format.

23 years ago[PATCH] pcnet32 needs unregister_pci
Andrew Morton [Sun, 31 Aug 2003 11:29:08 +0000 (04:29 -0700)]
[PATCH] pcnet32 needs unregister_pci

From: Domen Puncer <domen@coderock.org>

The problem in pcnet32 is, that it doesn't unregister pci, if there's no
hardware.

This patch solves the problem.

23 years ago[PATCH] drivers/char/pcxx.c warning fix
Andrew Morton [Sun, 31 Aug 2003 11:28:59 +0000 (04:28 -0700)]
[PATCH] drivers/char/pcxx.c warning fix

From: "Krishnakumar. R" <krishnakumar@naturesoft.net>

This patch removes the warning:

drivers/char/pcxx.c:124:8: warning: extra tokens at end of #endif directive

23 years ago[PATCH] airo CONFIG_PCI=n build fix
Andrew Morton [Sun, 31 Aug 2003 11:28:52 +0000 (04:28 -0700)]
[PATCH] airo CONFIG_PCI=n build fix

From: Geert Uytterhoeven <geert@linux-m68k.org>

On Fri, 22 Aug 2003, Linus Torvalds wrote:
> Javier Achirica:
>   o [wireless airo] Fix PCI unregister code

This patch causes a regression: if CONFIG_PCI is not set, it doesn't compile
anymore. Here's a fix. I also killed a dead variable and its corresponding
warning:

23 years ago[PATCH] zoran: correct name field breakage
Andrew Morton [Sun, 31 Aug 2003 11:28:44 +0000 (04:28 -0700)]
[PATCH] zoran: correct name field breakage

From: Ronald Bultje <rbultje@ronald.bitfreak.net>

I suddenly noticed that 2.6.0-test4 seems to have removed the struct
device->name field, apparently for memory consumption reasons. Linus
changed this to pci_name((zr)->pci_dev) in my driver, and that's almost
correct, except that it is the PCI device ID, and I'm not supposed to
touch it. Also, since it's only 4 bytes, all my device names now show
like 'DC1' (this should be 'DC10plus') and alike.

The attached patch fixes this by going back to the behaviour that we
used in 2.4.x: we use a separate name field in our private driver
struct.

23 years ago[PATCH] zoran: more cleanups
Andrew Morton [Sun, 31 Aug 2003 11:28:37 +0000 (04:28 -0700)]
[PATCH] zoran: more cleanups

From: Ronald Bultje <rbultje@ronald.bitfreak.net>

This patch adds some newlines between variable declarations and function
bodies. This was done on request by Francois Romieu.

23 years ago[PATCH] zoran: cleanups
Andrew Morton [Sun, 31 Aug 2003 11:28:29 +0000 (04:28 -0700)]
[PATCH] zoran: cleanups

From: Ronald Bultje <rbultje@ronald.bitfreak.net>

This patch changes some funky coding style (a.k.a. indent artifact) in
the function zoran_irq() to a somewhat more conservative coding style.
It was noticed by Francois Romieu.

23 years ago[PATCH] zoran: add pci_disable_device() call
Andrew Morton [Sun, 31 Aug 2003 11:28:22 +0000 (04:28 -0700)]
[PATCH] zoran: add pci_disable_device() call

From: Ronald Bultje <rbultje@ronald.bitfreak.net>

This patch adds pci_disable_device() to the card release function; we
already used pci_enable_device() in the card detection function.  This was
noticed by Francois Romieu.

23 years ago[PATCH] zoran: add release callback
Andrew Morton [Sun, 31 Aug 2003 11:28:14 +0000 (04:28 -0700)]
[PATCH] zoran: add release callback

From: Ronald Bultje <rbultje@ronald.bitfreak.net>

This patch adds a release callback which frees the video_device struct.
This is needed to prevent freeing memory before it's not in use anymore,
as described in http://lwn.net/Articles/36850/. Without this, the driver
will give a warning when loaded. It might crash when unloading (see
article), too. The video4linux patch (by Gerd Knorr) was accepted a week
(or 2?) ago, but I forgot to adapt my driver to it.

23 years ago[PATCH] zoran: debug->zr_debug
Andrew Morton [Sun, 31 Aug 2003 11:28:07 +0000 (04:28 -0700)]
[PATCH] zoran: debug->zr_debug

From: Ronald Bultje <rbultje@ronald.bitfreak.net>

This patch renames the debug symbol to zr_debug because debug is already
defined somewhere else. Without it, it will cause a symbol conflict when
compiling this driver statically into the kernel. This was noticed by
several people, including Linus himself.

23 years ago[PATCH] zoran: memleak fixes
Andrew Morton [Sun, 31 Aug 2003 11:27:59 +0000 (04:27 -0700)]
[PATCH] zoran: memleak fixes

From: Ronald Bultje <rbultje@ronald.bitfreak.net>

This patch fixes several memleaks in error cases when the setup of i2c
client drivers for video encoders/decoders fails. We forgot to free some
memory in various places. This was noticed by Francois Romieu.

23 years ago[PATCH] spin_lock_irqrestore() typo fixes
Andrew Morton [Sun, 31 Aug 2003 11:27:51 +0000 (04:27 -0700)]
[PATCH] spin_lock_irqrestore() typo fixes

From: Vinay K Nallamothu <vinay-rc@naturesoft.net>

s/spin_lock_irqrestore/spin_unlock_irqrestore/

23 years ago[PATCH] remove add_wait_queue_cond()
Andrew Morton [Sun, 31 Aug 2003 11:27:43 +0000 (04:27 -0700)]
[PATCH] remove add_wait_queue_cond()

It has no callers, is using the non-existent spin_lock_irqrestore(), and is
obviously very untested.  Kill.

23 years ago[PATCH] don't report async write errors on close() after all
Andrew Morton [Sun, 31 Aug 2003 11:27:35 +0000 (04:27 -0700)]
[PATCH] don't report async write errors on close() after all

I had second thoughts on this.

Reporting background writeout errors via close() only really makes sense if
allthe IO has completed anyway: ie, the app has had the fd open without
writing to it for many tens of seconds.

It would be OK if it was harmless, but it is not.  Changes are, applications
ignore errors from close().  So if an application does a fork/exit and the
child correctly does an fsync() of the fd, the close-on-exit will have wiped
out any accumulated EIO/ENOSPC errors.

Or if someone does dup()/close()/fsync(), the fsync() could fail to detect
earlier errors, thanks to the close.

So.  The clear-and-report of errors on close() makes the reporting of errors
on fsync/msync/fdatasync less reliable.

23 years ago[PATCH] zeromap_pmd_range bugfix
Andrew Morton [Sun, 31 Aug 2003 11:27:28 +0000 (04:27 -0700)]
[PATCH] zeromap_pmd_range bugfix

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>

The patch below fixes a 2.6 mm problem.  Without this patch, zeromapped
pages are not flushed properly when they are swapped out.

What happens is that the page->index field is zero for page table pages
corresponding to the zeromapped range.  This causes ptep_to_address() to
return an incorrect virtual address with the result that PTEs are never
invalidated at swap-out...

The fix below mirrors the remap_pmd_range() case.

23 years ago[PATCH] Add 3GB personality
Andrew Morton [Sun, 31 Aug 2003 11:27:21 +0000 (04:27 -0700)]
[PATCH] Add 3GB personality

From: Andi Kleen <ak@muc.de>

Another a bit ugly but necessary patch for 32bit emulation.

Some applications including some versions of java break when the stack is
beyond the i386 standard 3GB boundary.  For these add a 3GB personality
that moves the stack to 3GB and fixes the beginning of the mmap area.  It's
a bit ugly, but better than not running these applications at all (e.g.
the Oracle installer depends on such a buggy java :-().  It's also not only
Java, but some other programs as well.

23 years ago[PATCH] jffs aops return type fix
Andrew Morton [Sun, 31 Aug 2003 11:27:14 +0000 (04:27 -0700)]
[PATCH] jffs aops return type fix

From: "Randy.Dunlap" <rddunlap@osdl.org>

prepare_write() and commit_write() return `int'.

Fixes an ia64 compile warning.

23 years ago[PATCH] Fix ftape warning
Andrew Morton [Sun, 31 Aug 2003 11:27:05 +0000 (04:27 -0700)]
[PATCH] Fix ftape warning

From: Chris Heath <chris@heathens.co.nz>

Here's a patch which fixes this warning:

drivers/char/ftape/lowlevel/fdc-io.c: In function `ftape_interrupt':
drivers/char/ftape/lowlevel/fdc-io.c:1299: warning: unused variable `_tracing'

23 years ago[PATCH] ikconfig - Makefile update
Andrew Morton [Sun, 31 Aug 2003 11:26:58 +0000 (04:26 -0700)]
[PATCH] ikconfig - Makefile update

From: "Randy.Dunlap" <rddunlap@osdl.org>

Please merge this makefile update from Sam.
From: Sam Ravnborg <sam@ravnborg.org>

Remark, I removed dependencies for configs.o - the are generated by kbuild
anyway. Only generated files needs explicit dependencies.

23 years ago[PATCH] v4l use-after-free fix
Andrew Morton [Sun, 31 Aug 2003 11:26:51 +0000 (04:26 -0700)]
[PATCH] v4l use-after-free fix

From: Greg KH <greg@kroah.com>

When working on converting the usb v4l drivers to the new v4l class
changes, I ran into this nasty bug.  Seems that the core was using a
structure after it had been freed.  The patch below fixes it.

23 years ago[PATCH] Update ide.txt documentation to current ide.c
Andrew Morton [Sun, 31 Aug 2003 11:26:43 +0000 (04:26 -0700)]
[PATCH] Update ide.txt documentation to current ide.c

From: Maciej Soltysiak <solt@dns.toxicfilms.tv>

this patches updates Documentation/ide.txt to reflect more options that
really are supported by the IDE driver (drivers/ide.c)

23 years ago[PATCH] Add the kernel janitors to MAINTAINERS
Andrew Morton [Sun, 31 Aug 2003 11:26:35 +0000 (04:26 -0700)]
[PATCH] Add the kernel janitors to MAINTAINERS

From: "Randy.Dunlap" <rddunlap@osdl.org>

Add the Kernel Janitors project to MAINTAINERS.

Probably the trivial patch monkey should be there too.

23 years ago[PATCH] move DAC960 GAM IOCTLs into a new device
Andrew Morton [Sun, 31 Aug 2003 11:26:27 +0000 (04:26 -0700)]
[PATCH] move DAC960 GAM IOCTLs into a new device

From: Dave Olien <dmo@osdl.org>

The DAC960 driver uses an ugly overloading of the O_NONBLOCK flag to
support the controller's RAID configuration features.

Opening "/dev/rd/c0d0" with the O_NONBLOCK flag set returns a file
descriptor that can be used to do RAID control operations using ioctl().
The normal ioctl operations are not availabe with that file descriptor.

This patch removes that O_NONBLOCK overloading from DAC960_open() and
DAC960_ioctl() functions.  It introduces a new "miscellaneous" device
named /dev/dac960_gam.  It uses minor device number 252 of the miscellaneous
character devices.

The currently distrubted "Global Array Manager" server distrubted by
LSIlogic on their web page page works only on RH7.3 or earlier.  It doesn't
work under RH9.  There are probably some library incompatabilities.
So, I don't view this patch as breaking anything that currently works.
If this software package is ever brought up to date (which I doubt),
then it can be modified to use this new device at that time.

23 years ago[PATCH] Call security hook from pid*_revalidate
Andrew Morton [Sun, 31 Aug 2003 11:26:19 +0000 (04:26 -0700)]
[PATCH] Call security hook from pid*_revalidate

From: Stephen Smalley <sds@epoch.ncsc.mil>

This patch against 2.6.0-test3-mm3 adds calls to the security_task_to_inode
hook to the pid*_revalidate functions to ensure that the inode security field
is also updated appropriately for /proc/pid inodes.  This corresponds with
the uid/gid update performed by the proc-pid-setuid-ownership-fix.patch that
is already in -mm3.

23 years ago[PATCH] fix /proc/pid/fd ownership across setuid()
Andrew Morton [Sun, 31 Aug 2003 11:26:12 +0000 (04:26 -0700)]
[PATCH] fix /proc/pid/fd ownership across setuid()

From: "B. D. Elliott" <bde@nwlink.com>

There's a bug:

- Someone reads a (say) root-owned process's /proc/pid/fd directory

  The inodes are instantiated owned by root.

- That process does a setuid

- The /proc/pid/* files still have the old ownerships.

This happened because we are now caching the proc entries.

The patch rewrites the ownership of the inodes under /proc/pid in the
d_revalidate() handler.

23 years ago[PATCH] disable prefetch on athlons
Andrew Morton [Sun, 31 Aug 2003 11:26:04 +0000 (04:26 -0700)]
[PATCH] disable prefetch on athlons

K7's (at least) are faulting in the prefetch instruction.  The AMD
engineers have said they will be getting back to us on it, and the fix is
looking complex, and nobody seems to be standing up to work on it.

So hum.  The usual manifestation is an oops in hlist_for_each(), down in
the VFS inode lookup code.  Disrupting our testers in this way is very bad,
so this patch just disables prefetch on all AMD parts in a rather stupid
way.

23 years ago[PATCH] random: accounting and sleeping fixes
Andrew Morton [Sun, 31 Aug 2003 11:25:56 +0000 (04:25 -0700)]
[PATCH] random: accounting and sleeping fixes

From: Oliver Xymoron <oxymoron@waste.org>

This fixes several calculation errors and races in entropy accounting
that would allow /dev/random output to greatly exceed the measured
entropy collection. This doesn't include any of my more controversial
hardening, it just makes it behave as intended.

It also corrects the operation of the 'catastrophic reseeding' feature
so that it will actually prevent the state extension attack it's meant
to guard against.

And finally, it also fixes a couple missed wake-up and accidental
sleep bugs uncovered by the above fixes.

Debug instrumentation has been improved to help verify correctness.

23 years ago[PATCH] random: SMP locking
Andrew Morton [Sun, 31 Aug 2003 11:25:47 +0000 (04:25 -0700)]
[PATCH] random: SMP locking

From: Oliver Xymoron <oxymoron@waste.org>

This patch adds locking for SMP. Apparently Willy never managed to
revive his laptop with his version so I revived mine.

The batch pool is copied as a block to avoid long lock hold times
while mixing it into the primary pool.

Two locks are added:

gobal batch_lock
   batch_entropy_store can be called from any context, and typically from
   interrupts -> spin_lock_irqsave

   batch_entropy_process is called called via schedule_delayed_work and
   runs in process context -> spin_lock_irq

entropy_store.lock
   the mixing process is too expensive to be called from an interrupt
   context and the basic worker function extract_entropy can sleep, so
   all this stuff can be under a normal spin_lock

23 years ago[PATCH] .config checks updated
Andrew Morton [Sun, 31 Aug 2003 11:25:40 +0000 (04:25 -0700)]
[PATCH] .config checks updated

From: Sam Ravnborg <sam@ravnborg.org>

When building a kernel right after 'make mrproper' resulted in a very short
run, and no sign that .config was missing.  This has been fixed by adding a
new rule for .config in the top-level Makefile, and a new target
'silentoldconfig' in scripts/kconfig/Makefile.

Cleaned up a bit in scripts/kconfig/Makefile

23 years ago[PATCH] Fix compile errors in NFSv4 server
Neil Brown [Sun, 31 Aug 2003 10:21:54 +0000 (03:21 -0700)]
[PATCH] Fix compile errors in NFSv4 server

23 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Sun, 31 Aug 2003 10:08:47 +0000 (03:08 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[PATCH] free_netdev typo
Herbert Xu [Sun, 31 Aug 2003 08:41:25 +0000 (01:41 -0700)]
[PATCH] free_netdev typo

The free_netdev fixes in 2.6.0-test4 broke drivers/net/wan/cosa.c.
This fixes it.

23 years ago[PATCH] fix cu3088 group write
Guillaume Morin [Sun, 31 Aug 2003 08:41:18 +0000 (01:41 -0700)]
[PATCH] fix cu3088 group write

The current cu3088 ccwgroup write code overwrite the last char of the
given arguments.  This fixes the problem.  It is been tested and applies
on latest bk.

23 years ago[PATCH] Remaining task queue to work queue conversion.
Krishna Kumar [Sun, 31 Aug 2003 08:27:52 +0000 (01:27 -0700)]
[PATCH] Remaining task queue to work queue conversion.

Somewhere in the transition of task queue to the work queue, in
stallion.c, some of the schedule_task were left out from being converted
to schedule_work.  This fixes it.

23 years ago[PATCH] cyc2x: sanitize ioremap usage & more
Arnaldo Carvalho de Melo [Sun, 31 Aug 2003 08:27:44 +0000 (01:27 -0700)]
[PATCH] cyc2x: sanitize ioremap usage & more

I wrote this driver a long time ago, and now, playing with my
brand new PARISC machine I found these problems, could you please apply
this patch?

Ah, the "& more" refers to some alignment problems also solved
in this patch.

23 years ago[PATCH] pcmciamtd.c: remove release timer
Vinay K. Nallamothu [Sun, 31 Aug 2003 08:27:36 +0000 (01:27 -0700)]
[PATCH] pcmciamtd.c: remove release timer

This patch removes the PCMCIA timer release functionality which is no
longer required (or supported).

23 years ago[PATCH] OProfile: correct CPU type for x86-64
John Levon [Sun, 31 Aug 2003 07:19:48 +0000 (00:19 -0700)]
[PATCH] OProfile: correct CPU type for x86-64

Enable the Hammer specific events by giving the correct cpu string.
From, and tested by, Will Cohen.

23 years agoMerge
Linus Torvalds [Sun, 31 Aug 2003 07:15:15 +0000 (00:15 -0700)]
Merge

23 years agoMerge bk://linux-dj.bkbits.net/agpgart
Linus Torvalds [Sun, 31 Aug 2003 07:12:13 +0000 (00:12 -0700)]
Merge bk://linux-dj.bkbits.net/agpgart
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge bk://kernel.bkbits.net/jgarzik/net-drivers-2.6
Linus Torvalds [Sun, 31 Aug 2003 07:10:21 +0000 (00:10 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/net-drivers-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[netdrvr 8139too] don't start thread when it's not needed
Hirofumi Ogawa [Sun, 31 Aug 2003 11:38:21 +0000 (07:38 -0400)]
[netdrvr 8139too] don't start thread when it's not needed

    The thread for was unneeded on chips other than CH_8139_K/8129. So,
    this patch doesn't create the thread on chips other than
    CH_8139_K/8129.

23 years ago[netdrvr 8139too] remove driver-based poisoning of net_device
Hirofumi Ogawa [Sun, 31 Aug 2003 11:35:24 +0000 (07:35 -0400)]
[netdrvr 8139too] remove driver-based poisoning of net_device

Harmless in 2.4, but causes oopses on rmmod in 2.6.

slab poisoning can take care of this for us, anyway.

23 years agoMerge redhat.com:/spare/repo/linus-2.6
Jeff Garzik [Sun, 31 Aug 2003 11:31:21 +0000 (07:31 -0400)]
Merge redhat.com:/spare/repo/linus-2.6
into redhat.com:/spare/repo/net-drivers-2.6

23 years ago[netdrvr sk_mca] remove ancient-kernel compat code; fix bugs
Jeff Garzik [Sun, 31 Aug 2003 07:29:53 +0000 (03:29 -0400)]
[netdrvr sk_mca] remove ancient-kernel compat code; fix bugs

* removed ancient-kernel compat code from sk_mca.h.  I leave
  it to janitors to remove the now-useless SKMCA_xxx wrappers.
* removed ancient-kernel compat code from sk_mca.c.
* s/SKMCA_NETDEV/net_device/
* fixed static net_device initialization (this will go away
  when dynamic-alloc patches land)

23 years ago[netdrvr sk_mca] somebody typo'd in their cli()-to-spinlock conversion
Jeff Garzik [Sun, 31 Aug 2003 07:10:33 +0000 (03:10 -0400)]
[netdrvr sk_mca] somebody typo'd in their cli()-to-spinlock conversion

Anybody with hardware, that can test this driver?

23 years agoMerge pmac IDE changes
Linus Torvalds [Sun, 31 Aug 2003 07:09:20 +0000 (00:09 -0700)]
Merge pmac IDE changes

23 years ago[netdrvr ixgb] must call NAPI-specific vlan hook
Jeff Garzik [Sun, 31 Aug 2003 07:08:57 +0000 (03:08 -0400)]
[netdrvr ixgb] must call NAPI-specific vlan hook

23 years ago[netdrvr 8139cp] must call NAPI-specific vlan hook
Jeff Garzik [Sun, 31 Aug 2003 07:02:30 +0000 (03:02 -0400)]
[netdrvr 8139cp] must call NAPI-specific vlan hook

23 years ago[PATCH] Properly export symbols that depend on CONFIG_MMU
Miles Bader [Sun, 31 Aug 2003 07:02:12 +0000 (00:02 -0700)]
[PATCH] Properly export symbols that depend on CONFIG_MMU

23 years ago[PATCH] Give v850 its own version of the vmlinux.lds.h RODATA macro
Miles Bader [Sun, 31 Aug 2003 07:02:03 +0000 (00:02 -0700)]
[PATCH] Give v850 its own version of the vmlinux.lds.h RODATA macro

While it would be nice to keep using the generic version of RODATA, the
v850's linker-script structure is sufficiently different from that of
typical archs that it's not possible to use RODATA as it's currently
defined.  I earlier suggested splitting the generic definition of RODATA
into `RODATA_CONTENTS' and `RODATA' (a wrapper around RODATA_CONTENTS)
where most archs would use RODATA, and the v850 would use
RODATA_CONTENTS, however Kai didn't like that idea.

It _may_ be possible to rewrite the v850's linker scripts into something
more typical (using lots of individual output sections), but it doesn't
seem at all straightforward, so I don't have the time to do it right
now.

Anyway, this is the short-term work-around so that Linus's kernel works
on the v850.

23 years ago[PATCH] h8300 include update
Yoshinori Sato [Sun, 31 Aug 2003 07:01:55 +0000 (00:01 -0700)]
[PATCH] h8300 include update

o driver support headers update
o fix warnings

23 years ago[PATCH] h8300 interrupt problem fix
Yoshinori Sato [Sun, 31 Aug 2003 07:01:31 +0000 (00:01 -0700)]
[PATCH] h8300 interrupt problem fix

typo fixed.

23 years ago[PATCH] meye driver update
Stelian Pop [Sun, 31 Aug 2003 07:01:23 +0000 (00:01 -0700)]
[PATCH] meye driver update

In order to bring the 2.4 and 2.6 versions in sync, here is the
missing bit for the meye driver :)

23 years ago[PATCH] sonypi driver update
Stelian Pop [Sun, 31 Aug 2003 07:01:15 +0000 (00:01 -0700)]
[PATCH] sonypi driver update

This updates the sonypi driver to the latest version:
        * document the fact that FX501/FX702 laptops are not supported

        * add battery insert/remove events (thanks to Daniel K.)

        * improve the event detection using a different port offset
          on 'type2' models (thanks to Daniel K.)

23 years agoMerge http://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Sun, 31 Aug 2003 06:45:59 +0000 (23:45 -0700)]
Merge http://lia64.bkbits.net/to-linus-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[PATCH] Atari floppy
Geert Uytterhoeven [Sun, 31 Aug 2003 06:43:53 +0000 (23:43 -0700)]
[PATCH] Atari floppy

Atari floppy: Add missing includes and remove some unnecessary includes

23 years ago[PATCH] M68k switch_to
Geert Uytterhoeven [Sun, 31 Aug 2003 06:43:44 +0000 (23:43 -0700)]
[PATCH] M68k switch_to

M68k: Set last in switch_to(), fix asm constraints (from Andreas Schwab)

23 years ago[PATCH] Amiga floppy
Geert Uytterhoeven [Sun, 31 Aug 2003 06:43:36 +0000 (23:43 -0700)]
[PATCH] Amiga floppy

Amiga floppy: Add missing includes and remove some unnecessary includes (from
Roman Zippel)

23 years ago[PATCH] Amiga z2ram
Geert Uytterhoeven [Sun, 31 Aug 2003 06:43:28 +0000 (23:43 -0700)]
[PATCH] Amiga z2ram

Amiga z2ram: Add missing includes and remove some unnecessary includes

23 years ago[PATCH] m68k asm/local.h
Geert Uytterhoeven [Sun, 31 Aug 2003 06:43:19 +0000 (23:43 -0700)]
[PATCH] m68k asm/local.h

M68k: asm/local.h just includes the generic version (from Roman Zippel)

23 years ago[PATCH] m68k asm/sections.h
Geert Uytterhoeven [Sun, 31 Aug 2003 06:43:10 +0000 (23:43 -0700)]
[PATCH] m68k asm/sections.h

M68k: asm/sections.h just includes the generic version (from Roman Zippel)

23 years ago[PATCH] macide (was: Re: Linux 2.6.0-test4)
Geert Uytterhoeven [Sun, 31 Aug 2003 06:43:02 +0000 (23:43 -0700)]
[PATCH] macide (was: Re: Linux 2.6.0-test4)

Bartlomiej Zolnierkiewicz:
>   o ide: disk geometry/capacity cleanups
>   o ide: always store disk capacity in u64

Forgot to update the Macintosh IDE driver:

23 years ago[PATCH] vmlinux-*.lds (was: Re: Linux 2.6.0-test4)
Geert Uytterhoeven [Sun, 31 Aug 2003 06:42:54 +0000 (23:42 -0700)]
[PATCH] vmlinux-*.lds (was: Re: Linux 2.6.0-test4)

Kai Germaschewski:
>   o kbuild: Move generation of vmlinux.lds.s into arch/.../kernel

This forgot to move two files:

    mv arch/m68k/vmlinux-std.lds arch/m68k/kernel
    mv arch/m68k/vmlinux-sun3.lds arch/m68k/kernel

23 years agoMerge http://linux.bkbits.net/linux-2.5
Wim Van Sebroeck [Sun, 31 Aug 2003 06:41:10 +0000 (23:41 -0700)]
Merge http://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/l/linux-watchdog/linux-2.5-watchdog

23 years ago[WATCHDOG] alim1535_wdt.c
Wim Van Sebroeck [Sun, 31 Aug 2003 22:40:47 +0000 (00:40 +0200)]
[WATCHDOG] alim1535_wdt.c

Add "ALi M1535 PMU Watchdog Timer" driver

23 years ago[WATCHDOG] acquirewdt.c - patch
Wim Van Sebroeck [Sun, 31 Aug 2003 22:36:00 +0000 (00:36 +0200)]
[WATCHDOG] acquirewdt.c - patch

clean-up of comments, trailing spaces, includes, ...
removed unnecessary spinlocking
added WATCHDOG_NAME + PFX defines for easier printk's
clean-up expect_close / acq_is_open
made wdt_stop and wdt_start a module_param
clean-up ioctl handling
clean-up init and exit routines
added MODULE_AUTHOR + MODULE_DESCRIPTION info

23 years ago[WATCHDOG] wafer5823wdt.c - patch3
Wim Van Sebroeck [Sun, 31 Aug 2003 22:33:33 +0000 (00:33 +0200)]
[WATCHDOG] wafer5823wdt.c - patch3

fix MODULE_PARM_DESC for timeout
add WDIOC_SETOPTIONS functionality

23 years ago[PATCH] dev_t handling cleanups (12/12)
Alexander Viro [Sun, 31 Aug 2003 05:51:54 +0000 (22:51 -0700)]
[PATCH] dev_t handling cleanups (12/12)

added the exclusion between ADD_PARTITION/DELETE_PARTITION/open() (BLKPG
ioctls didn't grab ->bd_sem when they should have).

added bdev->bd_part; it is set at open() to point to the hd_struct of
partition in question, reset on final close.

blk_partition_remap() uses ->bd_part instead of the current mess

  ->bd_offset is gone, we use ->bd_part->start_sect instead

added missing ->release() to hd_struct kobject, moved kfree() into it

  ->bd_part cotributes to refcount of hd_struct - we bump it when

  ->bd_part is set and drop when it's reset.

23 years ago[PATCH] dev_t handling cleanups (11/12)
Alexander Viro [Sun, 31 Aug 2003 05:51:46 +0000 (22:51 -0700)]
[PATCH] dev_t handling cleanups (11/12)

new helper - imajor(inode)

23 years ago[PATCH] dev_t handling cleanups (10/12)
Alexander Viro [Sun, 31 Aug 2003 05:51:36 +0000 (22:51 -0700)]
[PATCH] dev_t handling cleanups (10/12)

new helper - iminor(inode); defined as minor(inode->i_rdev); lots and
lots of places in drivers had been switched to it.

23 years ago[PATCH] dev_t handling cleanups (9/12)
Alexander Viro [Sun, 31 Aug 2003 05:51:22 +0000 (22:51 -0700)]
[PATCH] dev_t handling cleanups (9/12)

struct block_device made the private part of bdevfs inodes; bd_count
is gone, we use ->i_count of inode now; separate hash is also gone and we
are using iget5_locked()/igrab()/iput() instead.

23 years ago[PATCH] dev_t handling cleanups (8/12)
Alexander Viro [Sun, 31 Aug 2003 05:51:14 +0000 (22:51 -0700)]
[PATCH] dev_t handling cleanups (8/12)

Now that floppy_open() stores bdev in opened_bdevs[drive], we can remove
crap from floppy_read_block_0() and have it use that bdev instead of
messing with bdget_disk()/setting ->bd_disk by hand/bdput().

23 years ago[PATCH] dev_t handling cleanups (7/12)
Alexander Viro [Sun, 31 Aug 2003 05:51:05 +0000 (22:51 -0700)]
[PATCH] dev_t handling cleanups (7/12)

removed dead code from sparc64 hugetlbpage.c

23 years ago[PATCH] dev_t handling cleanups (6/12)
Alexander Viro [Sun, 31 Aug 2003 05:50:58 +0000 (22:50 -0700)]
[PATCH] dev_t handling cleanups (6/12)

 - hpfs_unlink() should not try to truncate the victim unless it's a
   regular file; truncate will not help for anything else and it will
   screw the page cache if victim happens to be a block device.
 - network filesystems should *not* invalidate page cache of block
   device node when inode gets invalidated; fixed, added a new helper -
   invalidate_remote_inode().
 - nfs setattr syncs the file before sending SETATTR to server; that
   makes a lot of sense for regular files, but not for anything else.
   Fixed.

23 years ago[PATCH] dev_t handling cleanups (5/12)
Alexander Viro [Sun, 31 Aug 2003 05:50:48 +0000 (22:50 -0700)]
[PATCH] dev_t handling cleanups (5/12)

removed bogus uses of ->i_sb->s_dev in intermezzo (comparizons can and
should simply compare ->i_sb, printks should use ->s_id).

23 years ago[PATCH] dev_t handling cleanups (4/12)
Alexander Viro [Sun, 31 Aug 2003 05:50:40 +0000 (22:50 -0700)]
[PATCH] dev_t handling cleanups (4/12)

jffs used to put kdev_t values on disk - blind copy of in-core
representation.

Switched to explicit use of u16 (which is what kdev_t currently is),
with appropriate conversion

23 years ago[PATCH] dev_t handling cleanups (3/12)
Alexander Viro [Sun, 31 Aug 2003 05:50:33 +0000 (22:50 -0700)]
[PATCH] dev_t handling cleanups (3/12)

killed gratitious uses of kdev_t in tpqic02

23 years ago[PATCH] dev_t handling cleanups (2/12)
Alexander Viro [Sun, 31 Aug 2003 05:50:25 +0000 (22:50 -0700)]
[PATCH] dev_t handling cleanups (2/12)

tty_paranoia_check() switched from kdev_t to struct inode.

23 years ago[PATCH] dev_t handling cleanups (1/12)
Alexander Viro [Sun, 31 Aug 2003 05:50:17 +0000 (22:50 -0700)]
[PATCH] dev_t handling cleanups (1/12)

removed unused kdev_t stuff, fixed a typo left from the
console->device() conversion.

23 years ago[PATCH] use irqreturn_t in m68knommu/5272 config.c
Greg Ungerer [Sun, 31 Aug 2003 05:44:54 +0000 (22:44 -0700)]
[PATCH] use irqreturn_t in m68knommu/5272 config.c

Fix up interrupt handler type to be irqreturn_t.

23 years ago[PATCH] use irqreturn_t in m68knommu/5249 config.c
Greg Ungerer [Sun, 31 Aug 2003 05:44:46 +0000 (22:44 -0700)]
[PATCH] use irqreturn_t in m68knommu/5249 config.c

Fix up interrupt handler type to be irqreturn_t.

23 years ago[PATCH] use irqreturn_t in m68knommu/5206e config.c
Greg Ungerer [Sun, 31 Aug 2003 05:44:38 +0000 (22:44 -0700)]
[PATCH] use irqreturn_t in m68knommu/5206e config.c

Fix up interrupt handler type to be irqreturn_t.

23 years ago[PATCH] use irqreturn_t in m68knommu/5206 config.c
Greg Ungerer [Sun, 31 Aug 2003 05:44:30 +0000 (22:44 -0700)]
[PATCH] use irqreturn_t in m68knommu/5206 config.c

23 years ago[PATCH] fix in NFSv4 server for bad sequence id errors
Neil Brown [Sun, 31 Aug 2003 05:44:22 +0000 (22:44 -0700)]
[PATCH] fix in NFSv4 server for bad sequence id errors

From: "William A.(Andy) Adamson" <andros@citi.umich.edu>

this patch fixes the share state sequenceid bookeeping.

- increment the sequence id on an open that is confirmed
- increment the sequence id on close

23 years ago[PATCH] Track nfsv4 open files by "struct inode" rather than dev/ino/generation
Neil Brown [Sun, 31 Aug 2003 05:44:14 +0000 (22:44 -0700)]
[PATCH] Track nfsv4 open files by "struct inode" rather than dev/ino/generation

23 years ago[PATCH] Fix md superblock incompatabilities with 2.4 kernels.
Neil Brown [Sun, 31 Aug 2003 05:44:06 +0000 (22:44 -0700)]
[PATCH] Fix md superblock incompatabilities with 2.4 kernels.

2.4 kernels are very fussy about some values in the superblock, and
2.6 got them wrong.  This fixes it.

23 years ago[PATCH] Set max_sectors for raid0 only, not for all raid levels.
Neil Brown [Sun, 31 Aug 2003 05:43:58 +0000 (22:43 -0700)]
[PATCH] Set max_sectors for raid0 only, not for all raid levels.

raid1 and multipath have not concept of a chunksize, so basing
max_sectors on it is obviously wrong.

Similary 'linear' has a very different concept of chunksize and
max_sectors doesn't apply.

raid5 does have relevant chunk_size concept, but it has code to
effectively handle any chunksize.

So we only need to set max_sectors based on chunk_size in raid0.

23 years ago[PATCH] Honour the read-ahead for for reads in raid5.
Neil Brown [Sun, 31 Aug 2003 05:43:49 +0000 (22:43 -0700)]
[PATCH] Honour the read-ahead for for reads in raid5.

If we get a failure trying to allocate a stripe_head for a read-ahead
request (the only time we can get a failure), we skip the rest of the
request and fail the whole bio.

23 years ago[PATCH] Fix module ref counting for md.
Neil Brown [Sun, 31 Aug 2003 05:43:41 +0000 (22:43 -0700)]
[PATCH] Fix module ref counting for md.

We don't need to explicitly count references as:
 - refcounting already happens for opens of /dev/md?
 -  when an array is active, a daughter module is loaded which
      locks "md" in.
We just need to make sure we clean up properly on unload. (export_array)

Also, xor needs a null module_exit so that it can be unloaded.

23 years ago[PATCH] bio.c: reduce verbosity at boot
Matthew Wilcox [Sun, 31 Aug 2003 05:40:10 +0000 (22:40 -0700)]
[PATCH] bio.c: reduce verbosity at boot

The queue init is really far too verbose at boot time.  I don't think
these messages add anything to either the end user experience or debug
ability.

Acked by Jens

23 years ago[PATCH] cciss init problem
Jens Axboe [Sun, 31 Aug 2003 05:40:01 +0000 (22:40 -0700)]
[PATCH] cciss init problem

This assigns the queue properly.

23 years ago[netdrvr] fix skb_padto bugs introduced when skb_padto was introduced
Yusuf Wilajati Purna [Sun, 31 Aug 2003 05:34:20 +0000 (01:34 -0400)]
[netdrvr] fix skb_padto bugs introduced when skb_padto was introduced

It seems that skb_padto security fixes in 2.4 and 2.5 trying
to fix "CAN-2003-0001:Multiple ethernet NID device drivers
do not pad frames with null bytes", do not put the skb_padto
blocks in proper places in the  3c527, eth16i, fmv18x, seeq8005,
yellowfin device drivers.

In case a driver calls skb_padto(), it is possible
that the space available in the original skb buffer tailroom is less
than the space to pad. In this case, in short, the skb_padto()
will create a new skb buffer, copy data from the original
skb buffer to a new skb buffer, free the original buffer,
and finally return the new buffer.

If this happens to the aforementioned device drivers, they come to
point to wrong data. And, for 3c527 and yellowfin, the drivers can
unexpectedly double free the original skb buffers since they still
point to the original skb buffers. The attached patch against
2.4.23pre1 fixes these issues.

23 years ago[PATCH] x86-64 update
Andi Kleen [Sun, 31 Aug 2003 05:33:55 +0000 (22:33 -0700)]
[PATCH] x86-64 update

Make everything compile and boot again.

 - Update defconfig
 - Some minor cleanup
 - Introduce physid_t for APIC masks (fixes UP kernels)
 - Add bandaid for CardBus bridges and broken BIOS (Vojtech)
 - Add bandaid for unsynchronized TSCs  (Vojtech)
 - Fix ffs(0) return value (fixes XFS)
 - Fix compilation with software suspend

23 years ago[netdrvr 3c509] dev->name removal build fix
Jeff Garzik [Sun, 31 Aug 2003 05:32:12 +0000 (01:32 -0400)]
[netdrvr 3c509] dev->name removal build fix

23 years ago[PATCH] sis190 driver fix
François Romieu [Sun, 31 Aug 2003 05:32:04 +0000 (22:32 -0700)]
[PATCH] sis190 driver fix

synchronize_irq() requires an argument when built with CONFIG_SMP.