[PATCH v3] RFC: riscv: evaluate put_user() arg before enabling user access

Ben Dooks ben.dooks at codethink.co.uk
Sun Mar 28 23:13:10 BST 2021


On 25/03/2021 23:03, Ben Dooks wrote:
> The <asm/uaccess.h> header has a problem with put_user(a, ptr) if
> the 'a' is not a simple variable, such as a function. This can lead
> to the compiler producing code as so:

I just noticed I failed to remove the "RFC" from the patch title.
Should I re-send with this removed to allow easy merge?

-- 
Ben Dooks				http://www.codethink.co.uk/
Senior Engineer				Codethink - Providing Genius

https://www.codethink.co.uk/privacy.html



More information about the linux-riscv mailing list