mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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? Add missing __user qualifier when casting pointer used in get_user() Use NULL instead of 0 to initialise opX local variables. Add a prototype for do_mathemu() (Added in processor.h like sparc) Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/e4d1aae7604d89c98a52dfd8ce8443462e595670.1615809591.git.christophe.leroy@csgroup.eu |
||
|---|---|---|
| .. | ||
| fabs.c | ||
| fadd.c | ||
| fadds.c | ||
| fcmpo.c | ||
| fcmpu.c | ||
| fctiw.c | ||
| fctiwz.c | ||
| fdiv.c | ||
| fdivs.c | ||
| fmadd.c | ||
| fmadds.c | ||
| fmr.c | ||
| fmsub.c | ||
| fmsubs.c | ||
| fmul.c | ||
| fmuls.c | ||
| fnabs.c | ||
| fneg.c | ||
| fnmadd.c | ||
| fnmadds.c | ||
| fnmsub.c | ||
| fnmsubs.c | ||
| fre.c | ||
| fres.c | ||
| frsp.c | ||
| frsqrte.c | ||
| frsqrtes.c | ||
| fsel.c | ||
| fsqrt.c | ||
| fsqrts.c | ||
| fsub.c | ||
| fsubs.c | ||
| lfd.c | ||
| lfs.c | ||
| Makefile | ||
| math_efp.c | ||
| math.c | ||
| mcrfs.c | ||
| mffs.c | ||
| mtfsb0.c | ||
| mtfsb1.c | ||
| mtfsf.c | ||
| mtfsfi.c | ||
| stfd.c | ||
| stfiwx.c | ||
| stfs.c | ||
| udivmodti4.c | ||