Users of usercopy_warn() were removed by commit 53944f171a89 ("mm: remove HARDENED_USERCOPY_FALLBACK") Remove it.
Showing the changes to include (1 of 2 files). Show all
Unified · Split
| @@ -401,8 +401,6 @@ static inline void user_access_restore(unsigned long flags) { } · 400 unmodified lines | |||
| 401 | #endif | 401 | #endif |
| 402 | 402 | ||
| 403 | #ifdef CONFIG_HARDENED_USERCOPY | 403 | #ifdef CONFIG_HARDENED_USERCOPY |
| 404 | void usercopy_warn(const char *name, const char *detail, bool to_user, | ||
| 405 | unsigned long offset, unsigned long len); | ||
| 406 | void __noreturn usercopy_abort(const char *name, const char *detail, | 404 | void __noreturn usercopy_abort(const char *name, const char *detail, |
| 407 | bool to_user, unsigned long offset, | 405 | bool to_user, unsigned long offset, |
| 408 | unsigned long len); | 406 | unsigned long len); |