WARNING: unmet direct dependencies detected for MODVERSIONS Depends on [n]: MODULES [=y] && !COMPILE_TEST [=y] Selected by [y]: - RANDSTRUCT_FULL [=y] && (CC_HAS_RANDSTRUCT [=y] || GCC_PLUGINS [=n]) && MODULES [=y] WARNING: unmet direct dependencies detected for MODVERSIONS Depends on [n]: MODULES [=y] && !COMPILE_TEST [=y] Selected by [y]: - RANDSTRUCT_FULL [=y] && (CC_HAS_RANDSTRUCT [=y] || GCC_PLUGINS [=n]) && MODULES [=y] WARNING: unmet direct dependencies detected for MODVERSIONS Depends on [n]: MODULES [=y] && !COMPILE_TEST [=y] Selected by [y]: - RANDSTRUCT_FULL [=y] && (CC_HAS_RANDSTRUCT [=y] || GCC_PLUGINS [=n]) && MODULES [=y] tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files In file included from ../drivers/net/ethernet/intel/idpf/idpf_dev.c:4: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:22: ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: error: static assertion failed due to requirement '__builtin_offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - (__builtin_offsetof(struct idpf_q_vector, __cacheline_group_begin__read_write) + sizeof ((((struct idpf_q_vector *)0)->__cacheline_group_begin__read_write))) == (440 + 2 * sizeof(struct dim))': offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - offsetofend(struct idpf_q_vector, __cacheline_group_begin__read_write) == (440 + 2 * sizeof(struct dim)) 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:17:16: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 | (sz)) | ~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ../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) | ^~~~ ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: note: expression evaluates to '784 == 776' 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:18:59: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 19 | (sz)) | ~~~~~ ../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. make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/intel/idpf/idpf_dev.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/intel/idpf/idpf_main.c:4: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:22: ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: error: static assertion failed due to requirement '__builtin_offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - (__builtin_offsetof(struct idpf_q_vector, __cacheline_group_begin__read_write) + sizeof ((((struct idpf_q_vector *)0)->__cacheline_group_begin__read_write))) == (440 + 2 * sizeof(struct dim))': offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - offsetofend(struct idpf_q_vector, __cacheline_group_begin__read_write) == (440 + 2 * sizeof(struct dim)) 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:17:16: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 | (sz)) | ~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ../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) | ^~~~ ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: note: expression evaluates to '784 == 776' 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:18:59: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 19 | (sz)) | ~~~~~ ../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) | ^~~~ ../drivers/net/ethernet/intel/idpf/idpf_main.c:167:39: warning: shift count >= width of type [-Wshift-count-overflow] 167 | err = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64)); | ^~~~~~~~~~~~~~~~ ../include/linux/dma-mapping.h:77:54: note: expanded from macro 'DMA_BIT_MASK' 77 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^ ~~~ 1 warning and 1 error generated. make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/intel/idpf/idpf_main.o] Error 1 In file included from ../drivers/net/ethernet/intel/idpf/idpf_lib.c:4: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:22: ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: error: static assertion failed due to requirement '__builtin_offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - (__builtin_offsetof(struct idpf_q_vector, __cacheline_group_begin__read_write) + sizeof ((((struct idpf_q_vector *)0)->__cacheline_group_begin__read_write))) == (440 + 2 * sizeof(struct dim))': offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - offsetofend(struct idpf_q_vector, __cacheline_group_begin__read_write) == (440 + 2 * sizeof(struct dim)) 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:17:16: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 | (sz)) | ~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ../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) | ^~~~ ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: note: expression evaluates to '784 == 776' 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:18:59: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 19 | (sz)) | ~~~~~ ../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. make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/intel/idpf/idpf_lib.o] Error 1 In file included from ../drivers/net/ethernet/intel/idpf/idpf_vf_dev.c:4: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:22: ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: error: static assertion failed due to requirement '__builtin_offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - (__builtin_offsetof(struct idpf_q_vector, __cacheline_group_begin__read_write) + sizeof ((((struct idpf_q_vector *)0)->__cacheline_group_begin__read_write))) == (440 + 2 * sizeof(struct dim))': offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - offsetofend(struct idpf_q_vector, __cacheline_group_begin__read_write) == (440 + 2 * sizeof(struct dim)) 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:17:16: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 | (sz)) | ~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ../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) | ^~~~ ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: note: expression evaluates to '784 == 776' 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:18:59: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 19 | (sz)) | ~~~~~ ../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. make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/intel/idpf/idpf_vf_dev.o] Error 1 In file included from ../drivers/net/ethernet/intel/idpf/idpf_txrx.c:7: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:22: ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: error: static assertion failed due to requirement '__builtin_offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - (__builtin_offsetof(struct idpf_q_vector, __cacheline_group_begin__read_write) + sizeof ((((struct idpf_q_vector *)0)->__cacheline_group_begin__read_write))) == (440 + 2 * sizeof(struct dim))': offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - offsetofend(struct idpf_q_vector, __cacheline_group_begin__read_write) == (440 + 2 * sizeof(struct dim)) 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:17:16: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 | (sz)) | ~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ../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) | ^~~~ ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: note: expression evaluates to '784 == 776' 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:18:59: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 19 | (sz)) | ~~~~~ ../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. make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/intel/idpf/idpf_txrx.o] Error 1 In file included from ../drivers/net/ethernet/intel/idpf/idpf_ethtool.c:4: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:22: ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: error: static assertion failed due to requirement '__builtin_offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - (__builtin_offsetof(struct idpf_q_vector, __cacheline_group_begin__read_write) + sizeof ((((struct idpf_q_vector *)0)->__cacheline_group_begin__read_write))) == (440 + 2 * sizeof(struct dim))': offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - offsetofend(struct idpf_q_vector, __cacheline_group_begin__read_write) == (440 + 2 * sizeof(struct dim)) 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:17:16: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 | (sz)) | ~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ../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) | ^~~~ ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: note: expression evaluates to '784 == 776' 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:18:59: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 19 | (sz)) | ~~~~~ ../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. make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/intel/idpf/idpf_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c:7: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:22: ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: error: static assertion failed due to requirement '__builtin_offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - (__builtin_offsetof(struct idpf_q_vector, __cacheline_group_begin__read_write) + sizeof ((((struct idpf_q_vector *)0)->__cacheline_group_begin__read_write))) == (440 + 2 * sizeof(struct dim))': offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - offsetofend(struct idpf_q_vector, __cacheline_group_begin__read_write) == (440 + 2 * sizeof(struct dim)) 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:17:16: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 | (sz)) | ~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ../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) | ^~~~ ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: note: expression evaluates to '784 == 776' 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:18:59: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 19 | (sz)) | ~~~~~ ../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. make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.o] Error 1 In file included from ../drivers/net/ethernet/intel/idpf/idpf_virtchnl.c:6: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:22: ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: error: static assertion failed due to requirement '__builtin_offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - (__builtin_offsetof(struct idpf_q_vector, __cacheline_group_begin__read_write) + sizeof ((((struct idpf_q_vector *)0)->__cacheline_group_begin__read_write))) == (440 + 2 * sizeof(struct dim))': offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - offsetofend(struct idpf_q_vector, __cacheline_group_begin__read_write) == (440 + 2 * sizeof(struct dim)) 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:17:16: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 | (sz)) | ~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ../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) | ^~~~ ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: note: expression evaluates to '784 == 776' 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:18:59: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 19 | (sz)) | ~~~~~ ../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. make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/intel/idpf/idpf_virtchnl.o] Error 1 make[7]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/intel/idpf] Error 2 make[6]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/intel] Error 2 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [../scripts/Makefile.build:478: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:478: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:478: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1936: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 WARNING: unmet direct dependencies detected for MODVERSIONS Depends on [n]: MODULES [=y] && !COMPILE_TEST [=y] Selected by [y]: - RANDSTRUCT_FULL [=y] && (CC_HAS_RANDSTRUCT [=y] || GCC_PLUGINS [=n]) && MODULES [=y] WARNING: unmet direct dependencies detected for MODVERSIONS Depends on [n]: MODULES [=y] && !COMPILE_TEST [=y] Selected by [y]: - RANDSTRUCT_FULL [=y] && (CC_HAS_RANDSTRUCT [=y] || GCC_PLUGINS [=n]) && MODULES [=y] WARNING: unmet direct dependencies detected for MODVERSIONS Depends on [n]: MODULES [=y] && !COMPILE_TEST [=y] Selected by [y]: - RANDSTRUCT_FULL [=y] && (CC_HAS_RANDSTRUCT [=y] || GCC_PLUGINS [=n]) && MODULES [=y] tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files In file included from ../drivers/net/ethernet/intel/idpf/idpf_dev.c:4: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:22: ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: error: static assertion failed due to requirement '__builtin_offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - (__builtin_offsetof(struct idpf_q_vector, __cacheline_group_begin__read_write) + sizeof ((((struct idpf_q_vector *)0)->__cacheline_group_begin__read_write))) == (440 + 2 * sizeof(struct dim))': offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - offsetofend(struct idpf_q_vector, __cacheline_group_begin__read_write) == (440 + 2 * sizeof(struct dim)) 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:17:16: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 | (sz)) | ~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ../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) | ^~~~ ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: note: expression evaluates to '784 == 776' 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:18:59: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 19 | (sz)) | ~~~~~ ../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. make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/intel/idpf/idpf_dev.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/intel/idpf/idpf_ethtool.c:4: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:22: ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: error: static assertion failed due to requirement '__builtin_offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - (__builtin_offsetof(struct idpf_q_vector, __cacheline_group_begin__read_write) + sizeof ((((struct idpf_q_vector *)0)->__cacheline_group_begin__read_write))) == (440 + 2 * sizeof(struct dim))': offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - offsetofend(struct idpf_q_vector, __cacheline_group_begin__read_write) == (440 + 2 * sizeof(struct dim)) 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:17:16: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 | (sz)) | ~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ../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) | ^~~~ ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: note: expression evaluates to '784 == 776' 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:18:59: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 19 | (sz)) | ~~~~~ ../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. make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/intel/idpf/idpf_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/intel/idpf/idpf_main.c:4: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:22: ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: error: static assertion failed due to requirement '__builtin_offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - (__builtin_offsetof(struct idpf_q_vector, __cacheline_group_begin__read_write) + sizeof ((((struct idpf_q_vector *)0)->__cacheline_group_begin__read_write))) == (440 + 2 * sizeof(struct dim))': offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - offsetofend(struct idpf_q_vector, __cacheline_group_begin__read_write) == (440 + 2 * sizeof(struct dim)) 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:17:16: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 | (sz)) | ~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ../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) | ^~~~ ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: note: expression evaluates to '784 == 776' 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:18:59: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 19 | (sz)) | ~~~~~ ../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) | ^~~~ ../drivers/net/ethernet/intel/idpf/idpf_main.c:167:39: warning: shift count >= width of type [-Wshift-count-overflow] 167 | err = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64)); | ^~~~~~~~~~~~~~~~ ../include/linux/dma-mapping.h:77:54: note: expanded from macro 'DMA_BIT_MASK' 77 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^ ~~~ 1 warning and 1 error generated. make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/intel/idpf/idpf_main.o] Error 1 In file included from ../drivers/net/ethernet/intel/idpf/idpf_lib.c:4: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:22: ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: error: static assertion failed due to requirement '__builtin_offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - (__builtin_offsetof(struct idpf_q_vector, __cacheline_group_begin__read_write) + sizeof ((((struct idpf_q_vector *)0)->__cacheline_group_begin__read_write))) == (440 + 2 * sizeof(struct dim))': offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - offsetofend(struct idpf_q_vector, __cacheline_group_begin__read_write) == (440 + 2 * sizeof(struct dim)) 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:17:16: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 | (sz)) | ~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ../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) | ^~~~ ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: note: expression evaluates to '784 == 776' 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:18:59: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 19 | (sz)) | ~~~~~ ../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. make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/intel/idpf/idpf_lib.o] Error 1 In file included from ../drivers/net/ethernet/intel/idpf/idpf_vf_dev.c:4: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:22: ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: error: static assertion failed due to requirement '__builtin_offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - (__builtin_offsetof(struct idpf_q_vector, __cacheline_group_begin__read_write) + sizeof ((((struct idpf_q_vector *)0)->__cacheline_group_begin__read_write))) == (440 + 2 * sizeof(struct dim))': offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - offsetofend(struct idpf_q_vector, __cacheline_group_begin__read_write) == (440 + 2 * sizeof(struct dim)) 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:17:16: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 | (sz)) | ~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ../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) | ^~~~ ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: note: expression evaluates to '784 == 776' 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:18:59: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 19 | (sz)) | ~~~~~ ../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. make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/intel/idpf/idpf_vf_dev.o] Error 1 In file included from ../drivers/net/ethernet/intel/idpf/idpf_virtchnl.c:6: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:22: ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: error: static assertion failed due to requirement '__builtin_offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - (__builtin_offsetof(struct idpf_q_vector, __cacheline_group_begin__read_write) + sizeof ((((struct idpf_q_vector *)0)->__cacheline_group_begin__read_write))) == (440 + 2 * sizeof(struct dim))': offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - offsetofend(struct idpf_q_vector, __cacheline_group_begin__read_write) == (440 + 2 * sizeof(struct dim)) 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:17:16: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 | (sz)) | ~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ../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) | ^~~~ ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: note: expression evaluates to '784 == 776' 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:18:59: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 19 | (sz)) | ~~~~~ ../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. make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/intel/idpf/idpf_virtchnl.o] Error 1 In file included from ../drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c:7: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:22: ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: error: static assertion failed due to requirement '__builtin_offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - (__builtin_offsetof(struct idpf_q_vector, __cacheline_group_begin__read_write) + sizeof ((((struct idpf_q_vector *)0)->__cacheline_group_begin__read_write))) == (440 + 2 * sizeof(struct dim))': offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - offsetofend(struct idpf_q_vector, __cacheline_group_begin__read_write) == (440 + 2 * sizeof(struct dim)) 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:17:16: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 | (sz)) | ~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ../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) | ^~~~ ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: note: expression evaluates to '784 == 776' 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:18:59: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 19 | (sz)) | ~~~~~ ../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. make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.o] Error 1 In file included from ../drivers/net/ethernet/intel/idpf/idpf_txrx.c:7: In file included from ../drivers/net/ethernet/intel/idpf/idpf.h:22: ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: error: static assertion failed due to requirement '__builtin_offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - (__builtin_offsetof(struct idpf_q_vector, __cacheline_group_begin__read_write) + sizeof ((((struct idpf_q_vector *)0)->__cacheline_group_begin__read_write))) == (440 + 2 * sizeof(struct dim))': offsetof(struct idpf_q_vector, __cacheline_group_end__read_write) - offsetofend(struct idpf_q_vector, __cacheline_group_begin__read_write) == (440 + 2 * sizeof(struct dim)) 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:17:16: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 | (sz)) | ~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ../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) | ^~~~ ../drivers/net/ethernet/intel/idpf/idpf_txrx.h:440:1: note: expression evaluates to '784 == 776' 440 | libeth_cacheline_set_assert(struct idpf_q_vector, 112, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 441 | 440 + 2 * sizeof(struct dim), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 442 | 8 + sizeof(cpumask_var_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:62:2: note: expanded from macro 'libeth_cacheline_set_assert' 62 | libeth_cacheline_group_assert(type, read_write, rw); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/net/libeth/cache.h:18:59: note: expanded from macro 'libeth_cacheline_group_assert' 17 | static_assert(offsetof(type, __cacheline_group_end__##grp) - \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | offsetofend(type, __cacheline_group_begin__##grp) == \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 19 | (sz)) | ~~~~~ ../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. make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/intel/idpf/idpf_txrx.o] Error 1 make[7]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/intel/idpf] Error 2 make[6]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/intel] Error 2 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [../scripts/Makefile.build:478: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:478: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:478: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1936: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2