[Linux-ia64] [Fwd: memcpy failure]

From: Christian Cotte-Barrot <Christian.Cotte-Barrot_at_bull.net>
Date: 2002-11-14 19:31:18
ditto.

attached mail follows:


>>>>> On Tue, 12 Nov 2002 10:29:23 -0800, "Chen, Kenneth W" <kenneth.w.chen@intel.com> said:

  Ken> The retrun value for memcpy doesn't follow the user space
  Ken> memcpy exactly.  kernel memcpy always return 0.

Why are you saying this?  As far as I know, the kernel memcpy() is
expected to return the (initial) destination address.  Perhaps you're
thinking of copy_user()?

(If it was up to me, memcpy() would be returning void...).

	--david
Received on Thu Nov 14 00:31:13 2002

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:10 EST