On Mon, 15 Mar 2021 12:00:09 +0000 (UTC), Christophe Leroy wrote:
> Sparse reports the following problems:
> 
> arch/powerpc/math-emu/math.c:228:21: warning: Using plain integer as NULL 
> pointer
> arch/powerpc/math-emu/math.c:228:31: warning: Using plain integer as NULL 
> pointer
> arch/powerpc/math-emu/math.c:228:41: warning: Using plain integer as NULL 
> pointer
> arch/powerpc/math-emu/math.c:228:51: warning: Using plain integer as NULL 
> pointer
> arch/powerpc/math-emu/math.c:237:13: warning: incorrect type in initializer 
> (different address spaces)
> arch/powerpc/math-emu/math.c:237:13:    expected unsigned int [noderef] 
> __user *_gu_addr
> arch/powerpc/math-emu/math.c:237:13:    got unsigned int [usertype] *
> arch/powerpc/math-emu/math.c:226:1: warning: symbol 'do_mathemu' was not 
> declared. Should it be static?
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/math: Fix missing __user qualifier for get_user() and other 
sparse warnings
      https://git.kernel.org/powerpc/c/e448e1e774dc0ca307c17e961daf7ede2e635c57

cheers

Reply via email to