Skip to content
Commit d904ffd6 authored by Marc Zyngier's avatar Marc Zyngier Committed by Linus Torvalds
Browse files

[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: default avatarMarc Zyngier <maz@misterjones.org>
Approved-by: default avatarRogier Wolff <R.E.Wolff@BitWizard.nl>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e95a9ec1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment