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
Showing
Please register or sign in to comment