Re: [PATCH] m68knommu: add missing __user annotations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux