Re: [PATCH 0/3] xtensa: clean up __user annotations in asm/uaccess.h

From: Al Viro
Date: Fri May 22 2020 - 17:58:24 EST


On Fri, May 22, 2020 at 02:41:50PM -0700, Max Filippov wrote:
> Hello,
>
> this series adds missing __user annotations to functions in
> asm/uaccess.h. It fixes a bunch of sparse warnings for otherwise correct
> code.
>
> Max Filippov (3):
> xtensa: add missing __user annotations to __{get,put}_user_check
> xtensa: fix type conversion in __get_user_size
> xtensa: add missing __user annotations to asm/uaccess.h

Useful test:

void __user *f(void __user * __user *p)
{
void __user *q;
(void)get_user(q, p);
return q;
}