- 23 Apr, 2004 1 commit
-
-
Nicolas Pitre authored
Patch from Nicolas Pitre The recent discovery of a problem with gcc not always respecting register assignment for local variables to be used with inline assembly is worrisome. If unnoticed, such problems can cover bugs that might prove hard to find especially when the code is right but silently ignored. This patch adds a test where needed to have the assembler confirm our register selection and fail the kernel build if the wrong registers are allocated.
-
- 22 Apr, 2004 39 commits
-
-
bk://kernel.bkbits.net/davem/net-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://kernel.bkbits.net/gregkh/linux/driver-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
David S. Miller authored
into nuts.davemloft.net:/disk1/BK/net-2.6
-
Linda Xie authored
Since symlink.c uses "name" field of a kobj when it calculates the length, it gets a wrong value if the kobj's name has more than 20 charathers. A correct way to do that is to call kobject_name(kobj) instead of using kobj->name directly.
-
bk://kernel.bkbits.net/gregkh/linux/usb-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Romain Liévin authored
this patch (2.4 & 2.6) fixes a bug about the timeout value. The formula used to calculate jiffies from timeout is wrong. The new formula is ok and takes care of integer computation/rounding. There is the same bug in the tiglusb.c module which will be fixed by another patch.
-
David Brownell authored
Handle some PL-2301/2302 devices better.
-
Jan Capek authored
I just checked out the latest 2.6.6-rc1-mm1 to see that the ID patch for ftdi has applied cleanly, but apparently someone was faster and in the combined ID table our ID's were missing. Most probably the patch program got confused and applied the hung at wrong spot.. Attached is a patch that places that 2 lines in the correct spot.
-
Romain Liévin authored
Hi, this patch (cumulative; 2.4 & 2.6) fixes another bug in the tiglusb driver. The formula used to calculate jiffies from timeout is wrong. The new formula is ok and takes care of integer computation/rounding. This is the same kind of bug than in the tipar char driver.
-
William Lee Irwin III authored
Warnings aren't terribly important in and of themselves, but there isn't really much the warning tells us to do here, so it would appear that caving in to the compiler is the thing to do for now.
-
David Brownell authored
Various build fixes: 64bit (Andrew Morton), static linking, broken on big-endian, etc. Tighten up the integration with the main "ether" driver, so state transitions and host ethernet addresses are shared too. Add missing spinlock calls around RNDIS command outcall, fix GET_INTERFACE issue, host mustn't clobber netdev flags. Minor code cleanups.
-
David Brownell authored
Cope better when PCI misbehaves badly and registers misbehave: - terminate some loops before they get to infinity * capability scan * port reset - after init failure, memory may already be cleaned up Some systems have been reporting such problems after ACPI resume.
-
Mikael Pettersson authored
This replaces current_thread_info()->cpu in i386' init_IRQ() by the equivalent smp_processor_id(). Reduces overhead on UP, and makes the code cleaner.
-
Mikael Pettersson authored
This simplifies the Pentium M quirk code in nmi.c, and eliminates an unnecessary apic_read(). Local APIC accesses are not zero-cycle; let's not inflict more damage than we must.
-
Andrew Morton authored
From: Benjamin Herrenschmidt <benh@kernel.crashing.org> We need some alignement of those structs for proper operations especially with FP and Altivec, or SLAB_DEBUG can break us.
-
Andrew Morton authored
From: Stephen Rothwell <sfr@canb.auug.org.au> This patch just adds some proc entries for the virtual tape and cdrom drivers to allow mapping between linux devices and OS/400 ones. This is expected by existing users and there is no other way to do this translation.
-
Andrew Morton authored
From: "J. Bruce Fields" <bfields@fieldses.org> Unregister svcauth_gss caches on exit from gss module; fixes an oops on rmmod.
-
Andrew Morton authored
From: Benjamin Herrenschmidt <benh@kernel.crashing.org> From: David Woodhouse <dwmw2@infradead.org> Without this the task struct gets unaligned when using SLAB_DEBUG, causing random problems with FP and Altivec.
-
Andrew Morton authored
From: Ralf Baechle <ralf@linux-mips.org> MIPS now also uses the generic ioctl compat code.
-
Andrew Morton authored
From: Ralf Baechle <ralf@linux-mips.org> MIPS never uses a.out
-
Andrew Morton authored
From: Ralf Baechle <ralf@linux-mips.org> - Add HPC3 PS/2 driver bits for SGI IP22 aka Indy - Add Mace PS/2 driver bits for SGI IP32 aka O2 - Add R4030 PS/2 driver bits for Jazz family - Don't register I/O ports where we're using the I/O port memory window to access the i8042 registers
-
Andrew Morton authored
From: Ralf Baechle <ralf@linux-mips.org> Add Pete to CREDITS for all the time he's invested into supporting the AMD Alchemy of SOCs and eval boards.
-
Andrew Morton authored
From: Ralf Baechle <ralf@linux-mips.org> All MIPS systems use the same PCI code now.
-
Andrew Morton authored
Fix the incorrect comment which caused the fb_ioctl confusion.
-
Andrew Morton authored
From: Matt Mackall <mpm@selenic.com> Delete obsolete comment and kill test of obsolete define.
-
Andrew Morton authored
From: Matt Domsch <Matt_Domsch@dell.com> The patch below from Michael E. Brown properly sets the owner field of a sysfs attribute. Without this patch, it is possible to crash the kernel with a simultaneous insmod/rmmod while reading files exported by the module.
-
Andrew Morton authored
From: Martin Schwidefsky <schwidefsky@de.ibm.com> Add support for z990 crypto instructions to in-kernel crypto api.
-
Andrew Morton authored
From: Martin Schwidefsky <schwidefsky@de.ibm.com> zfcp host adapter changes: - Fix error recovery stall in case of unavailable nameserver. - Reset host_scribble field to NULL in scsi_cmd. - Remove request debug code.
-
Andrew Morton authored
From: Martin Schwidefsky <schwidefsky@de.ibm.com> dasd device driver changes: - Initialize open_count with -1 to account for blkdev_open in dasd_scan_partitions. - Introduce USE_ERP request flag to selectivly switch off error recovery for reserve, release & unconditional reserve ioctls.
-
Andrew Morton authored
From: Martin Schwidefsky <schwidefsky@de.ibm.com> Network driver changes: - qeth: Fix reference counting in regard to sysfs backing store patches. - qeth: Prefix kernel thread names with qeth_. - qeth: Remove inbound and outbound tasklets. Handle buffers directly in the interrupts handlers. - iucv: Add missing kfree in iucv_register_program. - iucv: Add missing return in netiucv_transmit_skb. - iucv: Check for NULL pointer in conn_action_txdone.
-
Andrew Morton authored
From: Martin Schwidefsky <schwidefsky@de.ibm.com> 3270 device driver changes: - Add NULL pointer checks.
-
Andrew Morton authored
From: Martin Schwidefsky <schwidefsky@de.ibm.com> Common i/o layer changes: - Quiesce active subchannels for lpar reipl. - Delete timer after reception of interrupt for kill on timeout. - Cleanup some comments in qdio.
-
Andrew Morton authored
From: Martin Schwidefsky <schwidefsky@de.ibm.com> s390 core changes: - Fix race in do_call_softirq in regard to kernel preemption. - Fix typo in compat mq system call wrappers. - Add s390 to Kconfig for AUDITSYSCALL. - Redefine TASK_SIZE to TASK31_SIZE for compilation of binfmt_elf32. - Use correct error value for sys32_ipc when called with an invalid number. - New default configuration.
-
Andrew Morton authored
From: Stephen Rothwell <sfr@canb.auug.org.au> This patch fixes loading viocd as a module. It would oops because I was passing the address of a static buffer to dma_map_single and when loaded as a module, this address is not valid for that purpose. There are a couple of simple cleanups here as well.
-
Andrew Morton authored
It no longer has any callers.
-
Greg Kroah-Hartman authored
-
Colin Leroy authored
-
Alan Stern authored
A major bug in the UHCI driver turned up recently. Thanks to a lot of help from Simone Gotti it was identified and fixed late last week. It turned out to be entirely my fault -- a previous patch had introduced two (!) errors. (A combination of carelessness and a nasty thinko, and somehow it passed the regression tests...) Anyway, it's entirely possible that many of the problems people have been seeing are caused by that bug. This patch is the solution.
-
Michael E. Brown authored
- Add module locking to sysfs bin_attribute files. Update all in-tree users to set module owner. Compile tested. booted. stress tests pass: while true; do modprobe mymod; rmmod mymod; done & while true; do hexdump -C /sys/path/to/sysfs/binary/file; done
-