Skip to content
Commit da3a3da4 authored by Eric Biggers's avatar Eric Biggers
Browse files

fs-verity: use u64_to_user_ptr()



<linux/kernel.h> already provides a macro u64_to_user_ptr().
Use it instead of open-coding the two casts.

No change in behavior.

Link: https://lore.kernel.org/r/20191231175408.20524-1-ebiggers@kernel.org
Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
parent 439bea10
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