Re: R: [PATCH] arm64: fix missing include in asm uaccess.h

2020-11-12 Thread Al Viro
On Thu, Nov 12, 2020 at 04:48:09PM -0800, Andrew Morton wrote: > [v...@zeniv.linux.org.uk: use linux/uaccess.h] > Link: https://lkml.kernel.org/r/2020005826.gy3576...@zeniv.linux.org.uk > Link: https://lkml.kernel.org/r/2020004440.8783-1-ansuels...@gmail.com > Fixes: df325e05a682

Re: R: [PATCH] arm64: fix missing include in asm uaccess.h

2020-11-12 Thread Andrew Morton
On Wed, 11 Nov 2020 02:19:48 +0100 wrote: > > ok ? */ > > include/linux/uaccess.h:11:#include > > > > The last one is the only such include that should exist; drivers/s390 one > > is obviously a false positive. And IMO the right thing to do is to > > replace the remaining arch/* instances

R: [PATCH] arm64: fix missing include in asm uaccess.h

2020-11-10 Thread ansuelsmth
> On Wed, Nov 11, 2020 at 12:58:26AM +, Al Viro wrote: > > On Wed, Nov 11, 2020 at 01:44:38AM +0100, Ansuel Smith wrote: > > > Fix a compilation error as PF_KTHREAD is defined in linux/sched.h and > > > this is missing. > > > > > > Fixes: df325e05a682 ("arm64: Validate tagged addresses in

Re: [PATCH] arm64: fix missing include in asm uaccess.h

2020-11-10 Thread Al Viro
On Wed, Nov 11, 2020 at 12:58:26AM +, Al Viro wrote: > On Wed, Nov 11, 2020 at 01:44:38AM +0100, Ansuel Smith wrote: > > Fix a compilation error as PF_KTHREAD is defined in linux/sched.h and > > this is missing. > > > > Fixes: df325e05a682 ("arm64: Validate tagged addresses in access_ok() > >

Re: [PATCH] arm64: fix missing include in asm uaccess.h

2020-11-10 Thread Al Viro
On Wed, Nov 11, 2020 at 01:44:38AM +0100, Ansuel Smith wrote: > Fix a compilation error as PF_KTHREAD is defined in linux/sched.h and > this is missing. > > Fixes: df325e05a682 ("arm64: Validate tagged addresses in access_ok() > called from kernel threads") > Signed-off-by: Ansuel Smith > --- >

[PATCH] arm64: fix missing include in asm uaccess.h

2020-11-10 Thread Ansuel Smith
Fix a compilation error as PF_KTHREAD is defined in linux/sched.h and this is missing. Fixes: df325e05a682 ("arm64: Validate tagged addresses in access_ok() called from kernel threads") Signed-off-by: Ansuel Smith --- arch/arm64/include/asm/uaccess.h | 2 ++ 1 file changed, 2 insertions(+)