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:265:18: warning: variable 'pdev' set but not used [-Wunused-but-set-variable] 265 | 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_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:388:6: warning: variable 'vsi_id' set but not used [-Wunused-but-set-variable] 388 | 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] 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_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. 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: 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] ../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] 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_hw_leonis/nbl_resource_leonis.c:388:6: warning: variable 'vsi_id' set but not used [-Wunused-but-set-variable] 388 | 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_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_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] 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_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_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. 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] 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: modpost: missing MODULE_DESCRIPTION() in drivers/net/ethernet/nebula-matrix/nbl/nbl_core.o New errors added --- /tmp/tmp.bVpBMOwSSx 2025-12-23 01:05:41.131701458 -0500 +++ /tmp/tmp.dwoOUIVdOs 2025-12-23 01:07:26.781967380 -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. @@ -10,0 +4,4 @@ +../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. @@ -12 +9,2 @@ -In file included from ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:7: +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: @@ -20,8 +17,0 @@ -../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:265:18: warning: variable 'pdev' set but not used [-Wunused-but-set-variable] - 265 | 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_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; - | ^ @@ -29,0 +20 @@ +clang: warning: no such include directory: '../../drivers/net/ethernet/nebula-matrix/nbl' [-Wmissing-include-dirs] @@ -35,11 +25,0 @@ -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] @@ -54,4 +34,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_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_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; + | ^ @@ -74,0 +54,16 @@ +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_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. @@ -98,0 +94,13 @@ +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. Per-file breakdown --- /tmp/tmp.dAMmcJHqwS 2025-12-23 01:08:34.533112862 -0500 +++ /tmp/tmp.MqCcoxbij6 2025-12-23 01:08:34.534168475 -0500 @@ -2,0 +3 @@ + 2 ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_flow_leonis.c