From: Tkhai Kirill Date: Mon, 14 Mar 2011 13:27:46 +0000 (+0000) Subject: MN10300: Proper use of macros get_user() in the case of incremented pointers X-Git-Tag: v2.6.38~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fc34436be2494c6fea63dc0759be9b360d9480a;p=pandora-kernel.git MN10300: Proper use of macros get_user() in the case of incremented pointers Using __get_user_check(x, ptr++, size) leads to double increment of pointer. This macro uses the macro get_user directly, which itself is used in this way (get_user(x, ptr++)) in some functions of the kernel. The patch fixes the error. Reported-by: Tkhai Kirill Signed-off-by: David Howells --- Reading git-diff-tree failed