29 Jan, 2015
1 commit
-
Call __set_current_state() instead of assigning the new state directly.
These interfaces also aid CONFIG_DEBUG_ATOMIC_SLEEP environments,
keeping track of who changed the state.Signed-off-by: Davidlohr Bueso
Signed-off-by: Greg Kroah-Hartman
29 Sep, 2014
1 commit
-
This patch fixes "Missing a blank line after declarations" checkpatch.pl
warning in selection.cSigned-off-by: Aybuke Ozdemir
Signed-off-by: Greg Kroah-Hartman
24 May, 2014
2 commits
-
This function is largely a duplicate of paste_selection() in
drivers/tty/vt/selection.c, but with its own selection state. The
speakup selection mechanism should really be merged with vt.For now, apply the changes from 'TTY: vt, fix paste_selection ldisc
handling', 'tty: Make ldisc input flow control concurrency-friendly',
and 'tty: Fix unsafe vt paste_selection()'.References: https://bugs.debian.org/735202
References: https://bugs.debian.org/744015
Reported-by: Paul Gevers
Reported-and-tested-by: Jarek Czekalski
Signed-off-by: Ben Hutchings
Cc: # v3.8 but needs backporting for < 3.12
Signed-off-by: Greg Kroah-Hartman -
Input is handled in softirq context, but when pasting we may
need to sleep. speakup_paste_selection() currently tries to
bodge this by busy-waiting if in_atomic(), but that doesn't
help because the ldisc may also sleep.For bonus breakage, speakup_paste_selection() changes the
state of current, even though it's not running in process
context.Move it into a work item and make sure to cancel it on exit.
References: https://bugs.debian.org/735202
References: https://bugs.debian.org/744015
Reported-by: Paul Gevers
Reported-and-tested-by: Jarek Czekalski
Signed-off-by: Ben Hutchings
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman
06 Apr, 2013
1 commit
-
Replace disallocated with deallocated
Signed-off-by: Valentin Ilie
Signed-off-by: Greg Kroah-Hartman
22 Feb, 2013
1 commit
-
Pull tty/serial patches from Greg Kroah-Hartman:
"Here's the big tty/serial driver patches for 3.9-rc1.More tty port rework and fixes from Jiri here, as well as lots of
individual serial driver updates and fixes.All of these have been in the linux-next tree for a while."
* tag 'tty-3.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (140 commits)
tty: mxser: improve error handling in mxser_probe() and mxser_module_init()
serial: imx: fix uninitialized variable warning
serial: tegra: assume CONFIG_OF
TTY: do not update atime/mtime on read/write
lguest: select CONFIG_TTY to build properly.
ARM defconfigs: add missing inclusions of linux/platform_device.h
fb/exynos: include platform_device.h
ARM: sa1100/assabet: include platform_device.h directly
serial: imx: Fix recursive locking bug
pps: Fix build breakage from decoupling pps from tty
tty: Remove ancient hardpps()
pps: Additional cleanups in uart_handle_dcd_change
pps: Move timestamp read into PPS code proper
pps: Don't crash the machine when exiting will do
pps: Fix a use-after free bug when unregistering a source.
pps: Use pps_lookup_dev to reduce ldisc coupling
pps: Add pps_lookup_dev() function
tty: serial: uartlite: Support uartlite on big and little endian systems
tty: serial: uartlite: Fix sparse and checkpatch warnings
serial/arc-uart: Miscll DT related updates (Grant's review comments)
...Fix up trivial conflicts, mostly just due to the TTY config option
clashing with the EXPERIMENTAL removal.
14 Feb, 2013
1 commit
-
The PPS (Pulse-Per-Second) line discipline has developed a number of
unhealthy attachments to core tty data and functions, ultimately leading
to its breakage.The previous patches fixed the crashing. This one reduces coupling further
by eliminating the timestamp parameter from the dcd_change ldisc method.
This reduces header file linkage and makes the extension more generic,
and the timestamp read is delayed only slightly, from just before the
ldisc->ops->dcd_change method call to just after.Fix attendant build breakage in
drivers/tty/n_tty.c
drivers/tty/tty_buffer.c
drivers/staging/speakup/selection.c
drivers/staging/dgrp/dgrp_*.cCc: William Hubbs
Cc: Chris Brannon
Cc: Kirk Reiser
Cc: Samuel Thibault
Signed-off-by: Peter Hurley
Signed-off-by: George Spelvin
Acked-by: Rodolfo Giometti
Signed-off-by: Greg Kroah-Hartman
12 Feb, 2013
1 commit
-
alloc failures already get standardized OOM
messages and a dump_stack.For the affected mallocs around these OOM messages:
Converted kzallocs with multiplies to kcalloc.
Converted kmallocs with multiplies to kmalloc_array.
Converted a kmalloc/strlen/strncpy to kstrdup.
Moved a spin_lock below a removed OOM message and
removed a now unnecessary spin_unlock.
Neatened alignment and whitespace.Signed-off-by: Joe Perches
Signed-off-by: Greg Kroah-Hartman
08 Jan, 2013
1 commit
-
This prefixes all externally-visible symbols of speakup with "spk_".
Signed-off-by: Samuel Thibault
Signed-off-by: Greg Kroah-Hartman
14 Jun, 2012
1 commit
-
Signed-off-by: Chris Yungmann
Signed-off-by: Greg Kroah-Hartman
20 Oct, 2010
1 commit
-
fix issues reported by checkpatch.pl
Signed-off-by: William Hubbs
Signed-off-by: Greg Kroah-Hartman
08 Oct, 2010
1 commit
-
Speakup is a kernel based screen review package for the linux operating
system. It allows blind users to interact with applications on the
linux console by means of synthetic speech.The authors and maintainers of this code include the following:
Kirk Reiser, Andy Berdan, John Covici, Brian and
David Borowski, Christopher Brannon, Samuel Thibault and William Hubbs.Signed-off-by: William Hubbs
Signed-off-by: Samuel Thibault
Signed-off-by: Greg Kroah-Hartman