[xfs:for-next 12/12] fs/xfs/xfs_ondisk.h:79:2: error: call to '__compiletime_assert_79' declared with attribute error: XFS: sizeof(xfs_attr_shortform_t) is wrong, expected 8

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/dgc/linux-xfs.git for-next
head:   ab9d1e4f7b0217948a3b35a64178602ab30ff45d
commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d [12/12] Merge branch 'xfs-misc-fixes-4.6-3' into for-next
config: cris-allyesconfig (attached as .config)
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=cris 

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:79:2: error: call to '__compiletime_assert_79' declared with attribute error: XFS: sizeof(xfs_attr_shortform_t) is wrong, expected 8

vim +/__compiletime_assert_79 +79 fs/xfs/xfs_ondisk.h

30cbc591c Darrick J. Wong 2016-03-09  73  	 * definitions are updated to use c99 VLA definitions.
30cbc591c Darrick J. Wong 2016-03-09  74  	 *
30cbc591c Darrick J. Wong 2016-03-09  75  	XFS_CHECK_STRUCT_SIZE(xfs_attr_leaf_name_remote_t,	12);
30cbc591c Darrick J. Wong 2016-03-09  76  	 */
30cbc591c Darrick J. Wong 2016-03-09  77  
30cbc591c Darrick J. Wong 2016-03-09  78  	XFS_CHECK_STRUCT_SIZE(xfs_attr_leafblock_t,		40);
30cbc591c Darrick J. Wong 2016-03-09 @79  	XFS_CHECK_STRUCT_SIZE(xfs_attr_shortform_t,		8);
30cbc591c Darrick J. Wong 2016-03-09  80  	XFS_CHECK_STRUCT_SIZE(xfs_da_blkinfo_t,			12);
30cbc591c Darrick J. Wong 2016-03-09  81  	XFS_CHECK_STRUCT_SIZE(xfs_da_intnode_t,			16);
30cbc591c Darrick J. Wong 2016-03-09  82  	XFS_CHECK_STRUCT_SIZE(xfs_da_node_entry_t,		8);

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

:::::: TO: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
:::::: CC: Dave Chinner <david@xxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs

[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux