All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: arch/sh/math-emu/sfp-util.h:71:9: sparse: this was the original definition
Date: Wed, 17 Nov 2021 18:17:25 +0800	[thread overview]
Message-ID: <202111171810.AH8H8mbZ-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 5640 bytes --]

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Randy Dunlap <rdunlap@infradead.org>
CC: Rich Felker <dalias@libc.org>
CC: Geert Uytterhoeven <geert+renesas@glider.be>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   8ab774587903771821b59471cc723bba6d893942
commit: b929926f01f2d14635345d22eafcf60feed1085e sh: define __BIG_ENDIAN for math-emu
date:   3 weeks ago
:::::: branch date: 2 days ago
:::::: commit date: 3 weeks ago
config: sh-randconfig-s032-20211117 (attached as .config)
compiler: sh4-linux-gcc (GCC) 11.2.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.4-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b929926f01f2d14635345d22eafcf60feed1085e
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout b929926f01f2d14635345d22eafcf60feed1085e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=sh SHELL=/bin/bash arch/sh/math-emu/ drivers/usb/gadget/function/ fs/proc/

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/sh/math-emu/math.c: note: in included file (through include/math-emu/soft-fp.h):
   arch/sh/include/asm/sfp-machine.h:17:9: sparse: sparse: preprocessor token __BYTE_ORDER redefined
   arch/sh/math-emu/math.c: note: in included file:
>> arch/sh/math-emu/sfp-util.h:71:9: sparse: this was the original definition
   arch/sh/math-emu/math.c:54:9: sparse: sparse: preprocessor token WRITE redefined
   arch/sh/math-emu/math.c: note: in included file:
   include/linux/kernel.h:38:9: sparse: this was the original definition
   arch/sh/math-emu/math.c:55:9: sparse: sparse: preprocessor token READ redefined
   include/linux/kernel.h:37:9: sparse: this was the original definition
   arch/sh/math-emu/math.c:122:9: sparse: sparse: asm output is not an lvalue
   arch/sh/math-emu/math.c:122:9: sparse: sparse: asm output is not an lvalue
   arch/sh/math-emu/math.c:122:9: sparse: sparse: asm output is not an lvalue
   arch/sh/math-emu/math.c:122:9: sparse: sparse: asm output is not an lvalue
   arch/sh/math-emu/math.c:122:9: sparse: sparse: asm output is not an lvalue
   arch/sh/math-emu/math.c:122:9: sparse: sparse: asm output is not an lvalue
   arch/sh/math-emu/math.c:122:9: sparse: sparse: asm output is not an lvalue
   arch/sh/math-emu/math.c:122:9: sparse: sparse: asm output is not an lvalue
   arch/sh/math-emu/math.c:122:9: sparse: sparse: asm output is not an lvalue
   arch/sh/math-emu/math.c:122:9: sparse: sparse: asm output is not an lvalue
   arch/sh/math-emu/math.c:129:9: sparse: sparse: asm output is not an lvalue
   arch/sh/math-emu/math.c:129:9: sparse: sparse: asm output is not an lvalue
   arch/sh/math-emu/math.c:129:9: sparse: sparse: asm output is not an lvalue
   arch/sh/math-emu/math.c:129:9: sparse: sparse: asm output is not an lvalue
   arch/sh/math-emu/math.c:145:9: sparse: sparse: asm output is not an lvalue
   arch/sh/math-emu/math.c:145:9: sparse: sparse: asm output is not an lvalue
   arch/sh/math-emu/math.c:492:5: sparse: sparse: symbol 'do_fpu_inst' was not declared. Should it be static?
   arch/sh/math-emu/math.c:122:9: sparse: sparse: generating address of non-lvalue (11)
   arch/sh/math-emu/math.c:122:9: sparse: sparse: generating address of non-lvalue (11)
   arch/sh/math-emu/math.c:122:9: sparse: sparse: generating address of non-lvalue (1)
   arch/sh/math-emu/math.c:122:9: sparse: sparse: generating address of non-lvalue (1)
   arch/sh/math-emu/math.c:122:9: sparse: sparse: generating address of non-lvalue (1)
   arch/sh/math-emu/math.c:122:9: sparse: sparse: generating address of non-lvalue (1)
   arch/sh/math-emu/math.c:122:9: sparse: sparse: generating address of non-lvalue (11)
   arch/sh/math-emu/math.c:122:9: sparse: sparse: generating address of non-lvalue (11)
   arch/sh/math-emu/math.c:122:9: sparse: sparse: generating address of non-lvalue (11)
   arch/sh/math-emu/math.c:122:9: sparse: sparse: generating address of non-lvalue (11)
   arch/sh/math-emu/math.c:129:9: sparse: sparse: generating address of non-lvalue (11)
   arch/sh/math-emu/math.c:129:9: sparse: sparse: generating address of non-lvalue (11)
   arch/sh/math-emu/math.c:129:9: sparse: sparse: generating address of non-lvalue (11)
   arch/sh/math-emu/math.c:129:9: sparse: sparse: generating address of non-lvalue (11)
   arch/sh/math-emu/math.c:145:9: sparse: sparse: generating address of non-lvalue (11)
   arch/sh/math-emu/math.c:145:9: sparse: sparse: generating address of non-lvalue (11)

vim +71 arch/sh/math-emu/sfp-util.h

13da9e200fe474 Linus Torvalds 2010-05-26  70  
13da9e200fe474 Linus Torvalds 2010-05-26 @71  #define __BYTE_ORDER __LITTLE_ENDIAN

:::::: The code at line 71 was first introduced by commit
:::::: 13da9e200fe4740b02cd51e07ab454627e228920 Revert "endian: #define __BYTE_ORDER"

:::::: TO: Linus Torvalds <torvalds@linux-foundation.org>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.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: 27070 bytes --]

             reply	other threads:[~2021-11-17 10:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-17 10:17 kernel test robot [this message]
2021-12-22 19:01 arch/sh/math-emu/sfp-util.h:71:9: sparse: this was the original definition kernel test robot
2022-01-17 19:35 kernel test robot
2022-02-21 16:32 kernel test robot
2022-03-25  1:53 kernel test robot
2022-03-28  9:32 kernel test robot
2022-04-29 11:35 kernel test robot
2022-07-16 12:06 kernel test robot
2022-08-20 19:06 kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202111171810.AH8H8mbZ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.