tree: https://github.com/ceph/ceph-client.git tls-tracing-only head: 6b738aa5f6bb2343f8277d318ff1e9ea9289212c commit: 4dbfb9232bb3bff162418ee08fe5379af0bcab48 [7/10] phase I config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20250815/202508150308.8w4wxpk9-lkp@xxxxxxxxx/config) compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250815/202508150308.8w4wxpk9-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/202508150308.8w4wxpk9-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): In file included from lib/blog/blog_core.c:13: In file included from include/linux/blog/blog.h:17: >> include/linux/blog/blog_ser.h:115:16: error: static assertion failed due to requirement 'sizeof (null_str.str) == sizeof(unsigned long)': null_str.str size must match unsigned long for proper alignment 115 | static_assert(sizeof(null_str.str) == sizeof(unsigned long), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:77:50: note: expanded from macro 'static_assert' 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~ include/linux/build_bug.h:78:56: note: expanded from macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ include/linux/blog/blog_ser.h:115:37: note: expression evaluates to '8 == 4' 115 | static_assert(sizeof(null_str.str) == sizeof(unsigned long), | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:77:50: note: expanded from macro 'static_assert' 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~ include/linux/build_bug.h:78:56: note: expanded from macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ 1 error generated. vim +115 include/linux/blog/blog_ser.h 111 112 static inline size_t write_null_str(char *dst) 113 { 114 *(union null_str_u *)dst = null_str; > 115 static_assert(sizeof(null_str.str) == sizeof(unsigned long), 116 "null_str.str size must match unsigned long for proper alignment"); 117 return __builtin_strlen(null_str.str); 118 } 119 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki