]> git.baikalelectronics.ru Git - kernel.git/commit
fs-verity: use u64_to_user_ptr()
authorEric Biggers <ebiggers@google.com>
Tue, 31 Dec 2019 17:54:08 +0000 (11:54 -0600)
committerEric Biggers <ebiggers@google.com>
Tue, 14 Jan 2020 21:28:28 +0000 (13:28 -0800)
commitafefbb8bb20bc1af1a23b259e5fd9187e2c18b98
treeac7bd7709b0da2d6b743456fd0f3e2c8d25313ee
parentaccd0fde86e9dcc27e48154748cc3027af6bcf8f
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: Eric Biggers <ebiggers@google.com>
fs/verity/enable.c