]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
proc: copy_to_user() returns unsigned
authorDan Carpenter <error27@gmail.com>
Tue, 6 Apr 2010 10:45:39 +0000 (13:45 +0300)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Apr 2010 15:23:47 +0000 (08:23 -0700)
commit309361e09ca9e9670dc8664e5d14125bf82078af
tree2886267e80efa99d5447d56305e6560fd4cce410
parent5fbfb18d7a5b846946d52c4a10e3aaa213ec31b6
proc: copy_to_user() returns unsigned

copy_to_user() returns the number of bytes left to be copied.

This was a typo from: d82ef020cf31 "proc: pagemap: Hold mmap_sem during
page walk".

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/task_mmu.c