[1/3] powerpc/sparse: constify the address pointer in __get_user_check

Michael Ellerman patch-notifications at ellerman.id.au
Thu Feb 2 22:45:13 AEDT 2017


On Mon, 2017-01-30 at 06:41:53 UTC, Daniel Axtens wrote:
> In __get_user_check, we create an intermediate pointer for the
> user address we're about to fetch. We currently don't tag this
> pointer as const. Make it const, as we are simply dereferencing
> it, and it's scope is limited to the __get_user_check macro.
> 
> Signed-off-by: Daniel Axtens <dja at axtens.net>

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/f84ed59a612d866cde0bd17ad2a52a

cheers


More information about the Linuxppc-dev mailing list