On Tue, Sep 08, 2020 at 11:26:47PM +1000, Greg Ungerer wrote:
Some of the m68knommu user access functions are not using the __user annotation where required. Specifically __clear_user(), strnlen_user() and strncpy_from_user() need their user space source address annoted with __user.
You'll also need __force annotations to that sparse doesn't complain inside the function. Btw, it might be worth to just use the helpers from asm-generic/uaccess.h as they should work for m68knommu.