* [opencloudos:next 6945/13046] drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h:721:43: warning: 'hclge_dbg_tqp_reg' defined but not used
@ 2024-10-23 20:53 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-10-23 20:53 UTC (permalink / raw)
To: kaixuxia, frankjpliu, kasong, sagazchen, kernelxing, aurelianliu,
deshengwu, flyingpeng, jingqunli, jason.zeng, wu.zheng,
yingbao.jia, pei.p.jia
Cc: oe-kbuild-all
tree: https://gitee.com/OpenCloudOS/OpenCloudOS-Kernel.git next
head: ce9f9d823a41831d622fa11e29c3d620c044f51b
commit: 80e44dd85d0746f2749a9fec5466eb9a4f2a1d9a [6945/13046] net: hns3: dump more reg info based on ras mod
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20241024/202410240416.BVbVUSco-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241024/202410240416.BVbVUSco-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410240416.BVbVUSco-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.h:8,
from drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:26:
>> drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h:721:43: warning: 'hclge_dbg_tqp_reg' defined but not used [-Wunused-const-variable=]
721 | static const struct hclge_dbg_dfx_message hclge_dbg_tqp_reg[] = {
| ^~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h:649:43: warning: 'hclge_dbg_rcb_reg' defined but not used [-Wunused-const-variable=]
649 | static const struct hclge_dbg_dfx_message hclge_dbg_rcb_reg[] = {
| ^~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h:493:43: warning: 'hclge_dbg_ppp_reg' defined but not used [-Wunused-const-variable=]
493 | static const struct hclge_dbg_dfx_message hclge_dbg_ppp_reg[] = {
| ^~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h:463:43: warning: 'hclge_dbg_rtc_reg' defined but not used [-Wunused-const-variable=]
463 | static const struct hclge_dbg_dfx_message hclge_dbg_rtc_reg[] = {
| ^~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h:391:43: warning: 'hclge_dbg_ncsi_reg' defined but not used [-Wunused-const-variable=]
391 | static const struct hclge_dbg_dfx_message hclge_dbg_ncsi_reg[] = {
| ^~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h:375:43: warning: 'hclge_dbg_rpu_reg_1' defined but not used [-Wunused-const-variable=]
375 | static const struct hclge_dbg_dfx_message hclge_dbg_rpu_reg_1[] = {
| ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h:366:43: warning: 'hclge_dbg_rpu_reg_0' defined but not used [-Wunused-const-variable=]
366 | static const struct hclge_dbg_dfx_message hclge_dbg_rpu_reg_0[] = {
| ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h:301:43: warning: 'hclge_dbg_igu_egu_reg' defined but not used [-Wunused-const-variable=]
301 | static const struct hclge_dbg_dfx_message hclge_dbg_igu_egu_reg[] = {
| ^~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h:292:43: warning: 'hclge_dbg_ssu_reg_2' defined but not used [-Wunused-const-variable=]
292 | static const struct hclge_dbg_dfx_message hclge_dbg_ssu_reg_2[] = {
| ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h:185:43: warning: 'hclge_dbg_ssu_reg_1' defined but not used [-Wunused-const-variable=]
185 | static const struct hclge_dbg_dfx_message hclge_dbg_ssu_reg_1[] = {
| ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h:113:43: warning: 'hclge_dbg_ssu_reg_0' defined but not used [-Wunused-const-variable=]
113 | static const struct hclge_dbg_dfx_message hclge_dbg_ssu_reg_0[] = {
| ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h:97:43: warning: 'hclge_dbg_bios_common_reg' defined but not used [-Wunused-const-variable=]
97 | static const struct hclge_dbg_dfx_message hclge_dbg_bios_common_reg[] = {
| ^~~~~~~~~~~~~~~~~~~~~~~~~
vim +/hclge_dbg_tqp_reg +721 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h
27cf979a15841e liuzhongzhu 2018-12-15 648
e4b9146849f246 Rikard Falkeborn 2020-09-22 @649 static const struct hclge_dbg_dfx_message hclge_dbg_rcb_reg[] = {
27cf979a15841e liuzhongzhu 2018-12-15 650 {false, "Reserved"},
27cf979a15841e liuzhongzhu 2018-12-15 651 {true, "FSM_DFX_ST0"},
27cf979a15841e liuzhongzhu 2018-12-15 652 {true, "FSM_DFX_ST1"},
27cf979a15841e liuzhongzhu 2018-12-15 653 {true, "FSM_DFX_ST2"},
27cf979a15841e liuzhongzhu 2018-12-15 654 {true, "FIFO_DFX_ST0"},
27cf979a15841e liuzhongzhu 2018-12-15 655 {true, "FIFO_DFX_ST1"},
27cf979a15841e liuzhongzhu 2018-12-15 656
27cf979a15841e liuzhongzhu 2018-12-15 657 {true, "FIFO_DFX_ST2"},
27cf979a15841e liuzhongzhu 2018-12-15 658 {true, "FIFO_DFX_ST3"},
27cf979a15841e liuzhongzhu 2018-12-15 659 {true, "FIFO_DFX_ST4"},
27cf979a15841e liuzhongzhu 2018-12-15 660 {true, "FIFO_DFX_ST5"},
27cf979a15841e liuzhongzhu 2018-12-15 661 {true, "FIFO_DFX_ST6"},
27cf979a15841e liuzhongzhu 2018-12-15 662 {true, "FIFO_DFX_ST7"},
27cf979a15841e liuzhongzhu 2018-12-15 663
27cf979a15841e liuzhongzhu 2018-12-15 664 {true, "FIFO_DFX_ST8"},
27cf979a15841e liuzhongzhu 2018-12-15 665 {true, "FIFO_DFX_ST9"},
27cf979a15841e liuzhongzhu 2018-12-15 666 {true, "FIFO_DFX_ST10"},
27cf979a15841e liuzhongzhu 2018-12-15 667 {true, "FIFO_DFX_ST11"},
27cf979a15841e liuzhongzhu 2018-12-15 668 {true, "Q_CREDIT_VLD_0"},
27cf979a15841e liuzhongzhu 2018-12-15 669 {true, "Q_CREDIT_VLD_1"},
27cf979a15841e liuzhongzhu 2018-12-15 670
27cf979a15841e liuzhongzhu 2018-12-15 671 {true, "Q_CREDIT_VLD_2"},
27cf979a15841e liuzhongzhu 2018-12-15 672 {true, "Q_CREDIT_VLD_3"},
27cf979a15841e liuzhongzhu 2018-12-15 673 {true, "Q_CREDIT_VLD_4"},
27cf979a15841e liuzhongzhu 2018-12-15 674 {true, "Q_CREDIT_VLD_5"},
27cf979a15841e liuzhongzhu 2018-12-15 675 {true, "Q_CREDIT_VLD_6"},
27cf979a15841e liuzhongzhu 2018-12-15 676 {true, "Q_CREDIT_VLD_7"},
27cf979a15841e liuzhongzhu 2018-12-15 677
27cf979a15841e liuzhongzhu 2018-12-15 678 {true, "Q_CREDIT_VLD_8"},
27cf979a15841e liuzhongzhu 2018-12-15 679 {true, "Q_CREDIT_VLD_9"},
27cf979a15841e liuzhongzhu 2018-12-15 680 {true, "Q_CREDIT_VLD_10"},
27cf979a15841e liuzhongzhu 2018-12-15 681 {true, "Q_CREDIT_VLD_11"},
27cf979a15841e liuzhongzhu 2018-12-15 682 {true, "Q_CREDIT_VLD_12"},
27cf979a15841e liuzhongzhu 2018-12-15 683 {true, "Q_CREDIT_VLD_13"},
27cf979a15841e liuzhongzhu 2018-12-15 684
27cf979a15841e liuzhongzhu 2018-12-15 685 {true, "Q_CREDIT_VLD_14"},
27cf979a15841e liuzhongzhu 2018-12-15 686 {true, "Q_CREDIT_VLD_15"},
27cf979a15841e liuzhongzhu 2018-12-15 687 {true, "Q_CREDIT_VLD_16"},
27cf979a15841e liuzhongzhu 2018-12-15 688 {true, "Q_CREDIT_VLD_17"},
27cf979a15841e liuzhongzhu 2018-12-15 689 {true, "Q_CREDIT_VLD_18"},
27cf979a15841e liuzhongzhu 2018-12-15 690 {true, "Q_CREDIT_VLD_19"},
27cf979a15841e liuzhongzhu 2018-12-15 691
27cf979a15841e liuzhongzhu 2018-12-15 692 {true, "Q_CREDIT_VLD_20"},
27cf979a15841e liuzhongzhu 2018-12-15 693 {true, "Q_CREDIT_VLD_21"},
27cf979a15841e liuzhongzhu 2018-12-15 694 {true, "Q_CREDIT_VLD_22"},
27cf979a15841e liuzhongzhu 2018-12-15 695 {true, "Q_CREDIT_VLD_23"},
27cf979a15841e liuzhongzhu 2018-12-15 696 {true, "Q_CREDIT_VLD_24"},
27cf979a15841e liuzhongzhu 2018-12-15 697 {true, "Q_CREDIT_VLD_25"},
27cf979a15841e liuzhongzhu 2018-12-15 698
27cf979a15841e liuzhongzhu 2018-12-15 699 {true, "Q_CREDIT_VLD_26"},
27cf979a15841e liuzhongzhu 2018-12-15 700 {true, "Q_CREDIT_VLD_27"},
27cf979a15841e liuzhongzhu 2018-12-15 701 {true, "Q_CREDIT_VLD_28"},
27cf979a15841e liuzhongzhu 2018-12-15 702 {true, "Q_CREDIT_VLD_29"},
27cf979a15841e liuzhongzhu 2018-12-15 703 {true, "Q_CREDIT_VLD_30"},
27cf979a15841e liuzhongzhu 2018-12-15 704 {true, "Q_CREDIT_VLD_31"},
27cf979a15841e liuzhongzhu 2018-12-15 705
27cf979a15841e liuzhongzhu 2018-12-15 706 {true, "GRO_BD_SERR_CNT"},
27cf979a15841e liuzhongzhu 2018-12-15 707 {true, "GRO_CONTEXT_SERR_CNT"},
27cf979a15841e liuzhongzhu 2018-12-15 708 {true, "RX_STASH_CFG_SERR_CNT"},
27cf979a15841e liuzhongzhu 2018-12-15 709 {true, "AXI_RD_FBD_SERR_CNT"},
27cf979a15841e liuzhongzhu 2018-12-15 710 {true, "GRO_BD_MERR_CNT"},
27cf979a15841e liuzhongzhu 2018-12-15 711 {true, "GRO_CONTEXT_MERR_CNT"},
27cf979a15841e liuzhongzhu 2018-12-15 712
27cf979a15841e liuzhongzhu 2018-12-15 713 {true, "RX_STASH_CFG_MERR_CNT"},
27cf979a15841e liuzhongzhu 2018-12-15 714 {true, "AXI_RD_FBD_MERR_CNT"},
27cf979a15841e liuzhongzhu 2018-12-15 715 {false, "Reserved"},
27cf979a15841e liuzhongzhu 2018-12-15 716 {false, "Reserved"},
27cf979a15841e liuzhongzhu 2018-12-15 717 {false, "Reserved"},
27cf979a15841e liuzhongzhu 2018-12-15 718 {false, "Reserved"},
27cf979a15841e liuzhongzhu 2018-12-15 719 };
27cf979a15841e liuzhongzhu 2018-12-15 720
e4b9146849f246 Rikard Falkeborn 2020-09-22 @721 static const struct hclge_dbg_dfx_message hclge_dbg_tqp_reg[] = {
27cf979a15841e liuzhongzhu 2018-12-15 722 {true, "q_num"},
27cf979a15841e liuzhongzhu 2018-12-15 723 {true, "RCB_CFG_RX_RING_TAIL"},
27cf979a15841e liuzhongzhu 2018-12-15 724 {true, "RCB_CFG_RX_RING_HEAD"},
27cf979a15841e liuzhongzhu 2018-12-15 725 {true, "RCB_CFG_RX_RING_FBDNUM"},
27cf979a15841e liuzhongzhu 2018-12-15 726 {true, "RCB_CFG_RX_RING_OFFSET"},
27cf979a15841e liuzhongzhu 2018-12-15 727 {true, "RCB_CFG_RX_RING_FBDOFFSET"},
27cf979a15841e liuzhongzhu 2018-12-15 728
27cf979a15841e liuzhongzhu 2018-12-15 729 {true, "RCB_CFG_RX_RING_PKTNUM_RECORD"},
27cf979a15841e liuzhongzhu 2018-12-15 730 {true, "RCB_CFG_TX_RING_TAIL"},
27cf979a15841e liuzhongzhu 2018-12-15 731 {true, "RCB_CFG_TX_RING_HEAD"},
27cf979a15841e liuzhongzhu 2018-12-15 732 {true, "RCB_CFG_TX_RING_FBDNUM"},
27cf979a15841e liuzhongzhu 2018-12-15 733 {true, "RCB_CFG_TX_RING_OFFSET"},
27cf979a15841e liuzhongzhu 2018-12-15 734 {true, "RCB_CFG_TX_RING_EBDNUM"},
27cf979a15841e liuzhongzhu 2018-12-15 735 };
27cf979a15841e liuzhongzhu 2018-12-15 736
:::::: The code at line 721 was first introduced by commit
:::::: e4b9146849f246e77da4787657a3a95c1b6d2833 net: hns3: Constify static structs
:::::: TO: Rikard Falkeborn <rikard.falkeborn@gmail.com>
:::::: CC: David S. Miller <davem@davemloft.net>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-10-23 20:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-23 20:53 [opencloudos:next 6945/13046] drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h:721:43: warning: 'hclge_dbg_tqp_reg' defined but not used kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.