[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMo8BfJrxt2_Zr4w2=ebfEhsXeZbJ0yUb+i57ELSjnZd=7383g@mail.gmail.com>
Date: Fri, 22 May 2020 15:35:34 -0700
From: Max Filippov <jcmvbkbc@...il.com>
To: Al Viro <viro@...iv.linux.org.uk>
Cc: "open list:TENSILICA XTENSA PORT (xtensa)"
<linux-xtensa@...ux-xtensa.org>, Chris Zankel <chris@...kel.net>,
Arnd Bergmann <arnd@...db.de>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 0/3] xtensa: clean up __user annotations in asm/uaccess.h
On Fri, May 22, 2020 at 2:58 PM Al Viro <viro@...iv.linux.org.uk> wrote:
>
> On Fri, May 22, 2020 at 02:41:50PM -0700, Max Filippov wrote:
> Useful test:
>
> void __user *f(void __user * __user *p)
> {
> void __user *q;
> (void)get_user(q, p);
> return q;
> }
I think this change passes this test, i.e. originally reported warning
does not show up.
There's other kind of warning that it triggers: 'Using plain integer
as NULL pointer',
I'll post an updated version that fixes that as well.
--
Thanks.
-- Max
Powered by blists - more mailing lists