[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <754abc70-d539-296a-8993-3a66656e44b1@infradead.org>
Date: Fri, 8 Oct 2021 12:46:53 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: Rob Landley <rob@...dley.net>, linux-kernel@...r.kernel.org
Cc: Yoshinori Sato <ysato@...rs.sourceforge.jp>,
Rich Felker <dalias@...c.org>, linux-sh@...r.kernel.org,
John Paul Adrian Glaubitz <glaubitz@...sik.fu-berlin.de>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Takashi YOSHII <takasi-y@....dti.ne.jp>
Subject: Re: [PATCH 5/5 v3] sh: fix READ/WRITE redefinition warnings
On 10/8/21 11:39 AM, Rob Landley wrote:
> On 10/4/21 7:19 PM, Randy Dunlap wrote:
>> kernel.h defines READ and WRITE, so rename the SH math-emu macros
>> to MREAD and MWRITE.
>
> This one doesn't apply for me. My file has:
>
> #define WRITE(d,a) ({if(put_user(d, (typeof (d)*)a)) return -EFAULT;})
>
> But your patch tries to remove:
>
> -#define WRITE(d,a) ({if(put_user(d, (typeof (d) __user *)a)) return -EFAULT;})
>
> Which is odd because git log says my tree is current as of today, but git log on
> this file says it was last updated:
>
> commit 2e1661d2673667d886cd40ad9f414cb6db48d8da
> Author: Eric W. Biederman <ebiederm@...ssion.com>
> Date: Thu May 23 11:04:24 2019 -0500
>
> What did I miss?
Hi Rob,
I am making patches to linux-next, which contains this:
commit ca42bc4b7bda
Author: Al Viro <viro@...iv.linux.org.uk>
Date: Thu Dec 31 23:23:01 2020 +0000
sh: fix trivial misannotations
which adds the __user annotations...
--
~Randy
Powered by blists - more mailing lists