sparc32: Correct the return value of memcpy.
authorDavid S. Miller <davem@davemloft.net>
Wed, 19 Oct 2011 22:31:55 +0000 (15:31 -0700)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Wed, 11 Jan 2012 18:19:59 +0000 (10:19 -0800)
commitc1d1eaa75596e5e762282b4aae1134dbe2457e81
treeaa760400a39e9fdfbcf7aee6df2f952903c8e3a9
parent2c0ab4fac64c518f4a882403f3f749c3bab7ba33
sparc32: Correct the return value of memcpy.

[ Upstream commit a52312b88c8103e965979a79a07f6b34af82ca4b ]

Properly return the original destination buffer pointer.

Signed-off-by: David S. Miller <davem@davemloft.net>
Tested-by: Kjetil Oftedal <oftedal@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Change-Id: I382ae5b35768be56473c8e92d68e2f3c74bf1422
Reviewed-on: http://git-master/r/74210
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>
arch/sparc/lib/memcpy.S