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: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] ../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_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] 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] 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] ../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] ../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_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_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_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. 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_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] 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_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.4PURhANAOZ 2025-12-23 01:14:52.216813844 -0500 +++ /tmp/tmp.ZiDkYtqdUc 2025-12-23 01:16:18.167201732 -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,6 +10,7 @@ -../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; - | ^ +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; + | ^ @@ -33,4 +18,0 @@ -../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. @@ -53,20 +34,0 @@ -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] @@ -88,3 +50,4 @@ -../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; - | ^ +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; + | ^ @@ -92,0 +56,15 @@ +../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_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. @@ -116,0 +95,23 @@ +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] +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_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