Documentation/.renames.txt: warning: ignored by one of the .gitignore files clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:631:6: warning: variable 'node_num' set but not used [-Wunused-but-set-variable] 631 | int node_num = 0; | ^ ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:755:6: warning: variable 'node_size' set but not used [-Wunused-but-set-variable] 755 | u32 node_size; | ^ 2 warnings generated. clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] In file included from ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:7: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.h:7:9: warning: '_NBL_HW_LEONIS_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 7 | #ifndef _NBL_HW_LEONIS_H_ | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.h:8:9: note: '_NBL_HW_EONIS_H_' is defined here; did you mean '_NBL_HW_LEONIS_H_'? 8 | #define _NBL_HW_EONIS_H_ | ^~~~~~~~~~~~~~~~ | _NBL_HW_LEONIS_H_ ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:700:18: warning: variable 'pdev' set but not used [-Wunused-but-set-variable] 700 | struct pci_dev *pdev; | ^ 2 warnings generated. clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_flow_leonis.c:724:21: warning: variable 'hw_ops' set but not used [-Wunused-but-set-variable] 724 | struct nbl_hw_ops *hw_ops; | ^ ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_flow_leonis.c:812:21: warning: variable 'hw_ops' set but not used [-Wunused-but-set-variable] 812 | struct nbl_hw_ops *hw_ops; | ^ 2 warnings generated. clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_queue_leonis.c:1007:25: warning: variable 'queue_info' set but not used [-Wunused-but-set-variable] 1007 | struct nbl_queue_info *queue_info = NULL; | ^ 1 warning generated. clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:389:6: warning: variable 'vsi_id' set but not used [-Wunused-but-set-variable] 389 | u16 vsi_id; | ^ 1 warning generated. clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] In file included from ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis_regs.c:8: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.h:7:9: warning: '_NBL_HW_LEONIS_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 7 | #ifndef _NBL_HW_LEONIS_H_ | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.h:8:9: note: '_NBL_HW_EONIS_H_' is defined here; did you mean '_NBL_HW_LEONIS_H_'? 8 | #define _NBL_HW_EONIS_H_ | ^~~~~~~~~~~~~~~~ | _NBL_HW_LEONIS_H_ 1 warning generated. clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_interrupt.c:12:17: warning: variable 'dev' set but not used [-Wunused-but-set-variable] 12 | struct device *dev, *dma_dev; | ^ ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_interrupt.c:66:17: warning: variable 'dev' set but not used [-Wunused-but-set-variable] 66 | struct device *dev, *dma_dev; | ^ 2 warnings generated. clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_txrx.c:1877:25: warning: variable 'vector' set but not used [-Wunused-but-set-variable] 1877 | struct nbl_res_vector *vector = NULL; | ^ 1 warning generated. clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_vsi.c:94:24: warning: variable 'queue_mgt' set but not used [-Wunused-but-set-variable] 94 | struct nbl_queue_mgt *queue_mgt; | ^ 1 warning generated. clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.c:125:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] 125 | default: | ^ ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.c:125:2: note: insert 'break;' to avoid fall-through 125 | default: | ^ | break; ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.c:883:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 883 | int ret = 0; | ^ ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.c:1105:41: warning: variable '_eth_statistics' is not needed and will not be emitted [-Wunneeded-internal-declaration] 1105 | static struct nbl_leonis_eth_stats_info _eth_statistics[] = { | ^~~~~~~~~~~~~~~ 3 warnings generated. clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] ../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:584:7: warning: variable 'netdev_open' set but not used [-Wunused-but-set-variable] 584 | bool netdev_open = true; | ^ 1 warning generated. clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] ../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2127:38: warning: variable 'param' set but not used [-Wunused-but-set-variable] 2127 | struct nbl_chan_param_cfg_msix_map *param; | ^ 1 warning generated. clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] ../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev.c:187:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 187 | int ret; | ^ In file included from ../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev.c:7: 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/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:480:4: warning: call to '__write_overflow_field' declared with 'warning' attribute: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Wattribute-warning] 480 | __write_overflow_field(p_size_field, size); | ^ 2 warnings generated. clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:132 function parameter 'key' not described in 'nbl_common_init_index_table' Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:132 expecting prototype for 1024(). Prototype was for nbl_common_init_index_table() instead Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:293 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * alloc available index Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:358 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * if the key has alloced available index, return the base index; Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:389 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * if the key has alloced available index, return the base index; Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:443 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * alloc a hash table Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:479 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * alloc a hash node, and add to hlist_head Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:531 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * get a hash node, return the data if node exist Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:572 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * free a hash node Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:689 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * alloc a hash x and y axis table Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:744 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * alloc a hash x and y node, and add to hlist_head Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:827 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * get a hash node, return the data if node exist Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:885 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * free a hash node Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:28 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * In virtio mode, the emulator triggers the configuration of WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/net/ethernet/nebula-matrix/nbl/nbl_core.o Documentation/.renames.txt: warning: ignored by one of the .gitignore files clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_vsi.c:94:24: warning: variable 'queue_mgt' set but not used [-Wunused-but-set-variable] 94 | struct nbl_queue_mgt *queue_mgt; | ^ 1 warning generated. clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_interrupt.c:12:17: warning: variable 'dev' set but not used [-Wunused-but-set-variable] 12 | struct device *dev, *dma_dev; | ^ ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_interrupt.c:66:17: warning: variable 'dev' set but not used [-Wunused-but-set-variable] 66 | struct device *dev, *dma_dev; | ^ 2 warnings generated. clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] In file included from ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis_regs.c:8: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.h:7:9: warning: '_NBL_HW_LEONIS_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 7 | #ifndef _NBL_HW_LEONIS_H_ | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.h:8:9: note: '_NBL_HW_EONIS_H_' is defined here; did you mean '_NBL_HW_LEONIS_H_'? 8 | #define _NBL_HW_EONIS_H_ | ^~~~~~~~~~~~~~~~ | _NBL_HW_LEONIS_H_ 1 warning generated. clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:389:6: warning: variable 'vsi_id' set but not used [-Wunused-but-set-variable] 389 | u16 vsi_id; | ^ 1 warning generated. clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.c:125:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] 125 | default: | ^ ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.c:125:2: note: insert 'break;' to avoid fall-through 125 | default: | ^ | break; ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.c:883:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 883 | int ret = 0; | ^ ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.c:1105:41: warning: variable '_eth_statistics' is not needed and will not be emitted [-Wunneeded-internal-declaration] 1105 | static struct nbl_leonis_eth_stats_info _eth_statistics[] = { | ^~~~~~~~~~~~~~~ 3 warnings generated. clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:631:6: warning: variable 'node_num' set but not used [-Wunused-but-set-variable] 631 | int node_num = 0; | ^ ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:755:6: warning: variable 'node_size' set but not used [-Wunused-but-set-variable] 755 | u32 node_size; | ^ 2 warnings generated. clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_queue_leonis.c:1007:25: warning: variable 'queue_info' set but not used [-Wunused-but-set-variable] 1007 | struct nbl_queue_info *queue_info = NULL; | ^ 1 warning generated. Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:132 function parameter 'key' not described in 'nbl_common_init_index_table' Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:132 expecting prototype for 1024(). Prototype was for nbl_common_init_index_table() instead Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:293 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * alloc available index Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:358 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * if the key has alloced available index, return the base index; Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:389 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * if the key has alloced available index, return the base index; Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:443 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * alloc a hash table Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:479 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * alloc a hash node, and add to hlist_head Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:531 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * get a hash node, return the data if node exist Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:572 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * free a hash node Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:689 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * alloc a hash x and y axis table Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:744 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * alloc a hash x and y node, and add to hlist_head Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:827 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * get a hash node, return the data if node exist Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:885 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * free a hash node clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_flow_leonis.c:724:21: warning: variable 'hw_ops' set but not used [-Wunused-but-set-variable] 724 | struct nbl_hw_ops *hw_ops; | ^ ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_flow_leonis.c:812:21: warning: variable 'hw_ops' set but not used [-Wunused-but-set-variable] 812 | struct nbl_hw_ops *hw_ops; | ^ 2 warnings generated. clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] ../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev.c:737:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 737 | int ret; | ^ In file included from ../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev.c:7: 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/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:480:4: warning: call to '__write_overflow_field' declared with 'warning' attribute: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Wattribute-warning] 480 | __write_overflow_field(p_size_field, size); | ^ 2 warnings generated. clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_txrx.c:1877:25: warning: variable 'vector' set but not used [-Wunused-but-set-variable] 1877 | struct nbl_res_vector *vector = NULL; | ^ 1 warning generated. clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] ../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:1022:26: warning: variable 'vector' set but not used [-Wunused-but-set-variable] 1022 | struct nbl_serv_vector *vector; | ^ ../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:1305:7: warning: variable 'netdev_open' set but not used [-Wunused-but-set-variable] 1305 | bool netdev_open = true; | ^ ../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2085:28: warning: variable 'ring_mgt' set but not used [-Wunused-but-set-variable] 2085 | struct nbl_serv_ring_mgt *ring_mgt; | ^ ../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2735:36: warning: variable 'net_resource_mgt' set but not used [-Wunused-but-set-variable] 2735 | struct nbl_serv_net_resource_mgt *net_resource_mgt; | ^ 4 warnings generated. clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] In file included from ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:7: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.h:7:9: warning: '_NBL_HW_LEONIS_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 7 | #ifndef _NBL_HW_LEONIS_H_ | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.h:8:9: note: '_NBL_HW_EONIS_H_' is defined here; did you mean '_NBL_HW_LEONIS_H_'? 8 | #define _NBL_HW_EONIS_H_ | ^~~~~~~~~~~~~~~~ | _NBL_HW_LEONIS_H_ ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:700:18: warning: variable 'pdev' set but not used [-Wunused-but-set-variable] 700 | struct pci_dev *pdev; | ^ 2 warnings generated. Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:29 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * In virtio mode, the emulator triggers the configuration of clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] ../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2127:38: warning: variable 'param' set but not used [-Wunused-but-set-variable] 2127 | struct nbl_chan_param_cfg_msix_map *param; | ^ 1 warning generated. WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/net/ethernet/nebula-matrix/nbl/nbl_core.o New errors added --- /tmp/tmp.2bMQTkKbYH 2025-12-23 01:20:20.005501795 -0500 +++ /tmp/tmp.2CJWSxzlQR 2025-12-23 01:20:51.173285695 -0500 @@ -3,7 +2,0 @@ -../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:631:6: warning: variable 'node_num' set but not used [-Wunused-but-set-variable] - 631 | int node_num = 0; - | ^ -../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:755:6: warning: variable 'node_size' set but not used [-Wunused-but-set-variable] - 755 | u32 node_size; - | ^ -2 warnings generated. @@ -12,12 +5,4 @@ -In file included from ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:7: -../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.h:7:9: warning: '_NBL_HW_LEONIS_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] - 7 | #ifndef _NBL_HW_LEONIS_H_ - | ^~~~~~~~~~~~~~~~~ -../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.h:8:9: note: '_NBL_HW_EONIS_H_' is defined here; did you mean '_NBL_HW_LEONIS_H_'? - 8 | #define _NBL_HW_EONIS_H_ - | ^~~~~~~~~~~~~~~~ - | _NBL_HW_LEONIS_H_ -../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:700:18: warning: variable 'pdev' set but not used [-Wunused-but-set-variable] - 700 | struct pci_dev *pdev; - | ^ -2 warnings generated. +../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_vsi.c:94:24: warning: variable 'queue_mgt' set but not used [-Wunused-but-set-variable] + 94 | struct nbl_queue_mgt *queue_mgt; + | ^ +1 warning generated. @@ -25,7 +9,0 @@ -../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_flow_leonis.c:724:21: warning: variable 'hw_ops' set but not used [-Wunused-but-set-variable] - 724 | struct nbl_hw_ops *hw_ops; - | ^ -../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_flow_leonis.c:812:21: warning: variable 'hw_ops' set but not used [-Wunused-but-set-variable] - 812 | struct nbl_hw_ops *hw_ops; - | ^ -2 warnings generated. @@ -33,4 +11,7 @@ -../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_queue_leonis.c:1007:25: warning: variable 'queue_info' set but not used [-Wunused-but-set-variable] - 1007 | struct nbl_queue_info *queue_info = NULL; - | ^ -1 warning generated. +../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_interrupt.c:12:17: warning: variable 'dev' set but not used [-Wunused-but-set-variable] + 12 | struct device *dev, *dma_dev; + | ^ +../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_interrupt.c:66:17: warning: variable 'dev' set but not used [-Wunused-but-set-variable] + 66 | struct device *dev, *dma_dev; + | ^ +2 warnings generated. @@ -38,4 +18,0 @@ -../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:389:6: warning: variable 'vsi_id' set but not used [-Wunused-but-set-variable] - 389 | u16 vsi_id; - | ^ -1 warning generated. @@ -53,18 +30,3 @@ -clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] -../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_interrupt.c:12:17: warning: variable 'dev' set but not used [-Wunused-but-set-variable] - 12 | struct device *dev, *dma_dev; - | ^ -../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_interrupt.c:66:17: warning: variable 'dev' set but not used [-Wunused-but-set-variable] - 66 | struct device *dev, *dma_dev; - | ^ -2 warnings generated. -clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] -../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_txrx.c:1877:25: warning: variable 'vector' set but not used [-Wunused-but-set-variable] - 1877 | struct nbl_res_vector *vector = NULL; - | ^ -1 warning generated. -clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] -clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] -../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_vsi.c:94:24: warning: variable 'queue_mgt' set but not used [-Wunused-but-set-variable] - 94 | struct nbl_queue_mgt *queue_mgt; - | ^ +../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:389:6: warning: variable 'vsi_id' set but not used [-Wunused-but-set-variable] + 389 | u16 vsi_id; + | ^ @@ -88,10 +49,0 @@ -../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:584:7: warning: variable 'netdev_open' set but not used [-Wunused-but-set-variable] - 584 | bool netdev_open = true; - | ^ -1 warning generated. -clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] -../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2127:38: warning: variable 'param' set but not used [-Wunused-but-set-variable] - 2127 | struct nbl_chan_param_cfg_msix_map *param; - | ^ -1 warning generated. -clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] @@ -99,2 +51,5 @@ -../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev.c:187:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] - 187 | int ret; +../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:631:6: warning: variable 'node_num' set but not used [-Wunused-but-set-variable] + 631 | int node_num = 0; + | ^ +../drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:755:6: warning: variable 'node_size' set but not used [-Wunused-but-set-variable] + 755 | u32 node_size; @@ -102,14 +56,0 @@ -In file included from ../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev.c:7: -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/api.h:57: -In file included from ../arch/x86/include/asm/paravirt.h:21: -In file included from ../include/linux/cpumask.h:11: -In file included from ../include/linux/bitmap.h:13: -In file included from ../include/linux/string.h:386: -../include/linux/fortify-string.h:480:4: warning: call to '__write_overflow_field' declared with 'warning' attribute: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Wattribute-warning] - 480 | __write_overflow_field(p_size_field, size); - | ^ @@ -117,0 +59,4 @@ +../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_queue_leonis.c:1007:25: warning: variable 'queue_info' set but not used [-Wunused-but-set-variable] + 1007 | struct nbl_queue_info *queue_info = NULL; + | ^ +1 warning generated. @@ -142 +87,60 @@ -Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:28 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst +clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] +../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_flow_leonis.c:724:21: warning: variable 'hw_ops' set but not used [-Wunused-but-set-variable] + 724 | struct nbl_hw_ops *hw_ops; + | ^ +../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_flow_leonis.c:812:21: warning: variable 'hw_ops' set but not used [-Wunused-but-set-variable] + 812 | struct nbl_hw_ops *hw_ops; + | ^ +2 warnings generated. +clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] +../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev.c:737:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] + 737 | int ret; + | ^ +In file included from ../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev.c:7: +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/api.h:57: +In file included from ../arch/x86/include/asm/paravirt.h:21: +In file included from ../include/linux/cpumask.h:11: +In file included from ../include/linux/bitmap.h:13: +In file included from ../include/linux/string.h:386: +../include/linux/fortify-string.h:480:4: warning: call to '__write_overflow_field' declared with 'warning' attribute: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Wattribute-warning] + 480 | __write_overflow_field(p_size_field, size); + | ^ +2 warnings generated. +clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] +../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_txrx.c:1877:25: warning: variable 'vector' set but not used [-Wunused-but-set-variable] + 1877 | struct nbl_res_vector *vector = NULL; + | ^ +1 warning generated. +clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] +../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:1022:26: warning: variable 'vector' set but not used [-Wunused-but-set-variable] + 1022 | struct nbl_serv_vector *vector; + | ^ +../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:1305:7: warning: variable 'netdev_open' set but not used [-Wunused-but-set-variable] + 1305 | bool netdev_open = true; + | ^ +../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2085:28: warning: variable 'ring_mgt' set but not used [-Wunused-but-set-variable] + 2085 | struct nbl_serv_ring_mgt *ring_mgt; + | ^ +../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2735:36: warning: variable 'net_resource_mgt' set but not used [-Wunused-but-set-variable] + 2735 | struct nbl_serv_net_resource_mgt *net_resource_mgt; + | ^ +4 warnings generated. +clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] +In file included from ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:7: +../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.h:7:9: warning: '_NBL_HW_LEONIS_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] + 7 | #ifndef _NBL_HW_LEONIS_H_ + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.h:8:9: note: '_NBL_HW_EONIS_H_' is defined here; did you mean '_NBL_HW_LEONIS_H_'? + 8 | #define _NBL_HW_EONIS_H_ + | ^~~~~~~~~~~~~~~~ + | _NBL_HW_LEONIS_H_ +../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:700:18: warning: variable 'pdev' set but not used [-Wunused-but-set-variable] + 700 | struct pci_dev *pdev; + | ^ +2 warnings generated. +Warning: ../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:29 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst @@ -143,0 +148,5 @@ +clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] +../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2127:38: warning: variable 'param' set but not used [-Wunused-but-set-variable] + 2127 | struct nbl_chan_param_cfg_msix_map *param; + | ^ +1 warning generated. Per-file breakdown --- /tmp/tmp.PlJVpI79qH 2025-12-23 01:21:04.006196786 -0500 +++ /tmp/tmp.hjEFlP4VkK 2025-12-23 01:21:04.008196772 -0500 @@ -4 +4 @@ - 1 ../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c + 4 ../drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c