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 In file included from ../drivers/net/ethernet/broadcom/b44.c:17: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid.h:62: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:390: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/huawei/hinic/hinic_ethtool.c:17: In file included from ../include/linux/pci.h:27: In file included from ../include/linux/mod_devicetable.h:14: In file included from ../include/linux/uuid.h:11: In file included from ../include/linux/string.h:390: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/net/ethernet/broadcom/bcmsysport.c:49:1: warning: unused function 'txchk_readl' [-Wunused-function] 49 | BCM_SYSPORT_IO_MACRO(txchk, SYS_PORT_TXCHK_OFFSET); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bcmsysport.c:32:19: note: expanded from macro 'BCM_SYSPORT_IO_MACRO' 32 | static inline u32 name##_readl(struct bcm_sysport_priv *priv, u32 off) \ | ^~~~~~~~~~~~ :206:1: note: expanded from here 206 | txchk_readl | ^~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bcmsysport.c:49:1: warning: unused function 'txchk_writel' [-Wunused-function] 49 | BCM_SYSPORT_IO_MACRO(txchk, SYS_PORT_TXCHK_OFFSET); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bcmsysport.c:37:20: note: expanded from macro 'BCM_SYSPORT_IO_MACRO' 37 | static inline void name##_writel(struct bcm_sysport_priv *priv, \ | ^~~~~~~~~~~~~ :207:1: note: expanded from here 207 | txchk_writel | ^~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bcmsysport.c:51:1: warning: unused function 'tbuf_readl' [-Wunused-function] 51 | BCM_SYSPORT_IO_MACRO(tbuf, SYS_PORT_TBUF_OFFSET); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bcmsysport.c:32:19: note: expanded from macro 'BCM_SYSPORT_IO_MACRO' 32 | static inline u32 name##_readl(struct bcm_sysport_priv *priv, u32 off) \ | ^~~~~~~~~~~~ :210:1: note: expanded from here 210 | tbuf_readl | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/bcmsysport.c:51:1: warning: unused function 'tbuf_writel' [-Wunused-function] 51 | BCM_SYSPORT_IO_MACRO(tbuf, SYS_PORT_TBUF_OFFSET); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bcmsysport.c:37:20: note: expanded from macro 'BCM_SYSPORT_IO_MACRO' 37 | static inline void name##_writel(struct bcm_sysport_priv *priv, \ | ^~~~~~~~~~~~~ :211:1: note: expanded from here 211 | tbuf_writel | ^~~~~~~~~~~ 4 warnings generated. ../scripts/Makefile.build:229: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/net/ethernet/ni/nixge.c:1271:12: warning: cast to smaller integer type 'enum nixge_version' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1271 | version = (enum nixge_version)of_id->data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../scripts/Makefile.build:229: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/ti/cpsw_ale.c:241:1: warning: unused function 'cpsw_ale_get_mcast_state' [-Wunused-function] 241 | DEFINE_ALE_FIELD(mcast_state, 62, 2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/ti/cpsw_ale.c:166:19: note: expanded from macro 'DEFINE_ALE_FIELD' 166 | static inline int cpsw_ale_get_##name(u32 *ale_entry) \ | ^~~~~~~~~~~~~~~~~~~ :182:1: note: expanded from here 182 | cpsw_ale_get_mcast_state | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/ti/cpsw_ale.c:245:1: warning: unused function 'cpsw_ale_get_port_num' [-Wunused-function] 245 | DEFINE_ALE_FIELD1(port_num, 66) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/ti/cpsw_ale.c:176:19: note: expanded from macro 'DEFINE_ALE_FIELD1' 176 | static inline int cpsw_ale_get_##name(u32 *ale_entry, u32 bits) \ | ^~~~~~~~~~~~~~~~~~~ :190:1: note: expanded from here 190 | cpsw_ale_get_port_num | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/ti/cpsw_ale.c:246:1: warning: unused function 'cpsw_ale_get_blocked' [-Wunused-function] 246 | DEFINE_ALE_FIELD(blocked, 65, 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/ti/cpsw_ale.c:166:19: note: expanded from macro 'DEFINE_ALE_FIELD' 166 | static inline int cpsw_ale_get_##name(u32 *ale_entry) \ | ^~~~~~~~~~~~~~~~~~~ :192:1: note: expanded from here 192 | cpsw_ale_get_blocked | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/ti/cpsw_ale.c:247:1: warning: unused function 'cpsw_ale_get_secure' [-Wunused-function] 247 | DEFINE_ALE_FIELD(secure, 64, 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/ti/cpsw_ale.c:166:19: note: expanded from macro 'DEFINE_ALE_FIELD' 166 | static inline int cpsw_ale_get_##name(u32 *ale_entry) \ | ^~~~~~~~~~~~~~~~~~~ :194:1: note: expanded from here 194 | cpsw_ale_get_secure | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/ti/cpsw_ale.c:248:1: warning: unused function 'cpsw_ale_set_mcast' [-Wunused-function] 248 | DEFINE_ALE_FIELD(mcast, 40, 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/ti/cpsw_ale.c:170:20: note: expanded from macro 'DEFINE_ALE_FIELD' 170 | static inline void cpsw_ale_set_##name(u32 *ale_entry, u32 value) \ | ^~~~~~~~~~~~~~~~~~~ :197:1: note: expanded from here 197 | cpsw_ale_set_mcast | ^~~~~~~~~~~~~~~~~~ 5 warnings generated. ../scripts/Makefile.build:229: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:229: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:2041:19: warning: cast to smaller integer type 'enum xgene_enet_id' from 'const void *' [-Wvoid-pointer-to-enum-cast] 2041 | pdata->enet_id = (enum xgene_enet_id)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. WARNING: modpost: missing MODULE_DESCRIPTION() in security/tomoyo/tomoyo.o 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 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