Re: [PATCH] MIPS: fix local_t operation on MIPS64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Huang,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on v5.14 next-20210903]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Huang-Pei/MIPS-fix-local_t-operation-on-MIPS64/20210904-231410
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git f1583cb1be35c23df60b1c39e3e7e6704d749d0b
config: mips-randconfig-r033-20210904 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 6fe2beba7d2a41964af658c8c59dd172683ef739)
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://github.com/0day-ci/linux/commit/4a1c6e12f6f078dfc5351925656b237f7e5fbb50
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Huang-Pei/MIPS-fix-local_t-operation-on-MIPS64/20210904-231410
        git checkout 4a1c6e12f6f078dfc5351925656b237f7e5fbb50
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips 

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

All warnings (new ones prefixed by >>):

>> drivers/net/hamradio/mkiss.c:35:9: warning: 'END' macro redefined [-Wmacro-redefined]
   #define END             0300            /* indicates end of frame       */
           ^
   arch/mips/include/asm/asm.h:68:9: note: previous definition is here
   #define END(function)                                   \
           ^
   1 warning generated.


vim +/END +35 drivers/net/hamradio/mkiss.c

815f62bf742718 Ralf Baechle 2005-08-24  33  
815f62bf742718 Ralf Baechle 2005-08-24  34  /* SLIP/KISS protocol characters. */
815f62bf742718 Ralf Baechle 2005-08-24 @35  #define END             0300		/* indicates end of frame	*/
815f62bf742718 Ralf Baechle 2005-08-24  36  #define ESC             0333		/* indicates byte stuffing	*/
815f62bf742718 Ralf Baechle 2005-08-24  37  #define ESC_END         0334		/* ESC ESC_END means END 'data'	*/
815f62bf742718 Ralf Baechle 2005-08-24  38  #define ESC_ESC         0335		/* ESC ESC_ESC means ESC 'data'	*/
815f62bf742718 Ralf Baechle 2005-08-24  39  

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux