linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [liu-song6-linux:uprobe-thp 138/185] fs/ocfs2/dlm/dlmcommon.h:709:0: warning: "BITS_TO_BYTES" redefined
@ 2019-05-29  1:26 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-05-29  1:26 UTC (permalink / raw)
  To: Yury Norov
  Cc: kbuild-all, Johannes Weiner, Andy Shevchenko, Andrew Morton,
	Linux Memory Management List

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

tree:   https://github.com/liu-song-6/linux.git uprobe-thp
head:   757cb898eb3096f4ed9487b503748d6e3a4d3332
commit: fda08ae863e2fe70adced116d0d7f2ab3b75f219 [138/185] bitops: more BITS_TO_* macros
config: x86_64-lkp (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout fda08ae863e2fe70adced116d0d7f2ab3b75f219
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   In file included from fs/ocfs2/dlm/dlmdomain.c:43:0:
>> fs/ocfs2/dlm/dlmcommon.h:709:0: warning: "BITS_TO_BYTES" redefined
    #define BITS_TO_BYTES(bits) (((bits)+BITS_PER_BYTE-1)/BITS_PER_BYTE)
    
   In file included from include/linux/kernel.h:12:0,
                    from include/linux/list.h:9,
                    from include/linux/module.h:9,
                    from fs/ocfs2/dlm/dlmdomain.c:27:
   include/linux/bitops.h:11:0: note: this is the location of the previous definition
    #define BITS_TO_BYTES(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(char))
    

vim +/BITS_TO_BYTES +709 fs/ocfs2/dlm/dlmcommon.h

6714d8e8 Kurt Hackel   2005-12-15  706  
6714d8e8 Kurt Hackel   2005-12-15  707  
1faf2894 Srinivas Eeda 2007-01-29  708  #define BITS_PER_BYTE 8
1faf2894 Srinivas Eeda 2007-01-29 @709  #define BITS_TO_BYTES(bits) (((bits)+BITS_PER_BYTE-1)/BITS_PER_BYTE)
1faf2894 Srinivas Eeda 2007-01-29  710  

:::::: The code at line 709 was first introduced by commit
:::::: 1faf289454b9eeb6e463da3eee47f7009668370d ocfs2_dlm: disallow a domain join if node maps mismatch

:::::: TO: Srinivas Eeda <srinivas.eeda@oracle.com>
:::::: CC: Mark Fasheh <mark.fasheh@oracle.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 27497 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-05-29  1:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-29  1:26 [liu-song6-linux:uprobe-thp 138/185] fs/ocfs2/dlm/dlmcommon.h:709:0: warning: "BITS_TO_BYTES" redefined kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).