linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
@ 2016-11-20  5:42 kbuild test robot
  0 siblings, 0 replies; 20+ messages in thread
From: kbuild test robot @ 2016-11-20  5:42 UTC (permalink / raw)
  To: Dave Chinner; +Cc: kbuild-all, linux-kernel

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

Hi Dave,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   77079b133f242d3e3710c9b89ed54458307e54ff
commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next
date:   9 months ago
config: openrisc-allyesconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout ab9d1e4f7b0217948a3b35a64178602ab30ff45d
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   In file included from fs/xfs/xfs_super.c:48:0:
   In function 'xfs_check_ondisk_structs',
       inlined from 'init_xfs_fs' at fs/xfs/xfs_super.c:1862:26:
   fs/xfs/xfs_ondisk.h:86:2: error: call to '__compiletime_assert_86' declared with attribute error: XFS: sizeof(xfs_dir2_data_unused_t) is wrong, expected 6
>> fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
   fs/xfs/xfs_ondisk.h:97:2: error: call to '__compiletime_assert_97' declared with attribute error: XFS: sizeof(xfs_dir2_sf_hdr_t) is wrong, expected 10

vim +/__compiletime_assert_96 +96 fs/xfs/xfs_ondisk.h

30cbc591 Darrick J. Wong 2016-03-09  80  	XFS_CHECK_STRUCT_SIZE(xfs_da_blkinfo_t,			12);
30cbc591 Darrick J. Wong 2016-03-09  81  	XFS_CHECK_STRUCT_SIZE(xfs_da_intnode_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  82  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  83  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  84  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_free_t,		4);
30cbc591 Darrick J. Wong 2016-03-09  85  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09 @86  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_unused_t,		6);
30cbc591 Darrick J. Wong 2016-03-09  87  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  88  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  89  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino4_t,			4);
30cbc591 Darrick J. Wong 2016-03-09  90  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino8_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  91  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_inou_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  92  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  93  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  94  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  95  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_tail_t,		4);
30cbc591 Darrick J. Wong 2016-03-09 @96  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_entry_t,		3);
30cbc591 Darrick J. Wong 2016-03-09  97  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_hdr_t,		10);
30cbc591 Darrick J. Wong 2016-03-09  98  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_off_t,		2);
30cbc591 Darrick J. Wong 2016-03-09  99  

:::::: The code at line 96 was first introduced by commit
:::::: 30cbc591c34e680e8b5d6d675ea49effe42a0570 xfs: check sizes of XFS on-disk structures at compile time

:::::: TO: Darrick J. Wong <darrick.wong@oracle.com>
:::::: CC: Dave Chinner <david@fromorbit.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: 36922 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
@ 2017-02-12 12:00 kbuild test robot
  0 siblings, 0 replies; 20+ messages in thread
From: kbuild test robot @ 2017-02-12 12:00 UTC (permalink / raw)
  To: Dave Chinner; +Cc: kbuild-all, linux-kernel

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

Hi Dave,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   1ce42845f987e92eabfc6e026d44d826c25c74a5
commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next
date:   11 months ago
config: openrisc-allyesconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout ab9d1e4f7b0217948a3b35a64178602ab30ff45d
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   In file included from fs/xfs/xfs_super.c:48:0:
   In function 'xfs_check_ondisk_structs',
       inlined from 'init_xfs_fs' at fs/xfs/xfs_super.c:1862:26:
   fs/xfs/xfs_ondisk.h:86:2: error: call to '__compiletime_assert_86' declared with attribute error: XFS: sizeof(xfs_dir2_data_unused_t) is wrong, expected 6
>> fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
   fs/xfs/xfs_ondisk.h:97:2: error: call to '__compiletime_assert_97' declared with attribute error: XFS: sizeof(xfs_dir2_sf_hdr_t) is wrong, expected 10

vim +/__compiletime_assert_96 +96 fs/xfs/xfs_ondisk.h

30cbc591 Darrick J. Wong 2016-03-09  80  	XFS_CHECK_STRUCT_SIZE(xfs_da_blkinfo_t,			12);
30cbc591 Darrick J. Wong 2016-03-09  81  	XFS_CHECK_STRUCT_SIZE(xfs_da_intnode_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  82  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  83  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  84  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_free_t,		4);
30cbc591 Darrick J. Wong 2016-03-09  85  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09 @86  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_unused_t,		6);
30cbc591 Darrick J. Wong 2016-03-09  87  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  88  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  89  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino4_t,			4);
30cbc591 Darrick J. Wong 2016-03-09  90  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino8_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  91  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_inou_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  92  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  93  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  94  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  95  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_tail_t,		4);
30cbc591 Darrick J. Wong 2016-03-09 @96  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_entry_t,		3);
30cbc591 Darrick J. Wong 2016-03-09  97  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_hdr_t,		10);
30cbc591 Darrick J. Wong 2016-03-09  98  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_off_t,		2);
30cbc591 Darrick J. Wong 2016-03-09  99  

:::::: The code at line 96 was first introduced by commit
:::::: 30cbc591c34e680e8b5d6d675ea49effe42a0570 xfs: check sizes of XFS on-disk structures at compile time

:::::: TO: Darrick J. Wong <darrick.wong@oracle.com>
:::::: CC: Dave Chinner <david@fromorbit.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: 36926 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
@ 2017-02-05 11:54 kbuild test robot
  0 siblings, 0 replies; 20+ messages in thread
From: kbuild test robot @ 2017-02-05 11:54 UTC (permalink / raw)
  To: Dave Chinner; +Cc: kbuild-all, linux-kernel

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

Hi Dave,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   a572a1b999489efb591287632279c6c9eca3e4ed
commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next
date:   11 months ago
config: openrisc-allmodconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout ab9d1e4f7b0217948a3b35a64178602ab30ff45d
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   In file included from fs/xfs/xfs_super.c:48:0:
   In function 'xfs_check_ondisk_structs',
       inlined from 'init_xfs_fs' at fs/xfs/xfs_super.c:1862:26:
   fs/xfs/xfs_ondisk.h:86:2: error: call to '__compiletime_assert_86' declared with attribute error: XFS: sizeof(xfs_dir2_data_unused_t) is wrong, expected 6
>> fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
   fs/xfs/xfs_ondisk.h:97:2: error: call to '__compiletime_assert_97' declared with attribute error: XFS: sizeof(xfs_dir2_sf_hdr_t) is wrong, expected 10

vim +/__compiletime_assert_96 +96 fs/xfs/xfs_ondisk.h

30cbc591 Darrick J. Wong 2016-03-09  80  	XFS_CHECK_STRUCT_SIZE(xfs_da_blkinfo_t,			12);
30cbc591 Darrick J. Wong 2016-03-09  81  	XFS_CHECK_STRUCT_SIZE(xfs_da_intnode_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  82  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  83  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  84  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_free_t,		4);
30cbc591 Darrick J. Wong 2016-03-09  85  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09 @86  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_unused_t,		6);
30cbc591 Darrick J. Wong 2016-03-09  87  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  88  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  89  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino4_t,			4);
30cbc591 Darrick J. Wong 2016-03-09  90  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino8_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  91  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_inou_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  92  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  93  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  94  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  95  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_tail_t,		4);
30cbc591 Darrick J. Wong 2016-03-09 @96  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_entry_t,		3);
30cbc591 Darrick J. Wong 2016-03-09  97  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_hdr_t,		10);
30cbc591 Darrick J. Wong 2016-03-09  98  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_off_t,		2);
30cbc591 Darrick J. Wong 2016-03-09  99  

:::::: The code at line 96 was first introduced by commit
:::::: 30cbc591c34e680e8b5d6d675ea49effe42a0570 xfs: check sizes of XFS on-disk structures at compile time

:::::: TO: Darrick J. Wong <darrick.wong@oracle.com>
:::::: CC: Dave Chinner <david@fromorbit.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: 36614 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
@ 2017-01-22 11:10 kbuild test robot
  0 siblings, 0 replies; 20+ messages in thread
From: kbuild test robot @ 2017-01-22 11:10 UTC (permalink / raw)
  To: Dave Chinner; +Cc: kbuild-all, linux-kernel

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

Hi Dave,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   c497f8d17246720afe680ea1a8fa6e48e75af852
commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next
date:   11 months ago
config: openrisc-allyesconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout ab9d1e4f7b0217948a3b35a64178602ab30ff45d
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   In file included from fs/xfs/xfs_super.c:48:0:
   In function 'xfs_check_ondisk_structs',
       inlined from 'init_xfs_fs' at fs/xfs/xfs_super.c:1862:26:
   fs/xfs/xfs_ondisk.h:86:2: error: call to '__compiletime_assert_86' declared with attribute error: XFS: sizeof(xfs_dir2_data_unused_t) is wrong, expected 6
>> fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
   fs/xfs/xfs_ondisk.h:97:2: error: call to '__compiletime_assert_97' declared with attribute error: XFS: sizeof(xfs_dir2_sf_hdr_t) is wrong, expected 10

vim +/__compiletime_assert_96 +96 fs/xfs/xfs_ondisk.h

30cbc591 Darrick J. Wong 2016-03-09  80  	XFS_CHECK_STRUCT_SIZE(xfs_da_blkinfo_t,			12);
30cbc591 Darrick J. Wong 2016-03-09  81  	XFS_CHECK_STRUCT_SIZE(xfs_da_intnode_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  82  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  83  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  84  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_free_t,		4);
30cbc591 Darrick J. Wong 2016-03-09  85  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09 @86  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_unused_t,		6);
30cbc591 Darrick J. Wong 2016-03-09  87  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  88  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  89  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino4_t,			4);
30cbc591 Darrick J. Wong 2016-03-09  90  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino8_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  91  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_inou_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  92  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  93  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  94  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  95  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_tail_t,		4);
30cbc591 Darrick J. Wong 2016-03-09 @96  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_entry_t,		3);
30cbc591 Darrick J. Wong 2016-03-09  97  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_hdr_t,		10);
30cbc591 Darrick J. Wong 2016-03-09  98  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_off_t,		2);
30cbc591 Darrick J. Wong 2016-03-09  99  

:::::: The code at line 96 was first introduced by commit
:::::: 30cbc591c34e680e8b5d6d675ea49effe42a0570 xfs: check sizes of XFS on-disk structures at compile time

:::::: TO: Darrick J. Wong <darrick.wong@oracle.com>
:::::: CC: Dave Chinner <david@fromorbit.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: 36930 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
@ 2017-01-01  0:35 kbuild test robot
  0 siblings, 0 replies; 20+ messages in thread
From: kbuild test robot @ 2017-01-01  0:35 UTC (permalink / raw)
  To: Dave Chinner; +Cc: kbuild-all, linux-kernel

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

Hi Dave,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   238d1d0f79f619d75c2cc741d6770fb0986aef24
commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next
date:   10 months ago
config: openrisc-allmodconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout ab9d1e4f7b0217948a3b35a64178602ab30ff45d
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   In file included from fs/xfs/xfs_super.c:48:0:
   In function 'xfs_check_ondisk_structs',
       inlined from 'init_xfs_fs' at fs/xfs/xfs_super.c:1862:26:
   fs/xfs/xfs_ondisk.h:86:2: error: call to '__compiletime_assert_86' declared with attribute error: XFS: sizeof(xfs_dir2_data_unused_t) is wrong, expected 6
>> fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
   fs/xfs/xfs_ondisk.h:97:2: error: call to '__compiletime_assert_97' declared with attribute error: XFS: sizeof(xfs_dir2_sf_hdr_t) is wrong, expected 10

vim +/__compiletime_assert_96 +96 fs/xfs/xfs_ondisk.h

30cbc591 Darrick J. Wong 2016-03-09  80  	XFS_CHECK_STRUCT_SIZE(xfs_da_blkinfo_t,			12);
30cbc591 Darrick J. Wong 2016-03-09  81  	XFS_CHECK_STRUCT_SIZE(xfs_da_intnode_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  82  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  83  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  84  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_free_t,		4);
30cbc591 Darrick J. Wong 2016-03-09  85  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09 @86  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_unused_t,		6);
30cbc591 Darrick J. Wong 2016-03-09  87  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  88  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  89  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino4_t,			4);
30cbc591 Darrick J. Wong 2016-03-09  90  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino8_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  91  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_inou_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  92  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  93  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  94  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  95  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_tail_t,		4);
30cbc591 Darrick J. Wong 2016-03-09 @96  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_entry_t,		3);
30cbc591 Darrick J. Wong 2016-03-09  97  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_hdr_t,		10);
30cbc591 Darrick J. Wong 2016-03-09  98  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_off_t,		2);
30cbc591 Darrick J. Wong 2016-03-09  99  

:::::: The code at line 96 was first introduced by commit
:::::: 30cbc591c34e680e8b5d6d675ea49effe42a0570 xfs: check sizes of XFS on-disk structures at compile time

:::::: TO: Darrick J. Wong <darrick.wong@oracle.com>
:::::: CC: Dave Chinner <david@fromorbit.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: 36605 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
@ 2016-12-25 12:41 kbuild test robot
  0 siblings, 0 replies; 20+ messages in thread
From: kbuild test robot @ 2016-12-25 12:41 UTC (permalink / raw)
  To: Dave Chinner; +Cc: kbuild-all, linux-kernel

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

Hi Dave,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   7c0f6ba682b9c7632072ffbedf8d328c8f3c42ba
commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next
date:   10 months ago
config: openrisc-allyesconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout ab9d1e4f7b0217948a3b35a64178602ab30ff45d
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   In file included from fs/xfs/xfs_super.c:48:0:
   In function 'xfs_check_ondisk_structs',
       inlined from 'init_xfs_fs' at fs/xfs/xfs_super.c:1862:26:
   fs/xfs/xfs_ondisk.h:86:2: error: call to '__compiletime_assert_86' declared with attribute error: XFS: sizeof(xfs_dir2_data_unused_t) is wrong, expected 6
>> fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
   fs/xfs/xfs_ondisk.h:97:2: error: call to '__compiletime_assert_97' declared with attribute error: XFS: sizeof(xfs_dir2_sf_hdr_t) is wrong, expected 10

vim +/__compiletime_assert_96 +96 fs/xfs/xfs_ondisk.h

30cbc591 Darrick J. Wong 2016-03-09  80  	XFS_CHECK_STRUCT_SIZE(xfs_da_blkinfo_t,			12);
30cbc591 Darrick J. Wong 2016-03-09  81  	XFS_CHECK_STRUCT_SIZE(xfs_da_intnode_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  82  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  83  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  84  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_free_t,		4);
30cbc591 Darrick J. Wong 2016-03-09  85  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09 @86  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_unused_t,		6);
30cbc591 Darrick J. Wong 2016-03-09  87  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  88  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  89  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino4_t,			4);
30cbc591 Darrick J. Wong 2016-03-09  90  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino8_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  91  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_inou_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  92  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  93  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  94  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  95  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_tail_t,		4);
30cbc591 Darrick J. Wong 2016-03-09 @96  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_entry_t,		3);
30cbc591 Darrick J. Wong 2016-03-09  97  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_hdr_t,		10);
30cbc591 Darrick J. Wong 2016-03-09  98  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_off_t,		2);
30cbc591 Darrick J. Wong 2016-03-09  99  

:::::: The code at line 96 was first introduced by commit
:::::: 30cbc591c34e680e8b5d6d675ea49effe42a0570 xfs: check sizes of XFS on-disk structures at compile time

:::::: TO: Darrick J. Wong <darrick.wong@oracle.com>
:::::: CC: Dave Chinner <david@fromorbit.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: 36921 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
@ 2016-12-11  2:35 kbuild test robot
  0 siblings, 0 replies; 20+ messages in thread
From: kbuild test robot @ 2016-12-11  2:35 UTC (permalink / raw)
  To: Dave Chinner; +Cc: kbuild-all, linux-kernel

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

Hi Dave,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   045169816b31b10faed984b01c390db1b32ee4c1
commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next
date:   9 months ago
config: openrisc-allmodconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout ab9d1e4f7b0217948a3b35a64178602ab30ff45d
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   In file included from fs/xfs/xfs_super.c:48:0:
   In function 'xfs_check_ondisk_structs',
       inlined from 'init_xfs_fs' at fs/xfs/xfs_super.c:1862:26:
   fs/xfs/xfs_ondisk.h:86:2: error: call to '__compiletime_assert_86' declared with attribute error: XFS: sizeof(xfs_dir2_data_unused_t) is wrong, expected 6
>> fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
   fs/xfs/xfs_ondisk.h:97:2: error: call to '__compiletime_assert_97' declared with attribute error: XFS: sizeof(xfs_dir2_sf_hdr_t) is wrong, expected 10

vim +/__compiletime_assert_96 +96 fs/xfs/xfs_ondisk.h

30cbc591 Darrick J. Wong 2016-03-09  80  	XFS_CHECK_STRUCT_SIZE(xfs_da_blkinfo_t,			12);
30cbc591 Darrick J. Wong 2016-03-09  81  	XFS_CHECK_STRUCT_SIZE(xfs_da_intnode_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  82  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  83  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  84  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_free_t,		4);
30cbc591 Darrick J. Wong 2016-03-09  85  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09 @86  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_unused_t,		6);
30cbc591 Darrick J. Wong 2016-03-09  87  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  88  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  89  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino4_t,			4);
30cbc591 Darrick J. Wong 2016-03-09  90  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino8_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  91  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_inou_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  92  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  93  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  94  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  95  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_tail_t,		4);
30cbc591 Darrick J. Wong 2016-03-09 @96  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_entry_t,		3);
30cbc591 Darrick J. Wong 2016-03-09  97  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_hdr_t,		10);
30cbc591 Darrick J. Wong 2016-03-09  98  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_off_t,		2);
30cbc591 Darrick J. Wong 2016-03-09  99  

:::::: The code at line 96 was first introduced by commit
:::::: 30cbc591c34e680e8b5d6d675ea49effe42a0570 xfs: check sizes of XFS on-disk structures at compile time

:::::: TO: Darrick J. Wong <darrick.wong@oracle.com>
:::::: CC: Dave Chinner <david@fromorbit.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: 36606 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
@ 2016-12-05  1:36 kbuild test robot
  0 siblings, 0 replies; 20+ messages in thread
From: kbuild test robot @ 2016-12-05  1:36 UTC (permalink / raw)
  To: Dave Chinner; +Cc: kbuild-all, linux-kernel

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

Hi Dave,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   3e5de27e940d00d8d504dfb96625fb654f641509
commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next
date:   9 months ago
config: openrisc-allmodconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout ab9d1e4f7b0217948a3b35a64178602ab30ff45d
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   In file included from fs/xfs/xfs_super.c:48:0:
   In function 'xfs_check_ondisk_structs',
       inlined from 'init_xfs_fs' at fs/xfs/xfs_super.c:1862:26:
   fs/xfs/xfs_ondisk.h:86:2: error: call to '__compiletime_assert_86' declared with attribute error: XFS: sizeof(xfs_dir2_data_unused_t) is wrong, expected 6
>> fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
   fs/xfs/xfs_ondisk.h:97:2: error: call to '__compiletime_assert_97' declared with attribute error: XFS: sizeof(xfs_dir2_sf_hdr_t) is wrong, expected 10

vim +/__compiletime_assert_96 +96 fs/xfs/xfs_ondisk.h

30cbc591 Darrick J. Wong 2016-03-09  80  	XFS_CHECK_STRUCT_SIZE(xfs_da_blkinfo_t,			12);
30cbc591 Darrick J. Wong 2016-03-09  81  	XFS_CHECK_STRUCT_SIZE(xfs_da_intnode_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  82  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  83  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  84  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_free_t,		4);
30cbc591 Darrick J. Wong 2016-03-09  85  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09 @86  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_unused_t,		6);
30cbc591 Darrick J. Wong 2016-03-09  87  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  88  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  89  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino4_t,			4);
30cbc591 Darrick J. Wong 2016-03-09  90  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino8_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  91  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_inou_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  92  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  93  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  94  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  95  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_tail_t,		4);
30cbc591 Darrick J. Wong 2016-03-09 @96  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_entry_t,		3);
30cbc591 Darrick J. Wong 2016-03-09  97  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_hdr_t,		10);
30cbc591 Darrick J. Wong 2016-03-09  98  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_off_t,		2);
30cbc591 Darrick J. Wong 2016-03-09  99  

:::::: The code at line 96 was first introduced by commit
:::::: 30cbc591c34e680e8b5d6d675ea49effe42a0570 xfs: check sizes of XFS on-disk structures at compile time

:::::: TO: Darrick J. Wong <darrick.wong@oracle.com>
:::::: CC: Dave Chinner <david@fromorbit.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: 36611 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
@ 2016-11-12 23:05 kbuild test robot
  0 siblings, 0 replies; 20+ messages in thread
From: kbuild test robot @ 2016-11-12 23:05 UTC (permalink / raw)
  To: Dave Chinner; +Cc: kbuild-all, linux-kernel

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

Hi Dave,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   86e4ee760ef2f7571e233a3abf065ffd0bb4089d
commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next
date:   8 months ago
config: openrisc-allmodconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout ab9d1e4f7b0217948a3b35a64178602ab30ff45d
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   In file included from fs/xfs/xfs_super.c:48:0:
   In function 'xfs_check_ondisk_structs',
       inlined from 'init_xfs_fs' at fs/xfs/xfs_super.c:1862:26:
   fs/xfs/xfs_ondisk.h:86:2: error: call to '__compiletime_assert_86' declared with attribute error: XFS: sizeof(xfs_dir2_data_unused_t) is wrong, expected 6
>> fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
   fs/xfs/xfs_ondisk.h:97:2: error: call to '__compiletime_assert_97' declared with attribute error: XFS: sizeof(xfs_dir2_sf_hdr_t) is wrong, expected 10

vim +/__compiletime_assert_96 +96 fs/xfs/xfs_ondisk.h

30cbc591 Darrick J. Wong 2016-03-09  80  	XFS_CHECK_STRUCT_SIZE(xfs_da_blkinfo_t,			12);
30cbc591 Darrick J. Wong 2016-03-09  81  	XFS_CHECK_STRUCT_SIZE(xfs_da_intnode_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  82  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  83  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  84  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_free_t,		4);
30cbc591 Darrick J. Wong 2016-03-09  85  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09 @86  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_unused_t,		6);
30cbc591 Darrick J. Wong 2016-03-09  87  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  88  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  89  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino4_t,			4);
30cbc591 Darrick J. Wong 2016-03-09  90  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino8_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  91  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_inou_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  92  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  93  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  94  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  95  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_tail_t,		4);
30cbc591 Darrick J. Wong 2016-03-09 @96  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_entry_t,		3);
30cbc591 Darrick J. Wong 2016-03-09  97  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_hdr_t,		10);
30cbc591 Darrick J. Wong 2016-03-09  98  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_off_t,		2);
30cbc591 Darrick J. Wong 2016-03-09  99  

:::::: The code at line 96 was first introduced by commit
:::::: 30cbc591c34e680e8b5d6d675ea49effe42a0570 xfs: check sizes of XFS on-disk structures at compile time

:::::: TO: Darrick J. Wong <darrick.wong@oracle.com>
:::::: CC: Dave Chinner <david@fromorbit.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: 36616 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
@ 2016-11-06  1:36 kbuild test robot
  0 siblings, 0 replies; 20+ messages in thread
From: kbuild test robot @ 2016-11-06  1:36 UTC (permalink / raw)
  To: Dave Chinner; +Cc: kbuild-all, linux-kernel

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

Hi Dave,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   bc33b0ca11e3df467777a4fa7639ba488c9d4911
commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next
date:   8 months ago
config: openrisc-allmodconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout ab9d1e4f7b0217948a3b35a64178602ab30ff45d
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   In file included from fs/xfs/xfs_super.c:48:0:
   In function 'xfs_check_ondisk_structs',
       inlined from 'init_xfs_fs' at fs/xfs/xfs_super.c:1862:26:
   fs/xfs/xfs_ondisk.h:86:2: error: call to '__compiletime_assert_86' declared with attribute error: XFS: sizeof(xfs_dir2_data_unused_t) is wrong, expected 6
>> fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
   fs/xfs/xfs_ondisk.h:97:2: error: call to '__compiletime_assert_97' declared with attribute error: XFS: sizeof(xfs_dir2_sf_hdr_t) is wrong, expected 10

vim +/__compiletime_assert_96 +96 fs/xfs/xfs_ondisk.h

30cbc591 Darrick J. Wong 2016-03-09  80  	XFS_CHECK_STRUCT_SIZE(xfs_da_blkinfo_t,			12);
30cbc591 Darrick J. Wong 2016-03-09  81  	XFS_CHECK_STRUCT_SIZE(xfs_da_intnode_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  82  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  83  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  84  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_free_t,		4);
30cbc591 Darrick J. Wong 2016-03-09  85  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09 @86  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_unused_t,		6);
30cbc591 Darrick J. Wong 2016-03-09  87  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  88  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  89  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino4_t,			4);
30cbc591 Darrick J. Wong 2016-03-09  90  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino8_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  91  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_inou_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  92  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  93  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  94  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  95  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_tail_t,		4);
30cbc591 Darrick J. Wong 2016-03-09 @96  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_entry_t,		3);
30cbc591 Darrick J. Wong 2016-03-09  97  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_hdr_t,		10);
30cbc591 Darrick J. Wong 2016-03-09  98  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_off_t,		2);
30cbc591 Darrick J. Wong 2016-03-09  99  

:::::: The code at line 96 was first introduced by commit
:::::: 30cbc591c34e680e8b5d6d675ea49effe42a0570 xfs: check sizes of XFS on-disk structures at compile time

:::::: TO: Darrick J. Wong <darrick.wong@oracle.com>
:::::: CC: Dave Chinner <david@fromorbit.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: 36608 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
@ 2016-10-30  5:20 kbuild test robot
  0 siblings, 0 replies; 20+ messages in thread
From: kbuild test robot @ 2016-10-30  5:20 UTC (permalink / raw)
  To: Dave Chinner; +Cc: kbuild-all, linux-kernel

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

Hi Dave,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   2a26d99b251b8625d27aed14e97fc10707a3a81f
commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next
date:   8 months ago
config: openrisc-allmodconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout ab9d1e4f7b0217948a3b35a64178602ab30ff45d
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   In file included from fs/xfs/xfs_super.c:48:0:
   In function 'xfs_check_ondisk_structs',
       inlined from 'init_xfs_fs' at fs/xfs/xfs_super.c:1862:26:
   fs/xfs/xfs_ondisk.h:86:2: error: call to '__compiletime_assert_86' declared with attribute error: XFS: sizeof(xfs_dir2_data_unused_t) is wrong, expected 6
>> fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
   fs/xfs/xfs_ondisk.h:97:2: error: call to '__compiletime_assert_97' declared with attribute error: XFS: sizeof(xfs_dir2_sf_hdr_t) is wrong, expected 10

vim +/__compiletime_assert_96 +96 fs/xfs/xfs_ondisk.h

30cbc591 Darrick J. Wong 2016-03-09  80  	XFS_CHECK_STRUCT_SIZE(xfs_da_blkinfo_t,			12);
30cbc591 Darrick J. Wong 2016-03-09  81  	XFS_CHECK_STRUCT_SIZE(xfs_da_intnode_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  82  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  83  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  84  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_free_t,		4);
30cbc591 Darrick J. Wong 2016-03-09  85  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09 @86  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_unused_t,		6);
30cbc591 Darrick J. Wong 2016-03-09  87  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  88  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  89  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino4_t,			4);
30cbc591 Darrick J. Wong 2016-03-09  90  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino8_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  91  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_inou_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  92  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  93  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  94  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  95  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_tail_t,		4);
30cbc591 Darrick J. Wong 2016-03-09 @96  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_entry_t,		3);
30cbc591 Darrick J. Wong 2016-03-09  97  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_hdr_t,		10);
30cbc591 Darrick J. Wong 2016-03-09  98  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_off_t,		2);
30cbc591 Darrick J. Wong 2016-03-09  99  

:::::: The code at line 96 was first introduced by commit
:::::: 30cbc591c34e680e8b5d6d675ea49effe42a0570 xfs: check sizes of XFS on-disk structures at compile time

:::::: TO: Darrick J. Wong <darrick.wong@oracle.com>
:::::: CC: Dave Chinner <david@fromorbit.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: 36615 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
@ 2016-10-23  7:29 kbuild test robot
  0 siblings, 0 replies; 20+ messages in thread
From: kbuild test robot @ 2016-10-23  7:29 UTC (permalink / raw)
  To: Dave Chinner; +Cc: kbuild-all, linux-kernel

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

Hi Dave,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   0c2b6dc4fd4fa13796b319aae969a009f03222c6
commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next
date:   8 months ago
config: openrisc-allmodconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout ab9d1e4f7b0217948a3b35a64178602ab30ff45d
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   In file included from fs/xfs/xfs_super.c:48:0:
   In function 'xfs_check_ondisk_structs',
       inlined from 'init_xfs_fs' at fs/xfs/xfs_super.c:1862:26:
   fs/xfs/xfs_ondisk.h:86:2: error: call to '__compiletime_assert_86' declared with attribute error: XFS: sizeof(xfs_dir2_data_unused_t) is wrong, expected 6
>> fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
   fs/xfs/xfs_ondisk.h:97:2: error: call to '__compiletime_assert_97' declared with attribute error: XFS: sizeof(xfs_dir2_sf_hdr_t) is wrong, expected 10

vim +/__compiletime_assert_96 +96 fs/xfs/xfs_ondisk.h

30cbc591 Darrick J. Wong 2016-03-09  80  	XFS_CHECK_STRUCT_SIZE(xfs_da_blkinfo_t,			12);
30cbc591 Darrick J. Wong 2016-03-09  81  	XFS_CHECK_STRUCT_SIZE(xfs_da_intnode_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  82  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  83  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  84  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_free_t,		4);
30cbc591 Darrick J. Wong 2016-03-09  85  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09 @86  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_unused_t,		6);
30cbc591 Darrick J. Wong 2016-03-09  87  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  88  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  89  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino4_t,			4);
30cbc591 Darrick J. Wong 2016-03-09  90  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino8_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  91  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_inou_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  92  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  93  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  94  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  95  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_tail_t,		4);
30cbc591 Darrick J. Wong 2016-03-09 @96  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_entry_t,		3);
30cbc591 Darrick J. Wong 2016-03-09  97  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_hdr_t,		10);
30cbc591 Darrick J. Wong 2016-03-09  98  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_off_t,		2);
30cbc591 Darrick J. Wong 2016-03-09  99  

:::::: The code at line 96 was first introduced by commit
:::::: 30cbc591c34e680e8b5d6d675ea49effe42a0570 xfs: check sizes of XFS on-disk structures at compile time

:::::: TO: Darrick J. Wong <darrick.wong@oracle.com>
:::::: CC: Dave Chinner <david@fromorbit.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: 36599 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
  2016-10-16  9:29 kbuild test robot
@ 2016-10-16 16:45 ` Christoph Hellwig
  0 siblings, 0 replies; 20+ messages in thread
From: Christoph Hellwig @ 2016-10-16 16:45 UTC (permalink / raw)
  To: kbuild test robot, jonas; +Cc: Dave Chinner, kbuild-all, linux-kernel



> head:   1001354ca34179f3db924eb66672442a173147dc

That's Linux 4.9-rc1

> 30cbc591 Darrick J. Wong 2016-03-09 @86  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_unused_t,		6);

But that's not how xfs_ondisk.h in 4.9-rc1 looks like

> 30cbc591 Darrick J. Wong 2016-03-09 @96  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_entry_t,		3);

And that's line 119.

Something is odd about this report. 

But both xfs_dir2_data_unused_t and xfs_dir2_sf_entry_t have one thing in
common: they are strutures that aren't padded to a natural alignment at
the end.  It seems like the openrisc gcc does implicit padding for them,
which sounds like a nightmware waiting to happen for any sort of disk
or network structure, so I'm really not sure if we should work around
it in xfs.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
@ 2016-10-16  9:29 kbuild test robot
  2016-10-16 16:45 ` Christoph Hellwig
  0 siblings, 1 reply; 20+ messages in thread
From: kbuild test robot @ 2016-10-16  9:29 UTC (permalink / raw)
  To: Dave Chinner; +Cc: kbuild-all, linux-kernel

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

Hi Dave,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   1001354ca34179f3db924eb66672442a173147dc
commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next
date:   7 months ago
config: openrisc-allyesconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout ab9d1e4f7b0217948a3b35a64178602ab30ff45d
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   In file included from fs/xfs/xfs_super.c:48:0:
   In function 'xfs_check_ondisk_structs',
       inlined from 'init_xfs_fs' at fs/xfs/xfs_super.c:1862:26:
   fs/xfs/xfs_ondisk.h:86:2: error: call to '__compiletime_assert_86' declared with attribute error: XFS: sizeof(xfs_dir2_data_unused_t) is wrong, expected 6
>> fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
   fs/xfs/xfs_ondisk.h:97:2: error: call to '__compiletime_assert_97' declared with attribute error: XFS: sizeof(xfs_dir2_sf_hdr_t) is wrong, expected 10

vim +/__compiletime_assert_96 +96 fs/xfs/xfs_ondisk.h

30cbc591 Darrick J. Wong 2016-03-09  80  	XFS_CHECK_STRUCT_SIZE(xfs_da_blkinfo_t,			12);
30cbc591 Darrick J. Wong 2016-03-09  81  	XFS_CHECK_STRUCT_SIZE(xfs_da_intnode_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  82  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  83  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  84  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_free_t,		4);
30cbc591 Darrick J. Wong 2016-03-09  85  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09 @86  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_unused_t,		6);
30cbc591 Darrick J. Wong 2016-03-09  87  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  88  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  89  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino4_t,			4);
30cbc591 Darrick J. Wong 2016-03-09  90  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino8_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  91  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_inou_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  92  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  93  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  94  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  95  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_tail_t,		4);
30cbc591 Darrick J. Wong 2016-03-09 @96  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_entry_t,		3);
30cbc591 Darrick J. Wong 2016-03-09  97  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_hdr_t,		10);
30cbc591 Darrick J. Wong 2016-03-09  98  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_off_t,		2);
30cbc591 Darrick J. Wong 2016-03-09  99  

:::::: The code at line 96 was first introduced by commit
:::::: 30cbc591c34e680e8b5d6d675ea49effe42a0570 xfs: check sizes of XFS on-disk structures at compile time

:::::: TO: Darrick J. Wong <darrick.wong@oracle.com>
:::::: CC: Dave Chinner <david@fromorbit.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: 36919 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
@ 2016-10-02 12:41 kbuild test robot
  0 siblings, 0 replies; 20+ messages in thread
From: kbuild test robot @ 2016-10-02 12:41 UTC (permalink / raw)
  To: Dave Chinner; +Cc: kbuild-all, linux-kernel

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

Hi Dave,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f51fdffad5b7709d0ade40736b58a2da2707fa15
commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next
date:   7 months ago
config: openrisc-allmodconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout ab9d1e4f7b0217948a3b35a64178602ab30ff45d
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   In file included from fs/xfs/xfs_super.c:48:0:
   In function 'xfs_check_ondisk_structs',
       inlined from 'init_xfs_fs' at fs/xfs/xfs_super.c:1862:26:
   fs/xfs/xfs_ondisk.h:86:2: error: call to '__compiletime_assert_86' declared with attribute error: XFS: sizeof(xfs_dir2_data_unused_t) is wrong, expected 6
>> fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
   fs/xfs/xfs_ondisk.h:97:2: error: call to '__compiletime_assert_97' declared with attribute error: XFS: sizeof(xfs_dir2_sf_hdr_t) is wrong, expected 10

vim +/__compiletime_assert_96 +96 fs/xfs/xfs_ondisk.h

30cbc591 Darrick J. Wong 2016-03-09  80  	XFS_CHECK_STRUCT_SIZE(xfs_da_blkinfo_t,			12);
30cbc591 Darrick J. Wong 2016-03-09  81  	XFS_CHECK_STRUCT_SIZE(xfs_da_intnode_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  82  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  83  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  84  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_free_t,		4);
30cbc591 Darrick J. Wong 2016-03-09  85  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09 @86  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_unused_t,		6);
30cbc591 Darrick J. Wong 2016-03-09  87  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  88  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  89  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino4_t,			4);
30cbc591 Darrick J. Wong 2016-03-09  90  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino8_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  91  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_inou_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  92  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  93  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  94  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  95  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_tail_t,		4);
30cbc591 Darrick J. Wong 2016-03-09 @96  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_entry_t,		3);
30cbc591 Darrick J. Wong 2016-03-09  97  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_hdr_t,		10);
30cbc591 Darrick J. Wong 2016-03-09  98  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_off_t,		2);
30cbc591 Darrick J. Wong 2016-03-09  99  

:::::: The code at line 96 was first introduced by commit
:::::: 30cbc591c34e680e8b5d6d675ea49effe42a0570 xfs: check sizes of XFS on-disk structures at compile time

:::::: TO: Darrick J. Wong <darrick.wong@oracle.com>
:::::: CC: Dave Chinner <david@fromorbit.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: 36590 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
@ 2016-09-23  6:08 kbuild test robot
  0 siblings, 0 replies; 20+ messages in thread
From: kbuild test robot @ 2016-09-23  6:08 UTC (permalink / raw)
  To: Dave Chinner; +Cc: kbuild-all, linux-kernel

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

Hi Dave,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   b1f2beb87bb034bb209773807994279f90cace78
commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next
date:   7 months ago
config: openrisc-allyesconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout ab9d1e4f7b0217948a3b35a64178602ab30ff45d
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   In file included from fs/xfs/xfs_super.c:48:0:
   In function 'xfs_check_ondisk_structs',
       inlined from 'init_xfs_fs' at fs/xfs/xfs_super.c:1862:26:
   fs/xfs/xfs_ondisk.h:86:2: error: call to '__compiletime_assert_86' declared with attribute error: XFS: sizeof(xfs_dir2_data_unused_t) is wrong, expected 6
>> fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
   fs/xfs/xfs_ondisk.h:97:2: error: call to '__compiletime_assert_97' declared with attribute error: XFS: sizeof(xfs_dir2_sf_hdr_t) is wrong, expected 10

vim +/__compiletime_assert_96 +96 fs/xfs/xfs_ondisk.h

30cbc591 Darrick J. Wong 2016-03-09  80  	XFS_CHECK_STRUCT_SIZE(xfs_da_blkinfo_t,			12);
30cbc591 Darrick J. Wong 2016-03-09  81  	XFS_CHECK_STRUCT_SIZE(xfs_da_intnode_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  82  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  83  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  84  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_free_t,		4);
30cbc591 Darrick J. Wong 2016-03-09  85  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09 @86  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_unused_t,		6);
30cbc591 Darrick J. Wong 2016-03-09  87  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  88  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  89  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino4_t,			4);
30cbc591 Darrick J. Wong 2016-03-09  90  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino8_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  91  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_inou_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  92  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  93  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  94  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  95  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_tail_t,		4);
30cbc591 Darrick J. Wong 2016-03-09 @96  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_entry_t,		3);
30cbc591 Darrick J. Wong 2016-03-09  97  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_hdr_t,		10);
30cbc591 Darrick J. Wong 2016-03-09  98  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_off_t,		2);
30cbc591 Darrick J. Wong 2016-03-09  99  

:::::: The code at line 96 was first introduced by commit
:::::: 30cbc591c34e680e8b5d6d675ea49effe42a0570 xfs: check sizes of XFS on-disk structures at compile time

:::::: TO: Darrick J. Wong <darrick.wong@oracle.com>
:::::: CC: Dave Chinner <david@fromorbit.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: 36916 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
@ 2016-09-11  5:41 kbuild test robot
  0 siblings, 0 replies; 20+ messages in thread
From: kbuild test robot @ 2016-09-11  5:41 UTC (permalink / raw)
  To: Dave Chinner; +Cc: kbuild-all, linux-kernel

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

Hi Dave,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   98ac9a608dc79ba8a20cee77fe959a6dfccdaa63
commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next
date:   6 months ago
config: openrisc-allyesconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout ab9d1e4f7b0217948a3b35a64178602ab30ff45d
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   In file included from fs/xfs/xfs_super.c:48:0:
   In function 'xfs_check_ondisk_structs',
       inlined from 'init_xfs_fs' at fs/xfs/xfs_super.c:1862:26:
   fs/xfs/xfs_ondisk.h:86:2: error: call to '__compiletime_assert_86' declared with attribute error: XFS: sizeof(xfs_dir2_data_unused_t) is wrong, expected 6
>> fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
   fs/xfs/xfs_ondisk.h:97:2: error: call to '__compiletime_assert_97' declared with attribute error: XFS: sizeof(xfs_dir2_sf_hdr_t) is wrong, expected 10

vim +/__compiletime_assert_96 +96 fs/xfs/xfs_ondisk.h

30cbc591 Darrick J. Wong 2016-03-09  80  	XFS_CHECK_STRUCT_SIZE(xfs_da_blkinfo_t,			12);
30cbc591 Darrick J. Wong 2016-03-09  81  	XFS_CHECK_STRUCT_SIZE(xfs_da_intnode_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  82  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  83  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  84  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_free_t,		4);
30cbc591 Darrick J. Wong 2016-03-09  85  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09 @86  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_unused_t,		6);
30cbc591 Darrick J. Wong 2016-03-09  87  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  88  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  89  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino4_t,			4);
30cbc591 Darrick J. Wong 2016-03-09  90  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino8_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  91  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_inou_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  92  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  93  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  94  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  95  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_tail_t,		4);
30cbc591 Darrick J. Wong 2016-03-09 @96  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_entry_t,		3);
30cbc591 Darrick J. Wong 2016-03-09  97  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_hdr_t,		10);
30cbc591 Darrick J. Wong 2016-03-09  98  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_off_t,		2);
30cbc591 Darrick J. Wong 2016-03-09  99  

:::::: The code at line 96 was first introduced by commit
:::::: 30cbc591c34e680e8b5d6d675ea49effe42a0570 xfs: check sizes of XFS on-disk structures at compile time

:::::: TO: Darrick J. Wong <darrick.wong@oracle.com>
:::::: CC: Dave Chinner <david@fromorbit.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/octet-stream, Size: 36908 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
@ 2016-09-04 12:07 kbuild test robot
  0 siblings, 0 replies; 20+ messages in thread
From: kbuild test robot @ 2016-09-04 12:07 UTC (permalink / raw)
  To: Dave Chinner; +Cc: kbuild-all, linux-kernel

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

Hi Dave,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   28e68154c5e2793123b248d38cf17b34dcb16d87
commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next
date:   6 months ago
config: openrisc-allmodconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout ab9d1e4f7b0217948a3b35a64178602ab30ff45d
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   In file included from fs/xfs/xfs_super.c:48:0:
   In function 'xfs_check_ondisk_structs',
       inlined from 'init_xfs_fs' at fs/xfs/xfs_super.c:1862:26:
   fs/xfs/xfs_ondisk.h:86:2: error: call to '__compiletime_assert_86' declared with attribute error: XFS: sizeof(xfs_dir2_data_unused_t) is wrong, expected 6
>> fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
   fs/xfs/xfs_ondisk.h:97:2: error: call to '__compiletime_assert_97' declared with attribute error: XFS: sizeof(xfs_dir2_sf_hdr_t) is wrong, expected 10

vim +/__compiletime_assert_96 +96 fs/xfs/xfs_ondisk.h

30cbc591 Darrick J. Wong 2016-03-09  80  	XFS_CHECK_STRUCT_SIZE(xfs_da_blkinfo_t,			12);
30cbc591 Darrick J. Wong 2016-03-09  81  	XFS_CHECK_STRUCT_SIZE(xfs_da_intnode_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  82  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  83  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  84  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_free_t,		4);
30cbc591 Darrick J. Wong 2016-03-09  85  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09 @86  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_unused_t,		6);
30cbc591 Darrick J. Wong 2016-03-09  87  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  88  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  89  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino4_t,			4);
30cbc591 Darrick J. Wong 2016-03-09  90  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino8_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  91  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_inou_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  92  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  93  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  94  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  95  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_tail_t,		4);
30cbc591 Darrick J. Wong 2016-03-09 @96  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_entry_t,		3);
30cbc591 Darrick J. Wong 2016-03-09  97  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_hdr_t,		10);
30cbc591 Darrick J. Wong 2016-03-09  98  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_off_t,		2);
30cbc591 Darrick J. Wong 2016-03-09  99  

:::::: The code at line 96 was first introduced by commit
:::::: 30cbc591c34e680e8b5d6d675ea49effe42a0570 xfs: check sizes of XFS on-disk structures at compile time

:::::: TO: Darrick J. Wong <darrick.wong@oracle.com>
:::::: CC: Dave Chinner <david@fromorbit.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/octet-stream, Size: 36598 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
@ 2016-08-22 15:29 kbuild test robot
  0 siblings, 0 replies; 20+ messages in thread
From: kbuild test robot @ 2016-08-22 15:29 UTC (permalink / raw)
  To: Dave Chinner; +Cc: kbuild-all, linux-kernel

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

Hi Dave,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   fa8410b355251fd30341662a40ac6b22d3e38468
commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next
date:   6 months ago
config: openrisc-allyesconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout ab9d1e4f7b0217948a3b35a64178602ab30ff45d
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   In file included from fs/xfs/xfs_super.c:48:0:
   In function 'xfs_check_ondisk_structs',
       inlined from 'init_xfs_fs' at fs/xfs/xfs_super.c:1862:26:
   fs/xfs/xfs_ondisk.h:86:2: error: call to '__compiletime_assert_86' declared with attribute error: XFS: sizeof(xfs_dir2_data_unused_t) is wrong, expected 6
>> fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
   fs/xfs/xfs_ondisk.h:97:2: error: call to '__compiletime_assert_97' declared with attribute error: XFS: sizeof(xfs_dir2_sf_hdr_t) is wrong, expected 10

vim +/__compiletime_assert_96 +96 fs/xfs/xfs_ondisk.h

30cbc591 Darrick J. Wong 2016-03-09  80  	XFS_CHECK_STRUCT_SIZE(xfs_da_blkinfo_t,			12);
30cbc591 Darrick J. Wong 2016-03-09  81  	XFS_CHECK_STRUCT_SIZE(xfs_da_intnode_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  82  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  83  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  84  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_free_t,		4);
30cbc591 Darrick J. Wong 2016-03-09  85  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09 @86  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_unused_t,		6);
30cbc591 Darrick J. Wong 2016-03-09  87  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  88  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  89  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino4_t,			4);
30cbc591 Darrick J. Wong 2016-03-09  90  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino8_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  91  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_inou_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  92  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  93  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  94  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  95  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_tail_t,		4);
30cbc591 Darrick J. Wong 2016-03-09 @96  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_entry_t,		3);
30cbc591 Darrick J. Wong 2016-03-09  97  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_hdr_t,		10);
30cbc591 Darrick J. Wong 2016-03-09  98  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_off_t,		2);
30cbc591 Darrick J. Wong 2016-03-09  99  

:::::: The code at line 96 was first introduced by commit
:::::: 30cbc591c34e680e8b5d6d675ea49effe42a0570 xfs: check sizes of XFS on-disk structures at compile time

:::::: TO: Darrick J. Wong <darrick.wong@oracle.com>
:::::: CC: Dave Chinner <david@fromorbit.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/octet-stream, Size: 36910 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
@ 2016-07-31 19:02 kbuild test robot
  0 siblings, 0 replies; 20+ messages in thread
From: kbuild test robot @ 2016-07-31 19:02 UTC (permalink / raw)
  To: Dave Chinner; +Cc: kbuild-all, linux-kernel

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

Hi Dave,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   c9b95e5961c0294e0efffeaa847c1a1e6369204c
commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next
date:   5 months ago
config: openrisc-allmodconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout ab9d1e4f7b0217948a3b35a64178602ab30ff45d
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   In file included from fs/xfs/xfs_super.c:48:0:
   In function 'xfs_check_ondisk_structs',
       inlined from 'init_xfs_fs' at fs/xfs/xfs_super.c:1862:26:
   fs/xfs/xfs_ondisk.h:86:2: error: call to '__compiletime_assert_86' declared with attribute error: XFS: sizeof(xfs_dir2_data_unused_t) is wrong, expected 6
>> fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
   fs/xfs/xfs_ondisk.h:97:2: error: call to '__compiletime_assert_97' declared with attribute error: XFS: sizeof(xfs_dir2_sf_hdr_t) is wrong, expected 10

vim +/__compiletime_assert_96 +96 fs/xfs/xfs_ondisk.h

30cbc591 Darrick J. Wong 2016-03-09  80  	XFS_CHECK_STRUCT_SIZE(xfs_da_blkinfo_t,			12);
30cbc591 Darrick J. Wong 2016-03-09  81  	XFS_CHECK_STRUCT_SIZE(xfs_da_intnode_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  82  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  83  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  84  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_free_t,		4);
30cbc591 Darrick J. Wong 2016-03-09  85  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09 @86  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_unused_t,		6);
30cbc591 Darrick J. Wong 2016-03-09  87  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  88  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  89  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino4_t,			4);
30cbc591 Darrick J. Wong 2016-03-09  90  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino8_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  91  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_inou_t,			8);
30cbc591 Darrick J. Wong 2016-03-09  92  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_entry_t,		8);
30cbc591 Darrick J. Wong 2016-03-09  93  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_hdr_t,		16);
30cbc591 Darrick J. Wong 2016-03-09  94  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_t,			16);
30cbc591 Darrick J. Wong 2016-03-09  95  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_tail_t,		4);
30cbc591 Darrick J. Wong 2016-03-09 @96  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_entry_t,		3);
30cbc591 Darrick J. Wong 2016-03-09  97  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_hdr_t,		10);
30cbc591 Darrick J. Wong 2016-03-09  98  	XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_off_t,		2);
30cbc591 Darrick J. Wong 2016-03-09  99  

:::::: The code at line 96 was first introduced by commit
:::::: 30cbc591c34e680e8b5d6d675ea49effe42a0570 xfs: check sizes of XFS on-disk structures at compile time

:::::: TO: Darrick J. Wong <darrick.wong@oracle.com>
:::::: CC: Dave Chinner <david@fromorbit.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/octet-stream, Size: 36587 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2017-02-12 12:01 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-20  5:42 fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3 kbuild test robot
  -- strict thread matches above, loose matches on Subject: below --
2017-02-12 12:00 kbuild test robot
2017-02-05 11:54 kbuild test robot
2017-01-22 11:10 kbuild test robot
2017-01-01  0:35 kbuild test robot
2016-12-25 12:41 kbuild test robot
2016-12-11  2:35 kbuild test robot
2016-12-05  1:36 kbuild test robot
2016-11-12 23:05 kbuild test robot
2016-11-06  1:36 kbuild test robot
2016-10-30  5:20 kbuild test robot
2016-10-23  7:29 kbuild test robot
2016-10-16  9:29 kbuild test robot
2016-10-16 16:45 ` Christoph Hellwig
2016-10-02 12:41 kbuild test robot
2016-09-23  6:08 kbuild test robot
2016-09-11  5:41 kbuild test robot
2016-09-04 12:07 kbuild test robot
2016-08-22 15:29 kbuild test robot
2016-07-31 19:02 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).