- 06 Aug, 2003 11 commits
-
-
David Brownell authored
Turns out that when PM is in use, some D3cold resume paths could have one thread, holding the network lock, deadlock in flush_scheduled_work() since an event task is waiting for that same lock. Fix is to call that later, when the lock isn't held.
-
Oliver Neukum authored
submitting an URB in a completion handler requires GFP_ATOMIC to be used. - usb_submit_urb must use GFP_ATOMIC in interrupt
-
Oliver Neukum authored
> But you CAN NOT mark the usb_device_id table as __devinitdata or > __initdata as that will be touched later on if a new USB device is > added, or if a new usb module is loaded. So these need to go. - remove __devinit from anything called from probe()
-
David Brownell authored
This eliminates an error case (current cost, memleak) when disabling endpoints that have control requests queued.
-
David Brownell authored
Changes a handful of things in enumeration error paths. Bugfixes: - consistent cleanup, and consistent return of -Ewhatever/0; - a usb_put_dev() gets rid of the extra refcount; this one's in bugzilla at osdl. Diagnostics: - new diagnostic for when there's a choice of configurations; - merges some diagnostics, for slight rodata reduction.
-
Oliver Neukum authored
DMA to a part of a structure is forbidden on the noncoherent architectures.
-
Oliver Neukum authored
GFP_DMA has no place in USB drivers, as its meaning is inconsistent across architectures.
-
Alan Stern authored
This patch seems to have fallen through the cracks. It takes a string constant defined as a macro in initializers.h and instead makes it a static string in initializers.c. It also subtracts 1 from the sizeof() value to avoid transmitting the terminating NUL. Finally, the patch removes an unnecessary debugging printout -- the value printed is an _output_ buffer, so of course it won't change.
-
David Brownell authored
The ohci d3cold resume path kept re-creating the sysfs files, and that seemed eventually to cause an oops. This patch only creates them on first initialization, not re-init; and includes some minor debug message tweaks.
-
Greg Kroah-Hartman authored
This is because that field is going away shortly...
-
Greg Kroah-Hartman authored
-
- 05 Aug, 2003 29 commits
-
-
Linus Torvalds authored
-
Roland McGrath authored
When a dead detached thread has been temporarily zombified because it's ptraced and its tracer tries to reap it, it deadlocks on SMP. Here's the fix.
-
Neil Brown authored
A recent patch changed the rpc/*/channel files to behave differently depending on whether they were open for read or not. This hadn't been tested thoroughly. The cache_reader structure that was now only allocated when opening for read, had a field that was iused when writing. This patch removes that field and takes a different approach to solving the issue it addressed. And it has been tested a bit better.
-
Roland McGrath authored
A dying initial thread (thread group leader) sends SIGCHLD when it exits, but it ought to wait until all other threads exit as well. The cases of secondary threads exitting first were handled properly, but not this one. This exit.c patch fixes that test case, and I think catches the other potential bugs of this kind as well. The signal.c change adds some bug catchers, the second of which will trip on the test case in the absence of the exit.c fix.
-
Jeff Garzik authored
-
bk://linux-pnp.bkbits.net/pnp-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Adam Belay authored
-
Adam Belay authored
This patch removes the pnp name database code. Most buses, including pnp, will be using userspace to name devices in the near future. Also dev->name will be removed from the driver model soon.
-
Adam Belay authored
This patch moves the low level bios calls to a separate file, "bioscalls.c". It is a cleanup that will improve organization of the pnpbios driver code.
-
Adam Belay authored
This patch is needed in order to avoid a potential oops. It is similiar to the changes made to pci.
-
Adam Belay authored
This patch moves the resource parsing functions from support.c to the pnpbios driver. Originally these functions were intended for other pnp protocols but in reality they are only used by the PnPBIOS driver. This patch greatly cleans up the code in both the parsing functions and their connection with the pnpbios driver. Also note that pnpbios.h has been added for local pnpbios functions.
-
Adam Belay authored
This is not needed.
-
Adam Belay authored
This patch is similar to the disabled resource patch in that it avoids direct numeric comparisons with data in unset resource structures.
-
Linus Torvalds authored
the entry that we got through the lookup_mnt(). Noted by Dick Streefland.
-
bk://bk.arm.linux.org.uk/linux-2.5-rmkLinus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Russell King authored
-
Russell King authored
-
Russell King authored
ARXESCSI does not have the interrupt routed to the host machine, so we need to babysit the host interface. We do this via a variant of the normal command function in fas216.c Fix a bug in the procfs file handling in the EESOX SCSI driver.
-
Russell King authored
Use the ioremapped region for accesses to SA1111 IRQ controller registers.
-
Russell King authored
-
Russell King authored
-
Russell King authored
-
Neil Brown authored
From: Galen Michael Elias <gme@citi.umich.edu> This patch fixes two places where the handling of page boundaries was incorrect and caused to IO_ERR's when it shouldn't have. 1. In decode_write it was just a small typo. 2. In decode_compound we avoid using READ_BUF, but don't provide all of it's functionality, specifically crosses a page boundary.
-
Neil Brown authored
Though the nfsd module can create this, having it always there makes auto-loading-on-mount work better. Note: it was previously recommended that the nfsd filesystem be mounted on /proc/fs/nfs, which I was never comfortable with. Henceforth the recommended location will be /proc/fs/nfsd. nfs-utils 1.0.6 and later will support both.
-
Neil Brown authored
-
Neil Brown authored
Such a request would cause the nul terminator to be written to some other page, and cause havoc. Also rearrange two tests to avoid the possibility of testing the byte just past the end of a buffer - doing so can causes an oops with appropriate kernel-debug config options
-
Neil Brown authored
The 'acl' folks would like an export flag, so this patch reserves one and also discards some that aren't used and never will be (for the named purpose).
-
Neil Brown authored
NFSEXP_CROSSMNT used to mean something different, so using a different name reduces the chance of confusion. Also there is currently a surplus of vowels, so there is no need to be frugal
-
Neil Brown authored
When a sunrpc/cache channel is not open for reading, the cache doesn't bother making and waiting for up-calls. However it doesn't currently distingish between open-for-read/write and open-for-write, so an op-for-write will look like a reader and will cause inappropriate waiting. This patch checks if a file is open-for-read and will only register a file as a reader if it really is one.
-