========== build_clang - FAILED drivers/nvme/target/nvmet.o: warning: objtool: nvmet_ctrl_state_show() falls through to next function __cfi_nvmet_ctrl_host_traddr_open() ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:192:5: warning: variable 'frag_num' set but not used [-Wunused-but-set-variable] 192 | u8 frag_num = 0; | ^ ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:326:25: warning: variable 'nic_dev' set but not used [-Wunused-but-set-variable] 326 | struct hinic3_nic_dev *nic_dev; | ^ ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:372:6: warning: variable 'rx_bytes' set but not used [-Wunused-but-set-variable] 372 | u64 rx_bytes = 0; | ^ 3 warnings generated. ../drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:400:15: warning: variable 'tx_bytes' set but not used [-Wunused-but-set-variable] 400 | u32 hdr_len, tx_bytes; | ^ ../drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:401:17: warning: variable 'pkts' set but not used [-Wunused-but-set-variable] 401 | unsigned short pkts; | ^ ../drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:682:6: warning: variable 'wake' set but not used [-Wunused-but-set-variable] 682 | u64 wake = 0; | ^ 3 warnings generated. drivers/nvme/target/nvmet.o: warning: objtool: nvmet_ctrl_state_show() falls through to next function __cfi_nvmet_ctrl_host_traddr_open() ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:105:6: warning: variable 'cqe_len' set but not used [-Wunused-but-set-variable] 105 | int cqe_len; | ^ ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:288:5: warning: variable 'frag_num' set but not used [-Wunused-but-set-variable] 288 | u8 frag_num = 0; | ^ ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:422:25: warning: variable 'nic_dev' set but not used [-Wunused-but-set-variable] 422 | struct hinic3_nic_dev *nic_dev; | ^ ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:581:6: warning: variable 'rx_bytes' set but not used [-Wunused-but-set-variable] 581 | u64 rx_bytes = 0; | ^ 4 warnings generated. ../drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:413:15: warning: variable 'tx_bytes' set but not used [-Wunused-but-set-variable] 413 | u32 hdr_len, tx_bytes; | ^ ../drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:414:17: warning: variable 'pkts' set but not used [-Wunused-but-set-variable] 414 | unsigned short pkts; | ^ ../drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:775:6: warning: variable 'wake' set but not used [-Wunused-but-set-variable] 775 | u64 wake = 0; | ^ 3 warnings generated. New errors added --- /tmp/tmp.hYPsMBssvw 2024-12-12 04:24:46.140017871 -0800 +++ /tmp/tmp.x0oZ8lkbqx 2024-12-12 04:27:40.902114090 -0800 @@ -2,2 +2,5 @@ -../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:192:5: warning: variable 'frag_num' set but not used [-Wunused-but-set-variable] - 192 | u8 frag_num = 0; +../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:105:6: warning: variable 'cqe_len' set but not used [-Wunused-but-set-variable] + 105 | int cqe_len; + | ^ +../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:288:5: warning: variable 'frag_num' set but not used [-Wunused-but-set-variable] + 288 | u8 frag_num = 0; @@ -5,2 +8,2 @@ -../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:326:25: warning: variable 'nic_dev' set but not used [-Wunused-but-set-variable] - 326 | struct hinic3_nic_dev *nic_dev; +../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:422:25: warning: variable 'nic_dev' set but not used [-Wunused-but-set-variable] + 422 | struct hinic3_nic_dev *nic_dev; @@ -8,2 +11,2 @@ -../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:372:6: warning: variable 'rx_bytes' set but not used [-Wunused-but-set-variable] - 372 | u64 rx_bytes = 0; +../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:581:6: warning: variable 'rx_bytes' set but not used [-Wunused-but-set-variable] + 581 | u64 rx_bytes = 0; @@ -11,3 +14,3 @@ -3 warnings generated. -../drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:400:15: warning: variable 'tx_bytes' set but not used [-Wunused-but-set-variable] - 400 | u32 hdr_len, tx_bytes; +4 warnings generated. +../drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:413:15: warning: variable 'tx_bytes' set but not used [-Wunused-but-set-variable] + 413 | u32 hdr_len, tx_bytes; @@ -15,2 +18,2 @@ -../drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:401:17: warning: variable 'pkts' set but not used [-Wunused-but-set-variable] - 401 | unsigned short pkts; +../drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:414:17: warning: variable 'pkts' set but not used [-Wunused-but-set-variable] + 414 | unsigned short pkts; @@ -18,2 +21,2 @@ -../drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:682:6: warning: variable 'wake' set but not used [-Wunused-but-set-variable] - 682 | u64 wake = 0; +../drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:775:6: warning: variable 'wake' set but not used [-Wunused-but-set-variable] + 775 | u64 wake = 0; Per-file breakdown --- /tmp/tmp.MqaIBfo9Th 2024-12-12 04:30:24.752270486 -0800 +++ /tmp/tmp.YfKDy4NaHc 2024-12-12 04:30:24.755270452 -0800 @@ -1 +1 @@ - 3 ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c + 4 ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c