From: kernel test robot <lkp@intel.com>
To: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Linux Memory Management List <linux-mm@kvack.org>
Subject: [linux-next:master 5474/5882] fs/ntfs3/ntfs.h:530:1: error: static assertion failed due to requirement 'sizeof(struct ATTR_LIST_ENTRY) == 32': sizeof(struct ATTR_LIST_ENTRY) == 0x20
Date: Thu, 7 Dec 2023 20:44:54 +0800 [thread overview]
Message-ID: <202312072005.RcYtBUSp-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 8e00ce02066e8f6f1ad5eab49a2ede7bf7a5ef64
commit: d155617006ebc172a80d3eb013c4b867f9a8ada4 [5474/5882] fs/ntfs3: Fix detected field-spanning write (size 8) of single field "le->name"
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20231207/202312072005.RcYtBUSp-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231207/202312072005.RcYtBUSp-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312072005.RcYtBUSp-lkp@intel.com/
All errors (new ones prefixed by >>):
warning: unknown warning option '-Wold-style-declaration'; did you mean '-Wout-of-line-declaration'? [-Wunknown-warning-option]
In file included from fs/ntfs3/attrib.c:14:
>> fs/ntfs3/ntfs.h:530:1: error: static assertion failed due to requirement 'sizeof(struct ATTR_LIST_ENTRY) == 32': sizeof(struct ATTR_LIST_ENTRY) == 0x20
static_assert(sizeof(struct ATTR_LIST_ENTRY) == 0x20);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:77:34: note: expanded from macro 'static_assert'
#define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr)
^ ~~~~
include/linux/build_bug.h:78:41: note: expanded from macro '__static_assert'
#define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
^ ~~~~
fs/ntfs3/ntfs.h:530:46: note: expression evaluates to '28 == 32'
static_assert(sizeof(struct ATTR_LIST_ENTRY) == 0x20);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
include/linux/build_bug.h:77:50: note: expanded from macro 'static_assert'
#define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr)
^~~~
include/linux/build_bug.h:78:56: note: expanded from macro '__static_assert'
#define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
^~~~
1 warning and 1 error generated.
vim +530 fs/ntfs3/ntfs.h
4534a70b7056fd Konstantin Komarov 2021-08-13 529
4534a70b7056fd Konstantin Komarov 2021-08-13 @530 static_assert(sizeof(struct ATTR_LIST_ENTRY) == 0x20);
4534a70b7056fd Konstantin Komarov 2021-08-13 531
:::::: The code at line 530 was first introduced by commit
:::::: 4534a70b7056fd4b9a1c6db5a4ce3c98546b291e fs/ntfs3: Add headers and misc files
:::::: TO: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
:::::: CC: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-12-07 12:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202312072005.RcYtBUSp-lkp@intel.com \
--to=lkp@intel.com \
--cc=almaz.alexandrovich@paragon-software.com \
--cc=linux-mm@kvack.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/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