]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] dm: Support arbitrary number of target params
Kevin Corry [Mon, 22 Sep 2003 15:35:41 +0000 (08:35 -0700)]
[PATCH] dm: Support arbitrary number of target params

Support an arbitrary number of target parameters.  [Alasdair Kergon]

22 years ago[PATCH] dm: Message fix in dm-linear
Kevin Corry [Mon, 22 Sep 2003 15:35:33 +0000 (08:35 -0700)]
[PATCH] dm: Message fix in dm-linear

Fix error message when linear targets gets handed more than 2 arguments.
[Alasdair Kergon]

22 years ago[PATCH] dm: Return table status for dev_wait
Kevin Corry [Mon, 22 Sep 2003 15:35:25 +0000 (08:35 -0700)]
[PATCH] dm: Return table status for dev_wait

dev_wait was meant to return table status not dev status.  [Alasdair Kergon]

22 years ago[PATCH] dm: Move retrieve_status function
Kevin Corry [Mon, 22 Sep 2003 15:35:16 +0000 (08:35 -0700)]
[PATCH] dm: Move retrieve_status function

Move retrieve_status up so dev_wait() can use it.

22 years ago[PATCH] dm: Drop extra table ref-count
Kevin Corry [Mon, 22 Sep 2003 15:35:08 +0000 (08:35 -0700)]
[PATCH] dm: Drop extra table ref-count

When multiple load ioctls are issued the reference count on older
'new_tables' wasn't being dropped.  [Christophe Saout]

22 years ago[PATCH] dm: Use new format_dev_t macro
Kevin Corry [Mon, 22 Sep 2003 15:35:00 +0000 (08:35 -0700)]
[PATCH] dm: Use new format_dev_t macro

Use the format_dev_t function for target status functions.

22 years ago[PATCH] knfsd: nfsdv4 byte range locking - LOCKU
Neil Brown [Mon, 22 Sep 2003 12:23:13 +0000 (05:23 -0700)]
[PATCH] knfsd: nfsdv4 byte range locking - LOCKU

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

This implments the LOCKU operation.  These all pass the connectathon
lock test suite against the solaris nfsv4 client.

22 years ago[PATCH] knfsd: nfsdv4 byte range locking - LOCKT
Neil Brown [Mon, 22 Sep 2003 12:23:04 +0000 (05:23 -0700)]
[PATCH] knfsd: nfsdv4 byte range locking - LOCKT

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

This implements the LOCKT operation.

22 years ago[PATCH] knfsd: nfsd byte range locking - LOCK
Neil Brown [Mon, 22 Sep 2003 12:22:55 +0000 (05:22 -0700)]
[PATCH] knfsd: nfsd byte range locking - LOCK

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

This implements the nfsv4 LOCK operation.

22 years ago[PATCH] knfsd: nfsdv4 byte range locking - prepatation
Neil Brown [Mon, 22 Sep 2003 12:22:47 +0000 (05:22 -0700)]
[PATCH] knfsd: nfsdv4 byte range locking - prepatation

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

This renames some structures and functions that can be used for
byte-range locking as well as for the exiting open share locks, and does
some cleanup.

22 years ago[PATCH] knfsd: idempotent replay cache for OPEN state
Neil Brown [Mon, 22 Sep 2003 12:22:37 +0000 (05:22 -0700)]
[PATCH] knfsd: idempotent replay cache for OPEN state

This implements the idempotent replay cache need for NFSv4 OPEN state.
each state owner (open owner or lock owner) is required to store the
last sequence number mutating operation, and retransmit it when replayed
sequence number is presented for the operation.

I've implemented the cache as a static buffer of size 112 bytes
(NFSD4_REPLAY_ISIZE) which is large enough to hold the OPEN, the largest
of the sequence mutation operations.  This implements the cache for
OPEN, OPEN_CONFIRM, OPEN_DOWNGRADE, and CLOSE.  LOCK and UNLOCK will be
added when byte-range locking is done (soon!).

22 years ago[PATCH] knfsd: NFS4XDR get rid of warning
Neil Brown [Mon, 22 Sep 2003 12:22:28 +0000 (05:22 -0700)]
[PATCH] knfsd: NFS4XDR get rid of warning

There is a warning because of calling return with an argument on a void
function.  The root cause is putting a return statement in a macro (evil
side effect).

Change ENCODE_SEQID_OP_TAIL to be a more proper macro, change all
calling functions to return void.

22 years ago[PATCH] knfsd: Fix cmsg setup for sock_sendmsg in svc_sendto
Neil Brown [Mon, 22 Sep 2003 12:22:18 +0000 (05:22 -0700)]
[PATCH] knfsd: Fix cmsg setup for sock_sendmsg in svc_sendto

From: Trond Myklebust <trond.myklebust@fys.uio.no>

... see the code in ip_sockglue.c + the macros in socket.h....
AFAICS the control messages have wierd alignment requirements.

22 years ago[PATCH] md: change 'or' to 'plus' in raid1
Neil Brown [Mon, 22 Sep 2003 12:22:08 +0000 (05:22 -0700)]
[PATCH] md: change 'or' to 'plus' in raid1

Silly typo.

22 years ago[PATCH] md: MODULE_ALIAS for md
Neil Brown [Mon, 22 Sep 2003 12:22:00 +0000 (05:22 -0700)]
[PATCH] md: MODULE_ALIAS for md

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

22 years ago[PATCH] md: Don't setup make_request_fn for md array until *after* it has been started
Neil Brown [Mon, 22 Sep 2003 12:21:53 +0000 (05:21 -0700)]
[PATCH] md: Don't setup make_request_fn for md array until *after* it has been started

Also revert to md_fail_request before stopping an array.

The ->stop method can never fail, so there is not point checking it.

22 years agoMerge bk://kernel.bkbits.net/gregkh/linux/i2c-2.5
Linus Torvalds [Mon, 22 Sep 2003 12:11:54 +0000 (05:11 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/i2c-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] Memory leak in ixj_pcmcia driver
Chris Wright [Mon, 22 Sep 2003 09:14:03 +0000 (02:14 -0700)]
[PATCH] Memory leak in ixj_pcmcia driver

Found by checker (David Yu Chen @Stanford)

22 years ago[PATCH] I2C: remove I2C_VERSION and I2C_DATE as they make no sense in the kernel...
Greg Kroah-Hartman [Mon, 22 Sep 2003 09:03:26 +0000 (02:03 -0700)]
[PATCH] I2C: remove I2C_VERSION and I2C_DATE as they make no sense in the kernel tree.

22 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.5
Greg Kroah-Hartman [Mon, 22 Sep 2003 08:36:30 +0000 (01:36 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.5
into kroah.com:/home/greg/linux/BK/i2c-2.6

22 years ago[PATCH] I2C: sysfs sensor nameing inconsistency
Andrey Borzenkov [Mon, 22 Sep 2003 08:24:36 +0000 (01:24 -0700)]
[PATCH] I2C: sysfs sensor nameing inconsistency

> That's what you are going to have to set the name file to in the
> i2c_client structure, much like your patch did.  Then look at the
> different name files in each device directory to see what kind of device
> it is (chip, subclient, etc.)

OK attached patch sets all names to just chip name for chips themselves and
"chipname subclient" when subclient ios registered.

22 years ago[PATCH] I2C: remove check_region usage and warning from i2c-sensor
Greg Kroah-Hartman [Mon, 22 Sep 2003 08:11:24 +0000 (01:11 -0700)]
[PATCH] I2C: remove check_region usage and warning from i2c-sensor

22 years ago[PATCH] I2C: move the remaining i2c bus drivers to drivers/i2c/busses
Greg Kroah-Hartman [Mon, 22 Sep 2003 08:00:04 +0000 (01:00 -0700)]
[PATCH] I2C: move the remaining i2c bus drivers to drivers/i2c/busses

22 years ago[PATCH] I2C: move the scx200* drivers to drivers/i2c/busses
Greg Kroah-Hartman [Mon, 22 Sep 2003 07:21:09 +0000 (00:21 -0700)]
[PATCH] I2C: move the scx200* drivers to drivers/i2c/busses

22 years ago[PATCH] I2C: move i2c-velleman driver to drivers/i2c/busses
Greg Kroah-Hartman [Mon, 22 Sep 2003 07:09:17 +0000 (00:09 -0700)]
[PATCH] I2C: move i2c-velleman driver to drivers/i2c/busses

22 years agoI2C: move i2c-elektor.c driver to drivers/i2c/busses/
Greg Kroah-Hartman [Mon, 22 Sep 2003 06:57:44 +0000 (23:57 -0700)]
I2C: move i2c-elektor.c driver to drivers/i2c/busses/

22 years ago[PATCH] I2C: clean up the i2c-elv.c driver a bit
Greg Kroah-Hartman [Mon, 22 Sep 2003 06:44:13 +0000 (23:44 -0700)]
[PATCH] I2C: clean up the i2c-elv.c driver a bit

22 years ago[PATCH] I2C: move i2c-elv.c driver to drivers/i2c/busses
Greg Kroah-Hartman [Mon, 22 Sep 2003 06:36:52 +0000 (23:36 -0700)]
[PATCH] I2C: move i2c-elv.c driver to drivers/i2c/busses

22 years ago[PATCH] I2C: clean up i2c-philips-par.c driver a bit
Greg Kroah-Hartman [Mon, 22 Sep 2003 06:30:23 +0000 (23:30 -0700)]
[PATCH] I2C: clean up i2c-philips-par.c driver a bit

Fix bug when registering the i2c_adap as the structure was not set to 0.

22 years ago[PATCH] shared signals require shared VM
Albert Cahalan [Mon, 22 Sep 2003 06:23:42 +0000 (23:23 -0700)]
[PATCH] shared signals require shared VM

Elimination of this nonsense allows for the assumption
that a task group shares VM. This lets procps run faster.

22 years ago[PATCH] I2C: move the i2c-philips-par driver to drivers/i2c/busses
Greg Kroah-Hartman [Mon, 22 Sep 2003 06:20:35 +0000 (23:20 -0700)]
[PATCH] I2C: move the i2c-philips-par driver to drivers/i2c/busses

22 years ago[PATCH] I2C: fix up dependancies in the i2c/busses/Kconfig file
Greg Kroah-Hartman [Mon, 22 Sep 2003 06:10:15 +0000 (23:10 -0700)]
[PATCH] I2C: fix up dependancies in the i2c/busses/Kconfig file

22 years ago[PATCH] I2C: clean up i2c-prosavage.c driver
Greg Kroah-Hartman [Mon, 22 Sep 2003 06:06:04 +0000 (23:06 -0700)]
[PATCH] I2C: clean up i2c-prosavage.c driver

Remove direct memory accesses and link up device in the proper place in the
sysfs tree.

22 years ago[PATCH] I2C: move i2c-prosavage.c driver to drivers/i2c/busses where it belongs.
Greg Kroah-Hartman [Mon, 22 Sep 2003 05:46:46 +0000 (22:46 -0700)]
[PATCH] I2C: move i2c-prosavage.c driver to drivers/i2c/busses where it belongs.

22 years ago[PATCH] smbfs NLS fix
Andrew Morton [Mon, 22 Sep 2003 05:35:00 +0000 (22:35 -0700)]
[PATCH] smbfs NLS fix

strut nls_table was changed, but smbfs uses it and was not updated.

22 years ago[PATCH] misc fixes
Andrew Morton [Mon, 22 Sep 2003 05:34:50 +0000 (22:34 -0700)]
[PATCH] misc fixes

- bio_release_pages() should have file-local scope.

- don't use spaces in slab names in device mapper, enforce this henceforth
  in kmem_cache_create().

- Fix alpha header leftover from cpumask_t conversion

22 years ago[PATCH] ia64 sched_clock() implementation.
Andrew Morton [Mon, 22 Sep 2003 05:34:42 +0000 (22:34 -0700)]
[PATCH] ia64 sched_clock() implementation.

From David M-T.

22 years agoI2C: clean up the drivers/i2c/Kconfig file
Greg Kroah-Hartman [Mon, 22 Sep 2003 05:26:49 +0000 (22:26 -0700)]
I2C: clean up the drivers/i2c/Kconfig file

22 years agoI2C: clean up the i2c chips Kconfig logic and help information
Greg Kroah-Hartman [Mon, 22 Sep 2003 04:42:40 +0000 (21:42 -0700)]
I2C: clean up the i2c chips Kconfig logic and help information

22 years ago[PATCH] I2C: add the i2c-voodoo3 i2c bus driver
Greg Kroah-Hartman [Mon, 22 Sep 2003 04:15:16 +0000 (21:15 -0700)]
[PATCH] I2C: add the i2c-voodoo3 i2c bus driver

This is based on the lmsensor cvs version of the driver, but is cleaned
it up and ported it to 2.6.

22 years ago[PATCH] I2C: add the i2c-savage4 i2c bus driver
Greg Kroah-Hartman [Mon, 22 Sep 2003 04:05:20 +0000 (21:05 -0700)]
[PATCH] I2C: add the i2c-savage4 i2c bus driver

This is based on the lmsensor cvs version of the driver, but is cleaned
it up and ported it to 2.6.

22 years ago[PATCH] I2C: add the i2c-i810 i2c bus driver
Greg Kroah-Hartman [Mon, 22 Sep 2003 04:03:30 +0000 (21:03 -0700)]
[PATCH] I2C: add the i2c-i810 i2c bus driver

This is based on the lmsensor cvs version of the driver, but is cleaned
it up and ported it to 2.6.

22 years agoMerge bk://linux-sam.bkbits.net/kbuild
Linus Torvalds [Mon, 22 Sep 2003 01:37:14 +0000 (18:37 -0700)]
Merge bk://linux-sam.bkbits.net/kbuild
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.5
Linus Torvalds [Sun, 21 Sep 2003 14:31:26 +0000 (07:31 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Sun, 21 Sep 2003 14:29:59 +0000 (07:29 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge davem@nuts.ninka.net:/disk1/davem/BK/sparc-2.5
David S. Miller [Sun, 21 Sep 2003 12:42:14 +0000 (05:42 -0700)]
Merge davem@nuts.ninka.net:/disk1/davem/BK/sparc-2.5
into kernel.bkbits.net:/home/davem/sparc-2.5

22 years ago[PATCH] use CLONE_KERNEL
Albert Cahalan [Sun, 21 Sep 2003 12:40:40 +0000 (05:40 -0700)]
[PATCH] use CLONE_KERNEL

This uses CLONE_KERNEL in place of the individual
flags, only changing the places where it is an exact
match.

I strongly suspect that CLONE_KERNEL ought to be
used in many more places, but they require a more
careful examination.

22 years agoRemove incorrect and unnecessary definition of "errno" that causes
Linus Torvalds [Sun, 21 Sep 2003 12:00:18 +0000 (05:00 -0700)]
Remove incorrect and unnecessary definition of "errno" that causes
link-time duplicate symbol errors.

22 years agoMerge davem@nuts.ninka.net:/disk1/davem/BK/net-2.5
David S. Miller [Sun, 21 Sep 2003 11:33:41 +0000 (04:33 -0700)]
Merge davem@nuts.ninka.net:/disk1/davem/BK/net-2.5
into kernel.bkbits.net:/home/davem/net-2.5

22 years agoMerge bk://kernel.bkbits.net/acme/llc-2.6
David S. Miller [Sun, 21 Sep 2003 13:09:37 +0000 (06:09 -0700)]
Merge bk://kernel.bkbits.net/acme/llc-2.6
into nuts.ninka.net:/disk1/davem/BK/net-2.5

22 years agoo LLC: remove unneeded EXPORT_SYMBOLs from llc_sap
Arnaldo Carvalho de Melo [Sun, 21 Sep 2003 20:39:17 +0000 (17:39 -0300)]
o LLC: remove unneeded EXPORT_SYMBOLs from llc_sap

Now all is in llc2.ko, so no need for exporting those symbols.
Also llc_build_and_send_ui_pkt is now in llc_output.c, where it
is being exported.

22 years ago[LLC]: llc_core.c needs linux/init.h
David S. Miller [Sun, 21 Sep 2003 12:02:22 +0000 (05:02 -0700)]
[LLC]: llc_core.c needs linux/init.h

22 years ago[NETFILTER]: Use net/checksum.h instead of asm/checksum.h
Matthew Wilcox [Sun, 21 Sep 2003 11:24:52 +0000 (04:24 -0700)]
[NETFILTER]: Use net/checksum.h instead of asm/checksum.h

22 years ago[ATM]: [zatm] Correct way to prevent module unload (from shemminger@osdl.org).
Chas Williams [Sun, 21 Sep 2003 11:23:42 +0000 (04:23 -0700)]
[ATM]: [zatm] Correct way to prevent module unload (from shemminger@osdl.org).

22 years ago[ATM]: [uPD98402] Exported symbols should not be marked __init.
Chas Williams [Sun, 21 Sep 2003 11:22:48 +0000 (04:22 -0700)]
[ATM]: [uPD98402] Exported symbols should not be marked __init.

22 years ago[ATM]: [uPD98402] Convert to new-style module.
Chas Williams [Sun, 21 Sep 2003 11:22:11 +0000 (04:22 -0700)]
[ATM]: [uPD98402] Convert to new-style module.

22 years ago[ATM]: [lanai] Get rid of MOD_INC/MOD_DEC (from shemminger@osdl.org).
Chas Williams [Sun, 21 Sep 2003 11:21:35 +0000 (04:21 -0700)]
[ATM]: [lanai] Get rid of MOD_INC/MOD_DEC (from shemminger@osdl.org).

22 years ago[ATM]: [idt77252] Get rid of MOD_INC/MOD_DEC.
Chas Williams [Sun, 21 Sep 2003 11:20:01 +0000 (04:20 -0700)]
[ATM]: [idt77252] Get rid of MOD_INC/MOD_DEC.

22 years ago[ATM]: [firestream] Allow module refcounting.
Chas Williams [Sun, 21 Sep 2003 11:19:20 +0000 (04:19 -0700)]
[ATM]: [firestream] Allow module refcounting.

22 years ago[ATM]: [eni] Correct way to prevent module unload (from shemminger@osdl.org).
Chas Williams [Sun, 21 Sep 2003 11:18:38 +0000 (04:18 -0700)]
[ATM]: [eni] Correct way to prevent module unload (from shemminger@osdl.org).

22 years ago[NETROM]: Timer code cleanup.
Vinay K. Nallamothu [Sun, 21 Sep 2003 11:17:41 +0000 (04:17 -0700)]
[NETROM]: Timer code cleanup.

22 years agoMerge bk://kernel.bkbits.net/acme/llc-2.6
David S. Miller [Sun, 21 Sep 2003 11:11:45 +0000 (04:11 -0700)]
Merge bk://kernel.bkbits.net/acme/llc-2.6
into nuts.ninka.net:/disk1/davem/BK/net-2.5

22 years ago[IPVS]: Make __ip_vs_svc_lock local and use __user tags.
Wensong Zhang [Sun, 21 Sep 2003 11:10:17 +0000 (04:10 -0700)]
[IPVS]: Make __ip_vs_svc_lock local and use __user tags.

22 years ago[NETFILTER]: Fix parisc64 alignment problems in ipt_physdev.c
Bart De Schuymer [Sun, 21 Sep 2003 11:05:09 +0000 (04:05 -0700)]
[NETFILTER]: Fix parisc64 alignment problems in ipt_physdev.c

22 years agoMerge nuts.ninka.net:/disk1/davem/BK/network-2.5
David S. Miller [Sun, 21 Sep 2003 11:01:18 +0000 (04:01 -0700)]
Merge nuts.ninka.net:/disk1/davem/BK/network-2.5
into nuts.ninka.net:/disk1/davem/BK/net-2.5

22 years agoMerge bk://linux-pnp.bkbits.net/pnp-2.5
Linus Torvalds [Sun, 21 Sep 2003 10:55:14 +0000 (03:55 -0700)]
Merge bk://linux-pnp.bkbits.net/pnp-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PNPBIOS] move some more functions to local include file
Adam Belay [Sun, 21 Sep 2003 19:24:48 +0000 (19:24 +0000)]
[PNPBIOS] move some more functions to local include file

This patch moves some unnecessary global functions to the local
pnpbios include file.

22 years ago[PNPBIOS] return proper error codes on init failure
Adam Belay [Sun, 21 Sep 2003 19:20:41 +0000 (19:20 +0000)]
[PNPBIOS] return proper error codes on init failure

22 years ago[ISAPNP] remove unused isapnp_allow_dma0 modparam
Adam Belay [Sun, 21 Sep 2003 19:10:33 +0000 (19:10 +0000)]
[ISAPNP] remove unused isapnp_allow_dma0 modparam

It looks like this option has been moved from isapnp to resource.c,
but the MODULE_PARM line is still there:

patch from: Gerald Teschl <gt@esi.ac.at>

22 years ago[PATCH] janitor: remove unneeded includes (isapnp)
Adam Belay [Sun, 21 Sep 2003 19:05:42 +0000 (19:05 +0000)]
[PATCH] janitor: remove unneeded includes (isapnp)

From: Randy Hron <rwhron@earthlink.net>

22 years ago[PNP] remove DMA 0 restrictions
Adam Belay [Sun, 21 Sep 2003 19:02:08 +0000 (19:02 +0000)]
[PNP] remove DMA 0 restrictions

The original argument for blocking DMA 0 was to avoid conflicts with
"memory refresh"  but such configurations are only found on very old
8-bit systems that are likely not supported by the linux kernel.
This patch allows dma 0 to be assigned to PnP devices by default.  If
for whatever reason dma 0 cannot be used, one can avoid allocating it
by setting the pnp_reserve_dma= kernel parameter.

22 years ago[PNPBIOS] move detection code into core.c
Adam Belay [Sun, 21 Sep 2003 18:39:11 +0000 (18:39 +0000)]
[PNPBIOS] move detection code into core.c

This patch moves the detection code to a more appropriate file.

22 years ago[PNP] release card devices on probe failure
Adam Belay [Sun, 21 Sep 2003 18:25:50 +0000 (18:25 +0000)]
[PNP] release card devices on probe failure

When a driver's probe routine fails, it may not release all of the
card devices it requested.  This patch allows the pnp layer to ensure
that all devices claimed by the failing driver are released properly.

22 years ago[PNPBIOS] compilation fix for pnpbios without proc support
Adam Belay [Sun, 21 Sep 2003 17:55:37 +0000 (17:55 +0000)]
[PNPBIOS] compilation fix for pnpbios without proc support

Here's an updated patch that will correct the compile error when PROC
FS is disabled.  It also introduces better proc error recovery and
moves the local proc functions to the local include file.  Thanks to
Daniele Bellucci for finding the problem and contributing to this
patch.

22 years ago[PATCH] fix CONFIG_SECURE trouble in thread-aware procfs
Albert Cahalan [Sun, 21 Sep 2003 10:09:46 +0000 (03:09 -0700)]
[PATCH] fix CONFIG_SECURE trouble in thread-aware procfs

This fixes the thread-aware /proc for CONFIG_SECURE.

22 years ago[PATCH] floppy I/O error handling => Oops
Randy Dunlap [Sun, 21 Sep 2003 09:43:09 +0000 (02:43 -0700)]
[PATCH] floppy I/O error handling => Oops

bad_flp_intr() in floppy.c can cause an Oops if the I/O request is freed
but <errors> still points into the I/O request block.  Get the error
count out of the request block before ending the IO.

bad_flp_intr() oopsen reports:

  Andrey: http://marc.theaimsgroup.com/?l=linux-kernel&m=105837886921297&w=2
  John:   http://marc.theaimsgroup.com/?l=linux-kernel&m=106303650007125&w=2
  Barry:  http://bugme.osdl.org/show_bug.cgi?id=1033

22 years ago[PATCH] fix cciss memory leaks
Andrew Morton [Sun, 21 Sep 2003 08:43:37 +0000 (01:43 -0700)]
[PATCH] fix cciss memory leaks

From: Felipe W Damasio <felipewd@terra.com.br>

Fix a few error-path leaks in the cciss block driver.  Bug found by smatch
checker.

22 years ago[PATCH] mlock error handling fix
Andrew Morton [Sun, 21 Sep 2003 08:43:28 +0000 (01:43 -0700)]
[PATCH] mlock error handling fix

make_pages_present() can fail: propagate that failure back.

Spotted by Bill Irwin.

22 years ago[PATCH] rio.c: remove TWO_ZERO
Andrew Morton [Sun, 21 Sep 2003 08:43:19 +0000 (01:43 -0700)]
[PATCH] rio.c: remove TWO_ZERO

From: Adrian Bunk <bunk@fs.tum.de>

Three drivers under drivers/char/ in 2.5.72 use TWO_ZERO for compatibility
code with ancient 2.0 kernels.  The patch below removes this #ifdef'd code.

22 years ago[PATCH] move some more initializations out of drivers/char/mem.c
Andrew Morton [Sun, 21 Sep 2003 08:43:10 +0000 (01:43 -0700)]
[PATCH] move some more initializations out of drivers/char/mem.c

From: Christoph Hellwig <hch@lst.de>

keeping init order the same..

22 years ago[PATCH] kill superflous kdev_t.h inclusions
Andrew Morton [Sun, 21 Sep 2003 08:43:01 +0000 (01:43 -0700)]
[PATCH] kill superflous kdev_t.h inclusions

From: Christoph Hellwig <hch@lst.de>

now that kdev_t is gone very few places needs this still, the only header
of those beeing fs.h

22 years ago[PATCH] AS oops fix
Andrew Morton [Sun, 21 Sep 2003 08:42:54 +0000 (01:42 -0700)]
[PATCH] AS oops fix

From: Nick Piggin <piggin@cyberone.com.au>

If a request is merged with another, it sometimes has to be repositioned on
the rbtree - you just do a delete then an add.  This is a quite uncommon
case though.

I changed the way adding works, so collisions must be handled by the caller
instead of being dumbly fixed by the add routine.  Unfortunately the
uncommon callers weren't handling it properly.

22 years ago[PATCH] zoran driver documentation fix
Andrew Morton [Sun, 21 Sep 2003 08:42:46 +0000 (01:42 -0700)]
[PATCH] zoran driver documentation fix

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

the zoran kernel driver is called 'zoran.o' in its CVS (historical thing, I
don't know why), and it's called zr36067.o in the kernel tree.  The
documentation in the kernel tree refers to zoran.o, though, which is (in
the kernel tree) the driver for zr36120-based cards, rather than the driver
for zr360x7-based cards.

The attached patch fixes the documentation and makes it refer to
zr36067.o instead.

22 years ago[PATCH] Fix sem_lock deadlock
Andrew Morton [Sun, 21 Sep 2003 08:42:39 +0000 (01:42 -0700)]
[PATCH] Fix sem_lock deadlock

From: Anton Blanchard <anton@samba.org>

I saw a lockup where 2 cpus were stuck in sem_lock().  It seems like we can
loop back to retry_undos with the lock held.  That path takes the lock so
we will deadlock.

22 years ago[PATCH] Handle init_new_context failures
Andrew Morton [Sun, 21 Sep 2003 08:42:31 +0000 (01:42 -0700)]
[PATCH] Handle init_new_context failures

From: Anton Blanchard <anton@samba.org>

If init_new_context fails we definitely do not want to call mmput, because
that will call destroy_context against an uninitialised context.  Instead
we should back out what we did in init_mm.  Fixes some weird failures on
ppc64 when running a fork bomb.

22 years ago[PATCH] Speed up direct-io hugetlbpage handling
Andrew Morton [Sun, 21 Sep 2003 08:42:22 +0000 (01:42 -0700)]
[PATCH] Speed up direct-io hugetlbpage handling

This patch short-circuits all the direct-io page dirtying logic for
higher-order pages.  Without this, we pointlessly bounce BIOs up to keventd
all the time.

22 years ago[PATCH] bio_dirty_fn() page leak fix
Andrew Morton [Sun, 21 Sep 2003 08:42:13 +0000 (01:42 -0700)]
[PATCH] bio_dirty_fn() page leak fix

bio_dirty_fn() needs to drop its ref against each remaining page in the BIO
before releasing the BIO.

22 years ago[PATCH] deadline insert_here fix
Andrew Morton [Sun, 21 Sep 2003 08:42:05 +0000 (01:42 -0700)]
[PATCH] deadline insert_here fix

From: Nick Piggin <piggin@cyberone.com.au>

Fix fallout from Jens' insert_here removal.  Without it its possible that a
request on the dispatch list is on the merge hash as well which is bad.  I
don't _think_ this would happen in any code paths, but I haven't looked too
closely.  It makes the API a bit less fragile anyway.

22 years ago[PATCH] x445: setup_ioapic_ids_from_mpc fix
Andrew Morton [Sun, 21 Sep 2003 08:41:56 +0000 (01:41 -0700)]
[PATCH] x445: setup_ioapic_ids_from_mpc fix

From: James Cleverdon <jamesclv@us.ibm.com>

32-way IBM x445s will have I/O xAPICs with IDs greater than 0xF (0x8 to 0xE
isn't enough).  This breaks the code in setup_ioapic_ids_from_mpc.
However, the entire unique ID check is unnecessary.  Only I/O APICs using
the serial APIC bus need the unique numbers.  Those sending messages
through the system bus simply don't use them.

22 years ago[PATCH] Incorrect value for SIGRTMAX
Andrew Morton [Sun, 21 Sep 2003 08:41:47 +0000 (01:41 -0700)]
[PATCH] Incorrect value for SIGRTMAX

From: Corey Minyard <minyard@acm.org>

I was having a problem with signals with POSIX timers, and it turns out
that the value of SIGRTMAX is incorrect.  Remember that there is no
signal 0, so the signals should go from 1-_NSIG.  However, SIGRTMAX is
defined as (_NSIG-1) in all architectures.  The following patch fixes this.

This define is only used in drivers/usb/core/devio.c and
kernel/posix-timers.c, and both are incorrect without this fix.  There's
also no check for zero in posix-timers.c, that fix is part of the diff.

Also, shouldn't do_sigaction() use this value instead of _NSIG?  It's
not a big deal, but some architectures have different values for _NSIG
and SIGRTMAX.

22 years ago[PATCH] NCR5380 timeout fix
Andrew Morton [Sun, 21 Sep 2003 08:41:38 +0000 (01:41 -0700)]
[PATCH] NCR5380 timeout fix

From: Wagner_Volanin <fadinha.mail@terra.com.br>

I have an old Genius Colorpage-SP2 SCSI scanner.  It is shipped with a
MS-PNR 8bit ISA non-pnp proprietary SCSI card from Microtek.

Although its chipset is a NCR53c400a, it wouldn't work with the appropriate
driver, always accusing timeout, whatever settings I passed to it.

Today I messed a little with the NCR5380.c file in drivers/scsi which is
included by the g_NCR5380 driver and I couldn't understand one thing:

Why the function NCR5380_poll_politely() returned the value 'r' on success
if this value should be '0' case everything went ok...

So I changed "return r;" to "return 0;" and after that my scanner worked
fine, and was easily detected by SANE, without a single error message.  :)

I have not the time to delve into the problem further, but I wanted to
report this.  I couldn't find any counter-effects caused by changing these
return values.

(Acked by Alan)

22 years ago[PATCH] hangcheck compile fix
Andrew Morton [Sun, 21 Sep 2003 08:41:29 +0000 (01:41 -0700)]
[PATCH] hangcheck compile fix

From: john stultz <johnstul@us.ibm.com>

Since monotonic_clock() is not defined on every arch yet, this patch
insures the hangcheck-timer module (currently the only user of
monotonic-clock) is not built where it will not compile.

I know, I know. Ideally monotonic_clock() would be implemented on all
arches, but I've just not had the time.  If any of the non x86/x86-64
folks feel bored, drop me a line.  It'd be a fairly easy project.

22 years ago[PATCH] Export new char dev functions
Andrew Morton [Sun, 21 Sep 2003 08:41:21 +0000 (01:41 -0700)]
[PATCH] Export new char dev functions

From: Jonathan Corbet <corbet@lwn.net>

Nobody told me that the failure to export these (like their block
counterparts) was anything but an oversight; modules will not be able to
use larger device numbers without them.  So...this patch exports the new
char device functions.

22 years ago[PATCH] Fix typo in scripts/postmod.c
Andrew Morton [Sun, 21 Sep 2003 08:41:13 +0000 (01:41 -0700)]
[PATCH] Fix typo in scripts/postmod.c

From: Kristian Hogsberg <krh@bitplanet.net>

There's a small typo in scripts/postmod.c

22 years ago[PATCH] Update Documentation/block/biodoc.txt
Andrew Morton [Sun, 21 Sep 2003 08:41:06 +0000 (01:41 -0700)]
[PATCH] Update Documentation/block/biodoc.txt

From: Nick Piggin <piggin@cyberone.com.au>

This brings biodoc.txt a bit more up to date with recent elevator changes.

22 years ago[PATCH] access_ok is likely
Andrew Morton [Sun, 21 Sep 2003 08:40:58 +0000 (01:40 -0700)]
[PATCH] access_ok is likely

From Manfred

While trying to figure out why sysv msg is around 30% slower than pipes for
data transfers I noticed that gcc's autodetection (3.2.2) guesses the
"if(access_ok())" tests in uaccess.h wrong and puts the error memset into the
direct path and the copy out of line.

So tell the compiler that access_ok() is likely to be true.

22 years ago[PATCH] remove /proc/config_build_info
Andrew Morton [Sun, 21 Sep 2003 08:40:51 +0000 (01:40 -0700)]
[PATCH] remove /proc/config_build_info

From: Zwane Mwaikambo <zwane@linuxpower.ca>

The same info is already available in /proc/version.

22 years ago[PATCH] floppy cleanup timers/resources on unload
Andrew Morton [Sun, 21 Sep 2003 08:40:42 +0000 (01:40 -0700)]
[PATCH] floppy cleanup timers/resources on unload

From: Zwane Mwaikambo <zwane@linuxpower.ca>

The floppy driver currently can leave pending timers after unloading
itself.

This bug has a corresponding bugzilla entry at;

http://bugme.osdl.org/show_bug.cgi?id=1061

22 years ago[PATCH] wanXL serial card driver
Andrew Morton [Sun, 21 Sep 2003 08:40:35 +0000 (01:40 -0700)]
[PATCH] wanXL serial card driver

From: Krzysztof Halasa <khc@pm.waw.pl>

This is a driver for SBE Inc.  wanXL 4-port sync serial card, second
version.

22 years ago[PATCH] Summit sub-arch: Make logical IDs independent of BIOS numbering scheme
Andrew Morton [Sun, 21 Sep 2003 08:40:26 +0000 (01:40 -0700)]
[PATCH] Summit sub-arch: Make logical IDs independent of BIOS numbering scheme

From: James Cleverdon <jamesclv@us.ibm.com>

In forthcoming IBM x445 systems, the physical APIC ID will not follow the
simple rule laid out by Intel and encoded into xapic_phys_to_log_apicid.
(The BIOS code that sets IDs doesn't work right above 16 CPUs if HT is turned
on, so for > 16-way the BIOS will disable HT and repack the physical CPUs
into APIC clusters.)

Anyway, it's a good idea to make the APIC code more independent of any
particular BIOS numbering scheme.  This patch allocates logical IDs based on
how many CPUs have already been onlined in a particular APIC cluster.