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@xxxxxxxxx/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@xxxxxxxxx/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@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202312072005.RcYtBUSp-lkp@xxxxxxxxx/ 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@xxxxxxxxxxxxxxxxxxxx> :::::: CC: Konstantin Komarov <almaz.alexandrovich@xxxxxxxxxxxxxxxxxxxx> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki