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_ 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] 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] 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] ../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: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_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] 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. WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/net/ethernet/nebula-matrix/nbl/nbl_core.o New errors added --- /tmp/tmp.FplZN320Ie 2025-12-23 01:01:58.555243898 -0500 +++ /tmp/tmp.mIaWXlBrQw 2025-12-23 01:03:54.647441331 -0500 @@ -3,6 +3,13 @@ -../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; - | ^ +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_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; + | ^ @@ -12 +19 @@ -In file included from ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:7: +In file included from ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis_regs.c:8: @@ -26,0 +34,14 @@ +../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. @@ -28,7 +48,0 @@ -../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. @@ -35,0 +50,7 @@ +../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. @@ -36,0 +58,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. @@ -60,0 +86,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:265:18: warning: variable 'pdev' set but not used [-Wunused-but-set-variable] + 265 | struct pci_dev *pdev; + | ^ +2 warnings generated. Per-file breakdown --- /tmp/tmp.Rn3AORGUls 2025-12-23 01:05:05.121951661 -0500 +++ /tmp/tmp.cpomM7KuxU 2025-12-23 01:05:05.122951654 -0500 @@ -2 +2,4 @@ - 1 ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.h + 3 ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.c + 1 ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c + 2 ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.h + 1 ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_queue_leonis.c @@ -4,0 +8 @@ + 1 ../drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_vsi.c