Re: [1/3] powerpc/sparse: constify the address pointer in __get_user_check
From: Michael Ellerman <hidden>
Date: 2017-02-02 11:45:14
From: Michael Ellerman <hidden>
Date: 2017-02-02 11:45:14
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 <redacted>
Series applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/f84ed59a612d866cde0bd17ad2a52a cheers