| Age | Commit message (Collapse) | Author |
|
EVIOCSKEYCODE macros to be <= KEY_MAX. Check off-by one mistakes
in keycodemax usage. There was a lot of potential for overwriting
memory. Also enlarge NR_KEYS to 256 while we're at it.
Found-by: Georgi Guninski <guninski@guninski.com>
Initial-patch-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
|
|
else it would never stop
Signed-off-by: Matthieu Castet <castet.matthieu@free.fr>
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
|
|
From: Helge Deller <deller@gmx.de>
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
|
|
From: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
|
|
With these changes, it's possible to write drivers for force feedback
joysticks and similar devices in userspace. It also adds a way to set the
physical path of devices created via uinput, and it has a couple trivial
bugfixes.
Signed-off-by: Micah Dowty <micah@navi.cx>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
|
|
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
|
|
Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Here are some Kconfig fixes:
- typo fixes
- unused token removes (empty or duplicated 'help')
- non ASCII characters replaces
- e-mail address and URL format corrections
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
|
|
|
|
Trivial annotations in drivers/input
|
|
|
|
PC9800 sub-arch is incomplete, hackish (at least in IDE), maintainers don't
reply to emails and haven't touched it in awhile. Can't even config it to
try to build it without other patches to the kernel tree.
bk-rm-script:
#! /bin/sh
bk rm -r ./arch/i386/mach-pc9800
bk rm -r ./arch/i386/boot98
bk rm ./drivers/char/lp_old98.c
bk rm ./drivers/serial/serial98.c
bk rm ./drivers/scsi/scsi_pc98.c
bk rm ./drivers/scsi/pc980155.c
bk rm ./drivers/scsi/pc980155.h
bk rm ./drivers/block/floppy98.c
bk rm ./drivers/input/keyboard/98kbd.c
bk rm ./drivers/input/serio/98kbd-io.c
bk rm ./drivers/input/misc/98spkr.c
bk rm ./drivers/input/mouse/98busmouse.c
bk rm ./drivers/ide/legacy/pc9800.c
bk rm ./drivers/ide/legacy/hd98.c
bk rm -r ./include/asm-i386/mach-pc9800
bk rm ./include/asm-i386/pc9800_sca.h
bk rm ./include/asm-i386/pc9800.h
bk rm ./fs/partitions/nec98.c
bk rm ./fs/partitions/nec98.h
bk rm ./sound/isa/cs423x/pc98.c
bk rm ./sound/isa/cs423x/pc9801_118_magic.h
bk rm ./sound/isa/cs423x/sound_pc9800.h
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
|
|
for suggesting the fix.
|
|
|
|
From: Thorsten Kranzkowski <dl8bcu@dl8bcu.de>
|
|
|
|
from an input driver to a serio driver.
|
|
Kconfig cleanup megapatch from Nicolas Kaiser <nikai@nikai.net>.
modules.txt no longer exists, and the common wording used to refer to
it sucks. This is all by Nicolas Kaiser's: at Randy and Matthew's
request, "say M" changed to "choose M" (more sense for graphical front
ends, too).
|
|
From: Aristeu Sergio Rozanski Filho <aris@cathedrallabs.org>
verify maximum number of bits before using set_bit
|
|
From: Peter Chubb <peterc@gelato.unsw.edu.au>
Attached patch kills a warning when compiling on a 64-bit architecture
(ssize_t is long, not int)
|
|
|
|
Update gsc_ps2 for recent changes.
|
|
|
|
a fixed value of 1193182. And change CLOCK_TICK_RATE and several
usages of a fixed value 1193180 to a slightly more correct value
of 1193182. (True freq is 1.193181818181...).
|
|
Well, this is it for me and strlcpy. I'll leave the rest of the
non-obvious usages of strncpy to the kernel janitors. Seems like quite a
few uses really wanted memcpy instead, but I don't have time to
investigate them all. It does appear that nearly all strncpy's will be
removable. Obsoleting strncpy will probably atleast make the remaining
few think about how they are using it.
This is the patch for my trip through drivers/*.
|
|
drivers/input/misc/uinput.c::uinput_alloc_device(): reduce stack size
from 0x480 to 0x24;
|
|
|
|
value all the way from an interrupt handler to keyboard.c
that can display it.
|
|
From: GertJan Spoelman <kl@gjs.cc>
OK, here is a new patch, I edited the old patch and took out the .ko's
so now the extension is trimmed instead.
|
|
This converts the PA-RISC PS/2 keyboard & mouse driver to the input
layer. New driver written by Laurent Canet & Thibaut Varene.
|
|
|
|
- example in Documentation/DocBook/procfs_example.c uses
MOD_..._USE_COUNT for no reason.
- alpha/kernel/srm_env.c uses MOD_...USE_COUNT for no reason _and_ does
lovely stuff like strlen() on user-supplied pointers,
copy_from_user() with unverified size, half-kilobyte on-stack arrays,
etc. Fixed.
- s390{,x}/kernel/debug.c: set ->owner instead of playing with
MOD_..._USE_COUNT in ->open()/->release()
- mwavedd.c: gratitious use of MOD_..._USE_COUNT
- uinput.c: ditto
- radio/miropcm20-rds.c: set ->owner, remove MOD_..._USE_COUNT from
->open()/->release(), fixed an obvious race in the former (it checked
that nobody else had device opened, then did kmalloc() with
GFP_KERNEL, then marked device as opened).
|
|
|
|
This adds the driver config files. (part 1)
|
|
handling of flag bits, etc.
|
|
|
|
- Kill unused variable and end-of-line whitespace.
- s/M68K/M68k/
|
|
Add an m68k beeper input module.
|
|
of pcspkr.o and another 90 elsewhere in the .o file.
|
|
|
|
|
|
as functions interfacing to the input core. PC-Speaker handling is
moved to a separate file. Uinput is moved to a input/misc directory.
|