linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Dave Chinner <david@fromorbit.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org
Subject: 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
Date: Sun, 17 Jul 2016 11:22:23 +0800	[thread overview]
Message-ID: <201607171120.QfrruZew%fengguang.wu@intel.com> (raw)

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

Hi,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   47ef4ad2684d380dd6d596140fb79395115c3950
commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next
date:   4 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_86 +86 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  
30cbc591 Darrick J. Wong 2016-03-09  100  	/* log structures */

:::::: The code at line 86 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: 36521 bytes --]

             reply	other threads:[~2016-07-17  3:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-17  3:22 kbuild test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-07-24  2:22 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 kbuild test robot
2016-07-03  3:03 kbuild test robot
2016-06-26  7:59 kbuild test robot
2016-06-12 12:44 kbuild test robot
2016-06-05  5:44 kbuild test robot
2016-04-03  5:26 kbuild test robot
2016-03-27  2:48 kbuild test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201607171120.QfrruZew%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=david@fromorbit.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).