diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-06-12 23:32:26 +0200 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2022-06-13 18:54:52 +0200 |
commit | 35fb9ae4aa2e838b234323e6f7cf6336ff019e5a (patch) | |
tree | a0dc23adacbc5ab211a2de1232e5be24a577ec70 /mm/cma_sysfs.c | |
parent | usercopy: Handle vm_map_ram() areas (diff) | |
download | linux-35fb9ae4aa2e838b234323e6f7cf6336ff019e5a.tar.xz linux-35fb9ae4aa2e838b234323e6f7cf6336ff019e5a.zip |
usercopy: Cast pointer to an integer once
Get rid of a lot of annoying casts by setting 'addr' once at the top
of the function.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Tested-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20220612213227.3881769-3-willy@infradead.org
Diffstat (limited to 'mm/cma_sysfs.c')
0 files changed, 0 insertions, 0 deletions