mm: remove usercopy_warn()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 28 Feb 2022 23:01:43 +0000 (10:01 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 28 Feb 2022 23:01:43 +0000 (10:01 +1100)
commitb989282c9ea1eb723da786d97d2ce7e7095d29c2
treeedf83fcf35aa5f1360fdd94d9825a2d603680bb2
parentf2007b799c5b9636272c43358e6c956fd5e2e6bd
mm: remove usercopy_warn()

Users of usercopy_warn() were removed by commit 53944f171a89 ("mm: remove
HARDENED_USERCOPY_FALLBACK")

Remove it.

Link: https://lkml.kernel.org/r/5f26643fc70b05f8455b60b99c30c17d635fa640.1644231910.git.christophe.leroy@csgroup.eu
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Stephen Kitt <steve@sk2.org>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Cc: Kees Cook <keescook@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
include/linux/uaccess.h
mm/usercopy.c