Skip to content
Commit 309361e0 authored by Dan Carpenter's avatar Dan Carpenter Committed by Linus Torvalds
Browse files

proc: copy_to_user() returns unsigned

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

This was a typo from: d82ef020

 "proc: pagemap: Hold mmap_sem during
page walk".

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Acked-by: default avatarMatt Mackall <mpm@selenic.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5fbfb18d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment