* [linux-next:master 1547/4407] arch/parisc/math-emu/driver.c:88:17: sparse: sparse: Using plain integer as NULL pointer
@ 2021-07-30 1:40 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-07-30 1:40 UTC (permalink / raw)
To: Chris Down; +Cc: kbuild-all, Linux Memory Management List, Petr Mladek
[-- Attachment #1: Type: text/plain, Size: 4207 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 4ccc9e2db7ac33f450a1ff6ce158a71e5a81ded9
commit: 337015573718b161891a3473d25f59273f2e626b [1547/4407] printk: Userspace format indexing support
config: parisc-allyesconfig (attached as .config)
compiler: hppa-linux-gcc (GCC) 10.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=337015573718b161891a3473d25f59273f2e626b
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 337015573718b161891a3473d25f59273f2e626b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=parisc SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> arch/parisc/math-emu/driver.c:88:17: sparse: sparse: Using plain integer as NULL pointer
>> arch/parisc/math-emu/driver.c:88:17: sparse: sparse: Using plain integer as NULL pointer
>> arch/parisc/math-emu/driver.c:88:17: sparse: sparse: Using plain integer as NULL pointer
arch/parisc/math-emu/driver.c:90:17: sparse: sparse: Using plain integer as NULL pointer
arch/parisc/math-emu/driver.c:90:17: sparse: sparse: Using plain integer as NULL pointer
arch/parisc/math-emu/driver.c:90:17: sparse: sparse: Using plain integer as NULL pointer
arch/parisc/math-emu/driver.c:93:22: sparse: sparse: undefined identifier 'decode_fpu'
vim +88 arch/parisc/math-emu/driver.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 64
^1da177e4c3f41 Linus Torvalds 2005-04-16 65 /* Handle a floating point exception. Return zero if the faulting
^1da177e4c3f41 Linus Torvalds 2005-04-16 66 instruction can be completed successfully. */
^1da177e4c3f41 Linus Torvalds 2005-04-16 67 int
^1da177e4c3f41 Linus Torvalds 2005-04-16 68 handle_fpe(struct pt_regs *regs)
^1da177e4c3f41 Linus Torvalds 2005-04-16 69 {
^1da177e4c3f41 Linus Torvalds 2005-04-16 70 extern void printbinary(unsigned long x, int nbits);
^1da177e4c3f41 Linus Torvalds 2005-04-16 71 unsigned int orig_sw, sw;
^1da177e4c3f41 Linus Torvalds 2005-04-16 72 int signalcode;
^1da177e4c3f41 Linus Torvalds 2005-04-16 73 /* need an intermediate copy of float regs because FPU emulation
^1da177e4c3f41 Linus Torvalds 2005-04-16 74 * code expects an artificial last entry which contains zero
^1da177e4c3f41 Linus Torvalds 2005-04-16 75 *
^1da177e4c3f41 Linus Torvalds 2005-04-16 76 * also, the passed in fr registers contain one word that defines
^1da177e4c3f41 Linus Torvalds 2005-04-16 77 * the fpu type. the fpu type information is constructed
^1da177e4c3f41 Linus Torvalds 2005-04-16 78 * inside the emulation code
^1da177e4c3f41 Linus Torvalds 2005-04-16 79 */
^1da177e4c3f41 Linus Torvalds 2005-04-16 80 __u64 frcopy[36];
^1da177e4c3f41 Linus Torvalds 2005-04-16 81
^1da177e4c3f41 Linus Torvalds 2005-04-16 82 memcpy(frcopy, regs->fr, sizeof regs->fr);
^1da177e4c3f41 Linus Torvalds 2005-04-16 83 frcopy[32] = 0;
^1da177e4c3f41 Linus Torvalds 2005-04-16 84
^1da177e4c3f41 Linus Torvalds 2005-04-16 85 memcpy(&orig_sw, frcopy, sizeof(orig_sw));
^1da177e4c3f41 Linus Torvalds 2005-04-16 86
^1da177e4c3f41 Linus Torvalds 2005-04-16 87 if (FPUDEBUG) {
^1da177e4c3f41 Linus Torvalds 2005-04-16 @88 printk(KERN_DEBUG "FP VZOUICxxxxCQCQCQCQCQCRMxxTDVZOUI ->\n ");
:::::: The code at line 88 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 68569 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [linux-next:master 1547/4407] arch/parisc/math-emu/driver.c:88:17: sparse: sparse: Using plain integer as NULL pointer
@ 2021-07-30 1:40 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-07-30 1:40 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 4276 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 4ccc9e2db7ac33f450a1ff6ce158a71e5a81ded9
commit: 337015573718b161891a3473d25f59273f2e626b [1547/4407] printk: Userspace format indexing support
config: parisc-allyesconfig (attached as .config)
compiler: hppa-linux-gcc (GCC) 10.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=337015573718b161891a3473d25f59273f2e626b
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 337015573718b161891a3473d25f59273f2e626b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=parisc SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> arch/parisc/math-emu/driver.c:88:17: sparse: sparse: Using plain integer as NULL pointer
>> arch/parisc/math-emu/driver.c:88:17: sparse: sparse: Using plain integer as NULL pointer
>> arch/parisc/math-emu/driver.c:88:17: sparse: sparse: Using plain integer as NULL pointer
arch/parisc/math-emu/driver.c:90:17: sparse: sparse: Using plain integer as NULL pointer
arch/parisc/math-emu/driver.c:90:17: sparse: sparse: Using plain integer as NULL pointer
arch/parisc/math-emu/driver.c:90:17: sparse: sparse: Using plain integer as NULL pointer
arch/parisc/math-emu/driver.c:93:22: sparse: sparse: undefined identifier 'decode_fpu'
vim +88 arch/parisc/math-emu/driver.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 64
^1da177e4c3f41 Linus Torvalds 2005-04-16 65 /* Handle a floating point exception. Return zero if the faulting
^1da177e4c3f41 Linus Torvalds 2005-04-16 66 instruction can be completed successfully. */
^1da177e4c3f41 Linus Torvalds 2005-04-16 67 int
^1da177e4c3f41 Linus Torvalds 2005-04-16 68 handle_fpe(struct pt_regs *regs)
^1da177e4c3f41 Linus Torvalds 2005-04-16 69 {
^1da177e4c3f41 Linus Torvalds 2005-04-16 70 extern void printbinary(unsigned long x, int nbits);
^1da177e4c3f41 Linus Torvalds 2005-04-16 71 unsigned int orig_sw, sw;
^1da177e4c3f41 Linus Torvalds 2005-04-16 72 int signalcode;
^1da177e4c3f41 Linus Torvalds 2005-04-16 73 /* need an intermediate copy of float regs because FPU emulation
^1da177e4c3f41 Linus Torvalds 2005-04-16 74 * code expects an artificial last entry which contains zero
^1da177e4c3f41 Linus Torvalds 2005-04-16 75 *
^1da177e4c3f41 Linus Torvalds 2005-04-16 76 * also, the passed in fr registers contain one word that defines
^1da177e4c3f41 Linus Torvalds 2005-04-16 77 * the fpu type. the fpu type information is constructed
^1da177e4c3f41 Linus Torvalds 2005-04-16 78 * inside the emulation code
^1da177e4c3f41 Linus Torvalds 2005-04-16 79 */
^1da177e4c3f41 Linus Torvalds 2005-04-16 80 __u64 frcopy[36];
^1da177e4c3f41 Linus Torvalds 2005-04-16 81
^1da177e4c3f41 Linus Torvalds 2005-04-16 82 memcpy(frcopy, regs->fr, sizeof regs->fr);
^1da177e4c3f41 Linus Torvalds 2005-04-16 83 frcopy[32] = 0;
^1da177e4c3f41 Linus Torvalds 2005-04-16 84
^1da177e4c3f41 Linus Torvalds 2005-04-16 85 memcpy(&orig_sw, frcopy, sizeof(orig_sw));
^1da177e4c3f41 Linus Torvalds 2005-04-16 86
^1da177e4c3f41 Linus Torvalds 2005-04-16 87 if (FPUDEBUG) {
^1da177e4c3f41 Linus Torvalds 2005-04-16 @88 printk(KERN_DEBUG "FP VZOUICxxxxCQCQCQCQCQCRMxxTDVZOUI ->\n ");
:::::: The code at line 88 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 68569 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-30 1:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-30 1:40 [linux-next:master 1547/4407] arch/parisc/math-emu/driver.c:88:17: sparse: sparse: Using plain integer as NULL pointer kernel test robot
2021-07-30 1:40 ` kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.