[PATCH] Alpha: strncpy() fix
authorIvan Kokshaysky <ink@jurassic.park.msu.ru>
Tue, 25 Apr 2006 09:45:19 +0000 (13:45 +0400)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 25 Apr 2006 14:51:06 +0000 (07:51 -0700)
commit4d5c34ec7b007cfb0771a36996b009f194acbb2f
tree7658508b67f6aa03d5b38b68a197502068699ea8
parent454ac778459bc70f0a9818a6a8fd974ced11de66
[PATCH] Alpha: strncpy() fix

As it turned out after recent SCSI changes, strncpy() was broken -
it mixed up the return values from __stxncpy() in registers $24 and $27.

Thanks to Mathieu Chouquet-Stringer for tracking down the problem
and providing an excellent test case.

Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/alpha/lib/strncpy.S