- 14 May, 2004 2 commits
-
-
Maneesh Soni authored
o The following patch cleans up sysfs_rename_dir(). It now checks the return code of kobject_set_name() and propagates the error code to its callers. Because of this there are changes in the following two APIs. Both return int instead of void. int sysfs_rename_dir(struct kobject * kobj, const char *new_name) int kobject_rename(struct kobject * kobj, char *new_name)
-
Max Asbock authored
[note, I changed this a bit to be nicer on the system log, greg k-h]
-
- 11 May, 2004 5 commits
-
-
Maneesh Soni authored
The following patch fixes the race involved between unregistering a kobject and simultaneously opeing a corresponding attribute file in sysfs. Ideally sysfs should take a ref. to the kobject as long as it has dentries referring to the kobjects, but because of current limitations in module/kobject ref counting, sysfs's pinning of kobject leads to hang/delays in rmmod of certain modules. The patch checks for unhashed dentries in check_perm() while opening a sysfs file. If the dentry is still hashed then it goes ahead and takes the ref to kobject. This done under the per dentry lock. It does this in the inline routine sysfs_get_kobject(dentry).
-
James Bottomley authored
-
Maneesh Soni authored
1) kobject_set_name-cleanup-01.patch This patch corrects the following by checking the reutrn code from kobject_set_name(). bus_add_driver() bus_register() sys_dev_register() o The following patch cleansup the kobject_set_name() users. Basically checking return code from kobject_set_name(). There can be error returns like -ENOMEM or -EFAULT from kobject_set_name() if the name length exceeds KOBJ_NAME_LEN.
-
Hanna V. Linder authored
This patch adds sysfs class support to the Cosa driver. I have verified it compiles but do not have the hardware to test it. If someone could that would be helpful.
-
Greg Kroah-Hartman authored
Thanks to Andrew Morton for pointing this out to me.
-
- 07 May, 2004 1 commit
-
-
Greg Kroah-Hartman authored
This patch adds basic kobject support to struct module, and it creates a /sys/module directory which contains all of the individual modules. Each module currently exports the refcount (if they are unloadable) and any module paramaters that are marked exportable in sysfs. Was written by me and Rusty over and over many times during the past 6 months.
-
- 05 May, 2004 2 commits
-
-
Daniele Bellucci authored
|How about using a goto on the error path to clean up properly |instead of the different return sections. .. here goes Take 2:
-
Greg Kroah-Hartman authored
-
- 04 May, 2004 1 commit
-
-
Olaf Hering authored
This adds /sys/class/adb/, removes unused devfs lines and updates a comment to match reality.
-
- 02 May, 2004 6 commits
-
-
Kenn Humborg authored
On Mon, Apr 26, 2004 at 12:27:33AM +0100, Russell King wrote: > So, this comment needs updating: > > * So, extract the <name> from the device, and compare it against > * the name of the driver. Return whether they match or not. Want a patch?
-
Hanna V. Linder authored
This patch adds class support to the Texas Instruments graphing calculators with a parallel link cable. I have verified it compiles. If someone has the hardware please verify it works.
-
Hanna V. Linder authored
This patch adds class support to pt.c which "the high-level driver for parallel port ATAPI tape drives based on chips supported by the paride module." Which I dont have in order to test. I have verified it compiles but can not test it. If someone who has the hardware could I would appreciate it.
-
Hanna V. Linder authored
This patch adds class support to pg.c, the parallel port generic ATAPI device driver. I have verified it compiles but do not have the hardware. If someone does and could test that would be helpful.
-
Hanna V. Linder authored
-
Marcel Sebek authored
-
- 28 Apr, 2004 5 commits
-
-
Greg Kroah-Hartman authored
-
Michael E. Brown authored
-
Ivan Kokshaysky authored
Thanks to Dru <andru@treshna.com>, who provided an easy way to reproduce the problem. What we have in lib/rwsem.c:__rwsem_do_wake(): int woken, loop; ^^^ and several lines below: loop = woken; woken *= RWSEM_ACTIVE_BIAS-RWSEM_WAITING_BIAS; woken -= RWSEM_ACTIVE_BIAS; However, rw_semaphore->count is 64-bit on Alpha, so RWSEM_WAITING_BIAS has been defined as -0x0000000100000000L. Obviously, this blows up in the write contention case.
-
Armin Schindler authored
Fix new ISDN CAPI's internal ncci list semaphore if CONFIG_ISDN_CAPI_MIDDLEWARE is disabled. Thanks to Florian Schirmer.
-
http://xfs.org:8090/xfs-linux-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
- 29 Apr, 2004 5 commits
-
-
Nathan Scott authored
into sgi.com:/source2/xfs-linux-2.6
-
Christoph Hellwig authored
SGI Modid: xfs-linux:xfs-kern:170489a
-
Dean Roehrich authored
SGI Modid: xfs-linux:xfs-kern:170509a
-
Dean Roehrich authored
SGI Modid: xfs-linux:xfs-kern:170448a
-
Nathan Scott authored
-
- 28 Apr, 2004 9 commits
-
-
Andrew Morton authored
From: Tom Rini <trini@kernel.crashing.org> This patch updates support for the Motorola PrPMC750 platform. Most of the size in this patch comes from merging prpmc750_pci.c and prpmc750_setup.c into just prpmc750.c.
-
Andrew Morton authored
From: Tom Rini <trini@kernel.crashing.org> This patch adds openpic_hookup_cascade(offset, name, handler) which allows for an arbitrary interrupt controller to be hooked up as a cascade to the openpic. This also allows for platforms to just not have a cascaded controller.
-
Andrew Morton authored
From: Tom Rini <trini@kernel.crashing.org> This patch updates support for the SBS K2 platform. Most of the size in this patch comes from merging k2_pci.c and k2_setup.c into just k2.c.
-
Andrew Morton authored
From: Christoph Hellwig <hch@lst.de> asm-ppc/elf.h uses a pointer to struct task_struct without any forward-declaration. In file included from include/linux/elf.h:5, from arch/ppc/boot/simple/misc.c:20: include/asm/elf.h:102: warning: `struct task_struct' declared inside parameter list include/asm/elf.h:102: warning: its scope is only this definition or declaration, which is probably not what you want
-
Andrew Morton authored
From: Tom Rini <trini@kernel.crashing.org> And when trying to catch up on old patches, I forgot this hunk:
-
Nathan Scott authored
-
Andrew Morton authored
From: Tom Rini <trini@kernel.crashing.org> When I changed some '#if FOO' tests to '#ifdef FOO' I forgot to make sure that nothing was doing #define FOO 0. So after auditing all of the changes I made, the following is needed:
-
Andrew Morton authored
From: Olof Johansson <olof@austin.ibm.com> On pSeries LPARs we might end up with NUMA nodes that only have memory and no CPUs. Only the CPU configuration code actually set a node online, so memory-only nodes wouldn't show up in sysfs. Below patch adds the set_online call to the memory loop too.
-
Andrew Morton authored
From: "Luiz Fernando N. Capitulino" <lcapitulino@prefeitura.sp.gov.br> fs/dquot.c: In function `vfs_quota_off': fs/dquot.c:1328: warning: label `out' defined but not used
-
- 27 Apr, 2004 4 commits
-
-
bk://linux.bkbits.net/linux-2.5Nathan Scott authored
into lips.borg.umn.edu:/export/music/bkroot/xfs-linux-2.6
-
Linus Torvalds authored
-
Rusty Russell authored
Can't use _ffs() without first checking for zero, and if bits beyond NR_CPUS set it'll give bogus results. Use find_first_bit
-
bk://kernel.bkbits.net/davem/sparc-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-