lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Wed, 9 Mar 2022 11:45:56 +0800
From:   kernel test robot <lkp@...el.com>
To:     Huang Pei <huangpei@...ngson.cn>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
        Sasha Levin <sashal@...nel.org>
Subject: [linux-stable-rc:queue/5.15 4120/4370]
 arch/mips/include/asm/asm.h:68:9: warning: 'END' macro redefined

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git queue/5.15
head:   93b383f9f7788c5ac3ebc43f7405e1924037224e
commit: f98371d2ac835f1fa0705978623e051dc1397f20 [4120/4370] MIPS: fix local_{add,sub}_return on MIPS64
config: mips-randconfig-r015-20220308 (https://download.01.org/0day-ci/archive/20220309/202203091113.kxjEu6kW-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 276ca87382b8f16a65bddac700202924228982f6)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install mips cross compiling tool for clang build
        # apt-get install binutils-mips-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=f98371d2ac835f1fa0705978623e051dc1397f20
        git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
        git fetch --no-tags linux-stable-rc queue/5.15
        git checkout f98371d2ac835f1fa0705978623e051dc1397f20
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash drivers/net/slip/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All error/warnings (new ones prefixed by >>):

   In file included from drivers/net/slip/slip.c:91:
   In file included from include/linux/tcp.h:19:
   In file included from include/net/sock.h:53:
   In file included from include/linux/memcontrol.h:22:
   In file included from include/linux/writeback.h:14:
   In file included from include/linux/blk-cgroup.h:23:
   In file included from include/linux/blkdev.h:8:
   In file included from include/linux/genhd.h:20:
   In file included from arch/mips/include/asm/local.h:8:
>> arch/mips/include/asm/asm.h:68:9: warning: 'END' macro redefined [-Wmacro-redefined]
   #define END(function)                                   \
           ^
   drivers/net/slip/slip.h:44:9: note: previous definition is here
   #define END             0300            /* indicates end of frame       */
           ^
>> drivers/net/slip/slip.c:930:11: error: use of undeclared identifier 'END'
           *ptr++ = END;
                    ^
   drivers/net/slip/slip.c:939:8: error: use of undeclared identifier 'END'
                   case END:
                        ^
   drivers/net/slip/slip.c:952:11: error: use of undeclared identifier 'END'
           *ptr++ = END;
                    ^
   drivers/net/slip/slip.c:960:7: error: use of undeclared identifier 'END'
           case END:
                ^
   drivers/net/slip/slip.c:983:8: error: use of undeclared identifier 'END'
                           s = END;
                               ^
   drivers/net/slip/slip.c:1395:22: error: use of undeclared identifier 'END'
                           unsigned char s = END;
                                             ^
   1 warning and 6 errors generated.


vim +/END +68 arch/mips/include/asm/asm.h

894ef530012fb50 arch/mips/include/asm/asm.h Alexander Lobakin 2021-01-10  38  
^1da177e4c3f415 include/asm-mips/asm.h      Linus Torvalds    2005-04-16  39  /*
^1da177e4c3f415 include/asm-mips/asm.h      Linus Torvalds    2005-04-16  40   * LEAF - declare leaf routine
^1da177e4c3f415 include/asm-mips/asm.h      Linus Torvalds    2005-04-16  41   */
^1da177e4c3f415 include/asm-mips/asm.h      Linus Torvalds    2005-04-16  42  #define LEAF(symbol)					\
894ef530012fb50 arch/mips/include/asm/asm.h Alexander Lobakin 2021-01-10  43  		CFI_SECTIONS;				\
^1da177e4c3f415 include/asm-mips/asm.h      Linus Torvalds    2005-04-16  44  		.globl	symbol;				\
^1da177e4c3f415 include/asm-mips/asm.h      Linus Torvalds    2005-04-16  45  		.align	2;				\
^1da177e4c3f415 include/asm-mips/asm.h      Linus Torvalds    2005-04-16  46  		.type	symbol, @function;		\
^1da177e4c3f415 include/asm-mips/asm.h      Linus Torvalds    2005-04-16  47  		.ent	symbol, 0;			\
08889582b8aa0bb arch/mips/include/asm/asm.h Paul Burton       2016-11-07  48  symbol:		.frame	sp, 0, ra;			\
866b6a89c6d1876 arch/mips/include/asm/asm.h Corey Minyard     2017-08-10  49  		.cfi_startproc;				\
08889582b8aa0bb arch/mips/include/asm/asm.h Paul Burton       2016-11-07  50  		.insn
^1da177e4c3f415 include/asm-mips/asm.h      Linus Torvalds    2005-04-16  51  
^1da177e4c3f415 include/asm-mips/asm.h      Linus Torvalds    2005-04-16  52  /*
^1da177e4c3f415 include/asm-mips/asm.h      Linus Torvalds    2005-04-16  53   * NESTED - declare nested routine entry point
^1da177e4c3f415 include/asm-mips/asm.h      Linus Torvalds    2005-04-16  54   */
^1da177e4c3f415 include/asm-mips/asm.h      Linus Torvalds    2005-04-16  55  #define NESTED(symbol, framesize, rpc)			\
894ef530012fb50 arch/mips/include/asm/asm.h Alexander Lobakin 2021-01-10  56  		CFI_SECTIONS;				\
^1da177e4c3f415 include/asm-mips/asm.h      Linus Torvalds    2005-04-16  57  		.globl	symbol;				\
^1da177e4c3f415 include/asm-mips/asm.h      Linus Torvalds    2005-04-16  58  		.align	2;				\
^1da177e4c3f415 include/asm-mips/asm.h      Linus Torvalds    2005-04-16  59  		.type	symbol, @function;		\
^1da177e4c3f415 include/asm-mips/asm.h      Linus Torvalds    2005-04-16  60  		.ent	symbol, 0;			\
08889582b8aa0bb arch/mips/include/asm/asm.h Paul Burton       2016-11-07  61  symbol:		.frame	sp, framesize, rpc;		\
866b6a89c6d1876 arch/mips/include/asm/asm.h Corey Minyard     2017-08-10  62  		.cfi_startproc;				\
08889582b8aa0bb arch/mips/include/asm/asm.h Paul Burton       2016-11-07  63  		.insn
^1da177e4c3f415 include/asm-mips/asm.h      Linus Torvalds    2005-04-16  64  
^1da177e4c3f415 include/asm-mips/asm.h      Linus Torvalds    2005-04-16  65  /*
^1da177e4c3f415 include/asm-mips/asm.h      Linus Torvalds    2005-04-16  66   * END - mark end of function
^1da177e4c3f415 include/asm-mips/asm.h      Linus Torvalds    2005-04-16  67   */
^1da177e4c3f415 include/asm-mips/asm.h      Linus Torvalds    2005-04-16 @68  #define END(function)					\
866b6a89c6d1876 arch/mips/include/asm/asm.h Corey Minyard     2017-08-10  69  		.cfi_endproc;				\
^1da177e4c3f415 include/asm-mips/asm.h      Linus Torvalds    2005-04-16  70  		.end	function;			\
^1da177e4c3f415 include/asm-mips/asm.h      Linus Torvalds    2005-04-16  71  		.size	function, .-function
^1da177e4c3f415 include/asm-mips/asm.h      Linus Torvalds    2005-04-16  72  

:::::: The code at line 68 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@...970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@...970.osdl.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ