1
linux/drivers/char
Marc Zyngier d904ffd6e0 [PATCH] Fix Specialix SX corruption
With the latest kernels, I experienced some strange corruption, some
'*****' being randomly inserted in the character flow, like this:

	ashes:~#
	ashes:~#
	a*******shes:~#
	ashes:~#
	ashes:~#

Further investigation shows that the problem was introduced during
Alan's "TTY layer buffering revamp" patch, the amount of data to be
copied being reduced after buffer allocation.  Moving the count fixup
around solves the problem.

Signed-off-by: Marc Zyngier <maz@misterjones.org>
Approved-by: Rogier Wolff <R.E.Wolff@BitWizard.nl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-02-27 08:18:04 -08:00
..
agp [AGPGART] Add some informational printk to nforce GART failure path. 2006-02-20 18:34:37 -05:00
drm drm: fix brace placement 2006-02-18 16:30:54 +11:00
ftape ftape: remove some outdated information from Kconfig files 2006-01-15 01:57:47 +01:00
ip2 [PATCH] ip2main.c warning fixes 2006-02-03 08:32:10 -08:00
ipmi [PATCH] IPMI: fix issues reported by Coverity in ipmi_msghandler.c 2006-02-03 08:32:11 -08:00
mwave [PATCH] mwave: missing __user in ioctl struct declaration 2005-12-15 10:04:31 -08:00
pcmcia [PATCH] TTY layer buffering revamp 2006-01-10 08:01:59 -08:00
rio [PATCH] rio cleanups 2006-02-03 08:32:04 -08:00
tpm [PATCH] Infineon TPM: IO-port leakage fix, WTX-bugfix 2006-02-17 13:59:26 -08:00
watchdog [WATCHDOG] pcwd.c - update module version info 2006-02-12 14:46:48 +01:00
.gitignore gitignore: misc files 2006-01-01 22:21:50 +01:00
amiserial.c [PATCH] remove unused tmp_buf_sem's 2006-01-14 10:41:42 -08:00
applicom.c [PATCH] applicom: fix error handling 2005-09-10 10:06:25 -07:00
applicom.h
cd1865.h
ChangeLog
consolemap.c [PATCH] kfree cleanup: drivers/char 2005-11-07 07:54:02 -08:00
cp437.uni
cs5535_gpio.c [PATCH] i386: GPIO driver for AMD CS5535/CS5536 2006-01-10 08:01:24 -08:00
cyclades.c [PATCH] new tty buffering locking fix 2006-02-03 08:32:09 -08:00
decserial.c
defkeymap.c_shipped
defkeymap.map
digi1.h [PATCH] Clean up the old digi support and rescue it 2005-09-07 16:57:20 -07:00
digi.h
digiFep1.h [PATCH] Clean up the old digi support and rescue it 2005-09-07 16:57:20 -07:00
digiPCI.h
ds1286.c
ds1302.c
ds1620.c
dsp56k.c [PATCH] m68k: dsp56k __user annotations 2006-01-12 09:09:04 -08:00
dtlk.c
ec3104_keyb.c
efirtc.c
epca.c [PATCH] TTY layer buffering revamp 2006-01-10 08:01:59 -08:00
epca.h [PATCH] epca iomem annotations + several missing readw() 2005-09-16 10:38:10 -07:00
epcaconfig.h
esp.c [PATCH] Fix locking error in esp 2006-02-14 10:01:39 -08:00
generic_nvram.c
generic_serial.c [PATCH] remove unused tmp_buf_sem's 2006-01-14 10:41:42 -08:00
genrtc.c
hangcheck-timer.c [PATCH] s390: hangcheck timer support 2006-02-01 08:53:24 -08:00
hpet.c [PATCH] HPET: handle multiple ACPI EXTENDED_IRQ resources 2006-02-14 16:09:34 -08:00
hvc_console.c [PATCH] Fix race condition in hvc console. 2006-02-24 11:36:40 +11:00
hvc_vio.c powerpc: don't duplicate name between vio_driver and device_driver 2005-10-24 15:42:12 +10:00
hvcs.c [PATCH] TTY layer buffering revamp 2006-01-10 08:01:59 -08:00
hvsi.c [PATCH] drivers/char: Use ARRAY_SIZE macro 2006-01-10 08:01:56 -08:00
hw_random.c [PATCH] hw_random: 82801AB PCI Bridge support 2006-01-08 20:14:06 -08:00
i8k.c [PATCH] I8K: fix /proc reporting of blank service tags 2005-11-12 11:42:32 -08:00
ip2.c [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
ip2main.c [PATCH] ip2main.c warning fixes 2006-02-03 08:32:10 -08:00
ip27-rtc.c
isicom.c [PATCH] char/isicom: More whitespaces and coding style 2006-01-10 08:02:01 -08:00
istallion.c [PATCH] TTY layer buffering revamp 2006-01-10 08:01:59 -08:00
ite_gpio.c
Kconfig [PATCH] synclink_gt is PCI-only 2006-02-08 01:04:50 -05:00
keyboard.c [SPARC]: introduce a SPARC Kconfig symbol 2005-12-22 23:09:54 -08:00
lcd.c Resurrect Cobalt support for 2.6. 2005-10-29 19:30:42 +01:00
lcd.h Resurrect Cobalt support for 2.6. 2005-10-29 19:30:42 +01:00
lp.c [PATCH] Driver Core: fix up all callers of class_device_create() 2005-10-28 09:52:52 -07:00
Makefile [PATCH] i386: GPIO driver for AMD CS5535/CS5536 2006-01-10 08:01:24 -08:00
mbcs.c [IA64] mbcs_init() should give up unless running on sn2 2005-10-04 09:39:18 -07:00
mbcs.h
mem.c [PATCH] powerpc: iSeries fixes for build with no PCI 2006-01-12 20:09:30 +11:00
misc.c [PATCH] Driver Core: fix up all callers of class_device_create() 2005-10-28 09:52:52 -07:00
mmtimer.c [PATCH] shrink mmtimer memory size 2006-01-06 15:22:28 -08:00
moxa.c [PATCH] moxa serial: add proper capability check 2006-01-10 09:45:36 -08:00
mxser.c [PATCH] TTY layer buffering revamp 2006-01-10 08:01:59 -08:00
mxser.h
n_hdlc.c [PATCH] n_hdlc.c: remove unused declaration 2006-01-10 08:02:00 -08:00
n_r3964.c [PATCH] TTY layer buffering revamp 2006-01-10 08:01:59 -08:00
n_tty.c [PATCH] TTY layer buffering revamp 2006-01-10 08:01:59 -08:00
nvram.c [PATCH] drivers/char: Use ARRAY_SIZE macro 2006-01-10 08:01:56 -08:00
nwbutton.c
nwbutton.h
nwflash.c
ppdev.c [PATCH] Driver Core: fix up all callers of class_device_create() 2005-10-28 09:52:52 -07:00
pty.c [PATCH] TTY layer buffering revamp 2006-01-10 08:01:59 -08:00
qtronix.c qtronix.c: Handle kmalloc failure. 2005-10-29 19:30:55 +01:00
qtronixmap.c_shipped
qtronixmap.map
random.c [PATCH] random: get rid of sparse warning 2006-01-11 18:42:11 -08:00
raw.c [PATCH] Driver Core: fix up all callers of class_device_create() 2005-10-28 09:52:52 -07:00
riscom8_reg.h
riscom8.c [PATCH] remove unused tmp_buf_sem's 2006-01-14 10:41:42 -08:00
riscom8.h
rocket_int.h
rocket.c [PATCH] Fix RocketPort driver 2006-02-03 08:31:59 -08:00
rocket.h
rtc.c [PATCH] Allow reading CMOS day of week register 2006-01-11 18:42:10 -08:00
s3c2410-rtc.c [ARM] Move asm/hardware/clock.h to linux/clk.h 2006-01-07 16:15:52 +00:00
scan_keyb.c
scan_keyb.h
scc.h [PATCH] m68k: static vs. extern in scc.h 2006-01-12 09:09:00 -08:00
scx200_gpio.c
selection.c [PATCH] TTY layer buffering revamp 2006-01-10 08:01:59 -08:00
ser_a2232.c [PATCH] missing include in ser_a2232 2006-02-07 20:57:25 -05:00
ser_a2232.h
ser_a2232fw.ax
ser_a2232fw.h
serial167.c [PATCH] remove unused tmp_buf_sem's 2006-01-14 10:41:42 -08:00
snsc_event.c [IA64-SGI] fix unaligned memory access in snsc_event.c 2005-08-15 14:17:49 -07:00
snsc.c Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 2005-10-28 21:09:26 -07:00
snsc.h
sonypi.c [PATCH] sonypi: Enable ACPI events for Sony laptop hotkeys 2006-01-08 20:14:03 -08:00
specialix_io8.h
specialix.c [PATCH] remove unused tmp_buf_sem's 2006-01-14 10:41:42 -08:00
stallion.c return statement cleanup - kill pointless parentheses 2006-01-15 02:37:08 +01:00
sx.c [PATCH] Fix Specialix SX corruption 2006-02-27 08:18:04 -08:00
sx.h
sxboards.h
sxwindow.h
synclink_gt.c [PATCH] synclink_gt fix size of register value storage 2006-01-18 19:20:16 -08:00
synclink.c [PATCH] remove unused tmp_buf_sem's 2006-01-14 10:41:42 -08:00
synclinkmp.c [PATCH] TTY layer buffering revamp 2006-01-10 08:01:59 -08:00
sysrq.c [PATCH] Terminate process that fails on a constrained allocation 2006-02-20 20:00:09 -08:00
tb0219.c Update Yoichi Yuasa's email address. 2006-01-10 13:39:07 +00:00
tipar.c [PATCH] tipar fixes 2006-02-11 21:41:13 -08:00
tlclk.c [PATCH] tlclk driver update 2006-01-18 19:25:49 -08:00
toshiba.c
tty_io.c [PATCH] tty reference count fix 2006-02-14 16:09:33 -08:00
tty_ioctl.c
vc_screen.c [PATCH] fix ia64 compile failure with gcc4.1 2005-12-29 10:19:21 -08:00
viocons.c [PATCH] powerpc: remove bitfields from HvLpEvent 2006-01-12 20:09:29 +11:00
viotape.c [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
vme_scc.c [PATCH] TTY layer buffering revamp 2006-01-10 08:01:59 -08:00
vr41xx_giu.c Update Yoichi Yuasa's email address. 2006-01-10 13:39:07 +00:00
vr41xx_rtc.c Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus 2006-01-10 09:00:55 -08:00
vt_ioctl.c [PATCH] Only disallow _setting_ of function key string 2005-11-07 07:53:39 -08:00
vt.c [PATCH] fbcon: Fix screen artifacts when moving cursor 2006-02-01 08:53:26 -08:00