diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-06-13 00:32:26 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2022-06-13 19:54:52 +0300 |
commit | 35fb9ae4aa2e838b234323e6f7cf6336ff019e5a (patch) | |
tree | a0dc23adacbc5ab211a2de1232e5be24a577ec70 /mm/swap.c | |
parent | 993d0b287e2ef7bee2e8b13b0ce4d2b5066f278e (diff) | |
download | linux-35fb9ae4aa2e838b234323e6f7cf6336ff019e5a.tar.xz |
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/swap.c')
0 files changed, 0 insertions, 0 deletions