summaryrefslogtreecommitdiffstats
path: root/drivers/char/rio/rioctrl.c
AgeCommit message (Collapse)AuthorLines
2005-01-07[PATCH] small drivers/char/rio/ cleanupsAdrian Bunk-32/+1
The patch below does cleanups under drivers/char/rio/ including the following: - remove some completely unused code - make some needlessly global code static - remove #ifndef linux code - remove never enabled #ifdef XPRINT_SUPPORT code - RIOStrlen -> string.h strlen - RIOStrCmp -> string.h strcmp Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-01-07[PATCH] Lock initializer unifying: RIOThomas Gleixner-1/+1
To make spinlock/rwlock initialization consistent all over the kernel, this patch converts explicit lock-initializers into spin_lock_init() and rwlock_init() calls. Currently, spinlocks and rwlocks are initialized in two different ways: lock = SPIN_LOCK_UNLOCKED spin_lock_init(&lock) rwlock = RW_LOCK_UNLOCKED rwlock_init(&rwlock) this patch converts all explicit lock initializations to spin_lock_init() or rwlock_init(). (Besides consistency this also helps automatic lock validators and debugging code.) The conversion was done with a script, it was verified manually and it was reviewed, compiled and tested as far as possible on x86, ARM, PPC. There is no runtime overhead or actual code change resulting out of this patch, because spin_lock_init() and rwlock_init() are macros and are thus equivalent to the explicit initialization method. That's the second batch of the unifying patches. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2004-03-06[PATCH] char/rio/rioctrl: fix ioctl return valuesAndrew Morton-3/+3
From: "Randy.Dunlap" <rddunlap@osdl.org> From: Tony Breeds <tony@bakeyournoodle.com> It fixes 3 places where the ioctl returns positives instead of negatives. I've gotten feedback from the maintainer (Rogier Wolff (sp?) and he has no objections.
2003-03-21[PATCH] rio __NO_VERSION__Alan Cox-1/+0
2003-03-06[PATCH] remove 2.2 compatmac stuff from rio driverAlan Cox-1/+0
2003-01-10[PATCH] fix rio typoAlan Cox-1/+1
2002-06-02[PATCH] AUDIT 2.5.19: Continuing copy_to/from_user & clear_userRusty Russell-2/+2
2002-05-24drivers/char/rio/*.cArnaldo Carvalho de Melo-120/+120
- make sure return codes are negative (i.e. return -ENOMEM and not return ENOMEM et al)
2002-02-05v2.5.1.8 -> v2.5.1.9Linus Torvalds-3/+3
- Russell King: large ARM update - Adam Richter et al: more kdev_t updates
2002-02-04v2.4.3.3 -> v2.4.3.4Linus Torvalds-1/+1
- David Miller: sparc rw semaphores moved over - Alan Cox: yet more resyncs - NIIBE Yutaka: Super-H driver update - David Howells: more rw-sem cleanups, updates - USB updates - Al Viro: filesystem init cleanup
2002-02-04v2.4.1.2 -> v2.4.1.3Linus Torvalds-1/+1
- Jens: better ordering of requests when unable to merge - Neil Brown: make md work as a module again (we cannot autodetect in modules, not enough background information) - Neil Brown: raid5 SMP locking cleanups - Neil Brown: nfsd: handle Irix NFS clients named pipe behavior and dentry leak fix - maestro3 shutdown fix - fix dcache hash calculation that could cause bad hashes under certain circumstances (Dean Gaudet) - David Miller: networking and sparc updates - Jeff Garzik: include file cleanups - Andy Grover: ACPI update - Coda-fs error return fixes - rth: alpha Jensen update
2002-02-04Import changesetLinus Torvalds-0/+1902