aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTkhai Kirill <tkhai@yandex.ru>2011-03-14 13:27:46 +0000
committerDavid Howells <dhowells@redhat.com>2011-03-14 14:44:30 +0000
commit6fc34436be2494c6fea63dc0759be9b360d9480a (patch)
treec084e9bc8ed456e504efb01ae180d9b7f02fb009 /lib
parentc44ed965be7a84afaa07543c04eb97a5dfe93422 (diff)
downloadkernel_samsung_crespo-6fc34436be2494c6fea63dc0759be9b360d9480a.zip
kernel_samsung_crespo-6fc34436be2494c6fea63dc0759be9b360d9480a.tar.gz
kernel_samsung_crespo-6fc34436be2494c6fea63dc0759be9b360d9480a.tar.bz2
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 <tkhai@yandex.ru> Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions