Re: [PATCH] f2fs: fix 32-bit linking
From: Christoph Hellwig
Date: Fri Jun 28 2019 - 09:17:48 EST
On Fri, Jun 28, 2019 at 03:09:47PM +0200, Arnd Bergmann wrote:
> I came across this on arm-nommu (which disables
> CONFIG_CPU_SPECTRE) during randconfig testing.
>
> I don't see an easy way to add this in there, short of rewriting the
> whole __get_user_err() function. Any suggestions?
Can't we just fall back to using copy_from_user with a little wrapper
that switches based on sizeof()?