tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: 5c63bd0fa5e86474d30ecd06d67f2393de081434
commit: 7fc993d55d1b54ae40e29dfac825a18d04d644c6 [14777/23811] scsi/hifc: add hifc driver FC service module
config: x86_64-buildonly-randconfig-004-20240923 (https://download.01.org/0day-ci/archive/20241001/202410011241.NNAuBhq7-lkp@…)
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/20241001/202410011241.NNAuBhq7-lkp@…)
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(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410011241.NNAuBhq7-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/scsi/huawei/hifc/hifc_lld.c:333:7: warning: no previous prototype for 'hifc_get_ppf_hwdev_by_pdev' [-Wmissing-prototypes]
333 | void *hifc_get_ppf_hwdev_by_pdev(struct pci_dev *pdev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/scsi/huawei/hifc/hifc_lld.c:362:6: warning: no previous prototype for 'hifc_event_process' [-Wmissing-prototypes]
362 | void hifc_event_process(void *adapter, struct hifc_event_info *event)
| ^~~~~~~~~~~~~~~~~~
>> drivers/scsi/huawei/hifc/.tmp_hifc_lld.o: warning: objtool: missing symbol for section .init.text
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: 5c63bd0fa5e86474d30ecd06d67f2393de081434
commit: ed046b8a9bc5f5836ece3a3efa29c54f0fc904e7 [11543/23811] net: hns3: rename hns3_cae's files and remove send_cmdq
config: x86_64-buildonly-randconfig-005-20240929 (https://download.01.org/0day-ci/archive/20241001/202410011150.agWF1W8a-lkp@…)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241001/202410011150.agWF1W8a-lkp@…)
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(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410011150.agWF1W8a-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_vlan.o: warning: objtool: missing symbol for section .text
--
>> drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_qinfo.o: warning: objtool: missing symbol for section .text
--
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_fd.c:20:5: warning: no previous prototype for function 'hclge_test_send_generic_cmd' [-Wmissing-prototypes]
20 | int hclge_test_send_generic_cmd(struct hclge_dev *hdev, u8 *buf_in,
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_fd.c:20:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
20 | int hclge_test_send_generic_cmd(struct hclge_dev *hdev, u8 *buf_in,
| ^
| static
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_fd.c:62:5: warning: no previous prototype for function 'hclge_test_send_allocate_cmd' [-Wmissing-prototypes]
62 | int hclge_test_send_allocate_cmd(struct hclge_dev *hdev, u8 *buf_in,
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_fd.c:62:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
62 | int hclge_test_send_allocate_cmd(struct hclge_dev *hdev, u8 *buf_in,
| ^
| static
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_fd.c:100:5: warning: no previous prototype for function 'hclge_test_send_key_cfg_cmd' [-Wmissing-prototypes]
100 | int hclge_test_send_key_cfg_cmd(struct hclge_dev *hdev, u8 *buf_in,
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_fd.c:100:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
100 | int hclge_test_send_key_cfg_cmd(struct hclge_dev *hdev, u8 *buf_in,
| ^
| static
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_fd.c:153:5: warning: no previous prototype for function 'hclge_test_send_tcam_op_cmd' [-Wmissing-prototypes]
153 | int hclge_test_send_tcam_op_cmd(struct hclge_dev *hdev, u8 *buf_in,
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_fd.c:153:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
153 | int hclge_test_send_tcam_op_cmd(struct hclge_dev *hdev, u8 *buf_in,
| ^
| static
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_fd.c:224:5: warning: no previous prototype for function 'hclge_test_send_ad_op_cmd' [-Wmissing-prototypes]
224 | int hclge_test_send_ad_op_cmd(struct hclge_dev *hdev, u8 *buf_in,
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_fd.c:224:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
224 | int hclge_test_send_ad_op_cmd(struct hclge_dev *hdev, u8 *buf_in,
| ^
| static
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_fd.c:267:5: warning: no previous prototype for function 'hclge_test_send_cnt_op_cmd' [-Wmissing-prototypes]
267 | int hclge_test_send_cnt_op_cmd(struct hclge_dev *hdev, u8 *buf_in,
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_fd.c:267:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
267 | int hclge_test_send_cnt_op_cmd(struct hclge_dev *hdev, u8 *buf_in,
| ^
| static
6 warnings generated.
>> drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_fd.o: warning: objtool: missing symbol for section .text
--
>> drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_hilink_param.o: warning: objtool: missing symbol for section .text
--
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_stat.c:105:5: warning: no previous prototype for function 'hns3_read_stat_mode_cfg' [-Wmissing-prototypes]
105 | int hns3_read_stat_mode_cfg(struct hns3_nic_priv *nic_dev,
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_stat.c:105:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
105 | int hns3_read_stat_mode_cfg(struct hns3_nic_priv *nic_dev,
| ^
| static
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_stat.c:154:5: warning: no previous prototype for function 'hns3_set_stat_mode_cfg' [-Wmissing-prototypes]
154 | int hns3_set_stat_mode_cfg(struct hns3_nic_priv *nic_dev,
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_stat.c:154:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
154 | int hns3_set_stat_mode_cfg(struct hns3_nic_priv *nic_dev,
| ^
| static
2 warnings generated.
>> drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_stat.o: warning: objtool: missing symbol for section .text
--
| static
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:139:5: warning: no previous prototype for function 'hns3_test_tm_pri_weight_set' [-Wmissing-prototypes]
139 | int hns3_test_tm_pri_weight_set(struct hclge_dev *hdev, u8 pri_id, u8 dwrr)
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:139:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
139 | int hns3_test_tm_pri_weight_set(struct hclge_dev *hdev, u8 pri_id, u8 dwrr)
| ^
| static
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:152:5: warning: no previous prototype for function 'hns3_test_tm_pri_weight_get' [-Wmissing-prototypes]
152 | int hns3_test_tm_pri_weight_get(struct hclge_dev *hdev, u8 pri_id, u8 *dwrr)
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:152:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
152 | int hns3_test_tm_pri_weight_get(struct hclge_dev *hdev, u8 pri_id, u8 *dwrr)
| ^
| static
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:168:5: warning: no previous prototype for function 'hns3_test_tm_pri_pg_bitmap_set' [-Wmissing-prototypes]
168 | int hns3_test_tm_pri_pg_bitmap_set(struct hclge_dev *hdev, u8 pg_id, u8 bitmap)
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:168:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
168 | int hns3_test_tm_pri_pg_bitmap_set(struct hclge_dev *hdev, u8 pg_id, u8 bitmap)
| ^
| static
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:181:5: warning: no previous prototype for function 'hns3_test_tm_pri_pg_bitmap_get' [-Wmissing-prototypes]
181 | int hns3_test_tm_pri_pg_bitmap_get(struct hclge_dev *hdev, u8 pg_id,
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:181:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
181 | int hns3_test_tm_pri_pg_bitmap_get(struct hclge_dev *hdev, u8 pg_id,
| ^
| static
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:200:5: warning: no previous prototype for function 'hns3_test_tm_qs_bp_bitmap_set' [-Wmissing-prototypes]
200 | int hns3_test_tm_qs_bp_bitmap_set(struct hclge_dev *hdev, u8 tc, u8 gp_id,
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:200:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
200 | int hns3_test_tm_qs_bp_bitmap_set(struct hclge_dev *hdev, u8 tc, u8 gp_id,
| ^
| static
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:217:5: warning: no previous prototype for function 'hns3_test_tm_qs_bp_bitmap_get' [-Wmissing-prototypes]
217 | int hns3_test_tm_qs_bp_bitmap_get(struct hclge_dev *hdev, u8 tc, u8 gp_id,
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:217:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
217 | int hns3_test_tm_qs_bp_bitmap_get(struct hclge_dev *hdev, u8 tc, u8 gp_id,
| ^
| static
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:237:5: warning: no previous prototype for function 'hns3_test_tm_pri_shapping_set' [-Wmissing-prototypes]
237 | int hns3_test_tm_pri_shapping_set(struct hclge_dev *hdev,
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:237:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
237 | int hns3_test_tm_pri_shapping_set(struct hclge_dev *hdev,
| ^
| static
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:255:5: warning: no previous prototype for function 'hns3_test_tm_pri_shapping_get' [-Wmissing-prototypes]
255 | int hns3_test_tm_pri_shapping_get(struct hclge_dev *hdev,
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:255:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
255 | int hns3_test_tm_pri_shapping_get(struct hclge_dev *hdev,
| ^
| static
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:275:5: warning: no previous prototype for function 'hns3_test_tm_pg_weight_set' [-Wmissing-prototypes]
275 | int hns3_test_tm_pg_weight_set(struct hclge_dev *hdev, u8 pg_id, u8 dwrr)
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:275:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
275 | int hns3_test_tm_pg_weight_set(struct hclge_dev *hdev, u8 pg_id, u8 dwrr)
| ^
| static
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:288:5: warning: no previous prototype for function 'hns3_test_tm_pg_weight_get' [-Wmissing-prototypes]
288 | int hns3_test_tm_pg_weight_get(struct hclge_dev *hdev, u8 pg_id, u8 *dwrr)
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:288:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
288 | int hns3_test_tm_pg_weight_get(struct hclge_dev *hdev, u8 pg_id, u8 *dwrr)
| ^
| static
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:304:5: warning: no previous prototype for function 'hns3_test_tm_pg_shapping_set' [-Wmissing-prototypes]
304 | int hns3_test_tm_pg_shapping_set(struct hclge_dev *hdev,
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:304:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
304 | int hns3_test_tm_pg_shapping_set(struct hclge_dev *hdev,
| ^
| static
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:322:5: warning: no previous prototype for function 'hns3_test_tm_pg_shapping_get' [-Wmissing-prototypes]
322 | int hns3_test_tm_pg_shapping_get(struct hclge_dev *hdev,
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:322:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
322 | int hns3_test_tm_pg_shapping_get(struct hclge_dev *hdev,
| ^
| static
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:343:5: warning: no previous prototype for function 'hns3_test_tm_port_shapping_set' [-Wmissing-prototypes]
343 | int hns3_test_tm_port_shapping_set(struct hclge_dev *hdev, u32 shaper)
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:343:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
343 | int hns3_test_tm_port_shapping_set(struct hclge_dev *hdev, u32 shaper)
| ^
| static
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:357:5: warning: no previous prototype for function 'hns3_test_tm_port_shapping_get' [-Wmissing-prototypes]
357 | int hns3_test_tm_port_shapping_get(struct hclge_dev *hdev, u32 *shaper)
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.c:357:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
357 | int hns3_test_tm_port_shapping_get(struct hclge_dev *hdev, u32 *shaper)
| ^
| static
20 warnings generated.
>> drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_tm.o: warning: objtool: missing symbol for section .text
--
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_promisc.c:6:5: warning: no previous prototype for function 'hns3_read_promisc_mode_cfg' [-Wmissing-prototypes]
6 | int hns3_read_promisc_mode_cfg(struct hns3_nic_priv *nic_dev,
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_promisc.c:6:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
6 | int hns3_read_promisc_mode_cfg(struct hns3_nic_priv *nic_dev,
| ^
| static
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_promisc.c:44:5: warning: no previous prototype for function 'hns3_set_promisc_mode_cfg' [-Wmissing-prototypes]
44 | int hns3_set_promisc_mode_cfg(struct hns3_nic_priv *nic_dev,
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_promisc.c:44:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
44 | int hns3_set_promisc_mode_cfg(struct hns3_nic_priv *nic_dev,
| ^
| static
2 warnings generated.
>> drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_promisc.o: warning: objtool: missing symbol for section .text
--
>> drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_dfx.o: warning: objtool: missing symbol for section .text
--
>> drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_irq.o: warning: objtool: missing symbol for section .text
--
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_qos.c:9:19: warning: no previous prototype for function 'get_val_hdev' [-Wmissing-prototypes]
9 | struct hclge_dev *get_val_hdev(struct hns3_nic_priv *net_priv)
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_qos.c:9:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
9 | struct hclge_dev *get_val_hdev(struct hns3_nic_priv *net_priv)
| ^
| static
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_qos.c:19:5: warning: no previous prototype for function 'hns3_cmd_rx_priv_wl_config' [-Wmissing-prototypes]
19 | int hns3_cmd_rx_priv_wl_config(struct hclge_dev *hdev, u16 tc,
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_qos.c:19:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
19 | int hns3_cmd_rx_priv_wl_config(struct hclge_dev *hdev, u16 tc,
| ^
| static
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_qos.c:89:5: warning: no previous prototype for function 'hns3_cmd_common_thrd_config' [-Wmissing-prototypes]
89 | int hns3_cmd_common_thrd_config(struct hclge_dev *hdev, u16 tc,
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_qos.c:89:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
89 | int hns3_cmd_common_thrd_config(struct hclge_dev *hdev, u16 tc,
| ^
| static
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_qos.c:161:5: warning: no previous prototype for function 'hns3_cmd_common_wl_config' [-Wmissing-prototypes]
161 | int hns3_cmd_common_wl_config(struct hclge_dev *hdev, u32 high, u32 low, u32 en)
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_qos.c:161:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
161 | int hns3_cmd_common_wl_config(struct hclge_dev *hdev, u32 high, u32 low, u32 en)
| ^
| static
4 warnings generated.
>> drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_qos.o: warning: objtool: missing symbol for section .text
--
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_qres.c:6:5: warning: no previous prototype for function 'hns3_get_qres_rx_value' [-Wmissing-prototypes]
6 | int hns3_get_qres_rx_value(struct hns3_nic_priv *net_priv, int ring_id,
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_qres.c:6:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
6 | int hns3_get_qres_rx_value(struct hns3_nic_priv *net_priv, int ring_id,
| ^
| static
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_qres.c:54:5: warning: no previous prototype for function 'hns3_get_qres_tx_value' [-Wmissing-prototypes]
54 | int hns3_get_qres_tx_value(struct hns3_nic_priv *net_priv, int ring_id,
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_qres.c:54:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
54 | int hns3_get_qres_tx_value(struct hns3_nic_priv *net_priv, int ring_id,
| ^
| static
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_qres.c:100:6: warning: no previous prototype for function 'fill_queue_info' [-Wmissing-prototypes]
100 | void fill_queue_info(struct hns3_nic_priv *net_priv,
| ^
drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_qres.c:100:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
100 | void fill_queue_info(struct hns3_nic_priv *net_priv,
| ^
| static
3 warnings generated.
>> drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_qres.o: warning: objtool: missing symbol for section .text
..
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Hi James,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: 5c63bd0fa5e86474d30ecd06d67f2393de081434
commit: 6dfc76f160cb5e8bf25cb85d4763cdc3144bfda8 [20444/23811] arm64: errata: Remove AES hwcap for COMPAT tasks
config: arm64-randconfig-002-20240930 (https://download.01.org/0day-ci/archive/20241001/202410011231.Vgh2PQm5-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241001/202410011231.Vgh2PQm5-lkp@…)
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(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410011231.Vgh2PQm5-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/arm64/kernel/cpufeature.c: In function 'elf_hwcap_fixup':
>> arch/arm64/kernel/cpufeature.c:1287:9: error: 'a32_elf_hwcap2' undeclared (first use in this function); did you mean 'elf_hwcap'?
1287 | a32_elf_hwcap2 &= ~COMPAT_HWCAP2_AES;
| ^~~~~~~~~~~~~~
| elf_hwcap
arch/arm64/kernel/cpufeature.c:1287:9: note: each undeclared identifier is reported only once for each function it appears in
vim +1287 arch/arm64/kernel/cpufeature.c
1282
1283 static void elf_hwcap_fixup(void)
1284 {
1285 #ifdef CONFIG_ARM64_ERRATUM_1742098
1286 if (cpus_have_const_cap(ARM64_WORKAROUND_1742098))
> 1287 a32_elf_hwcap2 &= ~COMPAT_HWCAP2_AES;
1288 #endif /* ARM64_ERRATUM_1742098 */
1289 }
1290
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 084a6771cfb3ef307b750af8b7c35a07a725fc4c
commit: b7772972a0a76efac27078392f3f706914fe2af7 [29994/30000] sched/core: Add cpu.steal_task in cgroup v1 cpu subsystem
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20241001/202410010853.HQUsJtSO-lkp@…)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241001/202410010853.HQUsJtSO-lkp@…)
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(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410010853.HQUsJtSO-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from kernel/sched/core.c:13:
kernel/sched/sched.h:1863:15: warning: cast from 'void (*)(struct rq *)' to 'void (*)(struct callback_head *)' converts to incompatible function type [-Wcast-function-type-strict]
1863 | head->func = (void (*)(struct callback_head *))func;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kernel/sched/core.c:2750:6: warning: no previous prototype for function 'sched_set_stop_task' [-Wmissing-prototypes]
2750 | void sched_set_stop_task(int cpu, struct task_struct *stop)
| ^
kernel/sched/core.c:2750:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2750 | void sched_set_stop_task(int cpu, struct task_struct *stop)
| ^
| static
kernel/sched/core.c:4126:10: warning: cast from 'void (*)(struct callback_head *)' to 'void (*)(struct rq *)' converts to incompatible function type [-Wcast-function-type-strict]
4126 | func = (void (*)(struct rq *))head->func;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kernel/sched/core.c:9598:5: warning: no previous prototype for function 'tg_set_dynamic_affinity_mode' [-Wmissing-prototypes]
9598 | int tg_set_dynamic_affinity_mode(struct task_group *tg, u64 mode)
| ^
kernel/sched/core.c:9598:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
9598 | int tg_set_dynamic_affinity_mode(struct task_group *tg, u64 mode)
| ^
| static
kernel/sched/core.c:9634:5: warning: no previous prototype for function 'tg_set_affinity_period' [-Wmissing-prototypes]
9634 | int tg_set_affinity_period(struct task_group *tg, u64 period_ms)
| ^
kernel/sched/core.c:9634:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
9634 | int tg_set_affinity_period(struct task_group *tg, u64 period_ms)
| ^
| static
kernel/sched/core.c:9648:5: warning: no previous prototype for function 'tg_get_affinity_period' [-Wmissing-prototypes]
9648 | u64 tg_get_affinity_period(struct task_group *tg)
| ^
kernel/sched/core.c:9648:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
9648 | u64 tg_get_affinity_period(struct task_group *tg)
| ^
| static
>> kernel/sched/core.c:9822:6: warning: no previous prototype for function 'sched_setsteal' [-Wmissing-prototypes]
9822 | void sched_setsteal(struct task_struct *tsk, s64 steal_task)
| ^
kernel/sched/core.c:9822:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
9822 | void sched_setsteal(struct task_struct *tsk, s64 steal_task)
| ^
| static
>> kernel/sched/core.c:9854:5: warning: no previous prototype for function 'tg_change_steal' [-Wmissing-prototypes]
9854 | int tg_change_steal(struct task_group *tg, void *data)
| ^
kernel/sched/core.c:9854:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
9854 | int tg_change_steal(struct task_group *tg, void *data)
| ^
| static
8 warnings generated.
vim +/sched_setsteal +9822 kernel/sched/core.c
9821
> 9822 void sched_setsteal(struct task_struct *tsk, s64 steal_task)
9823 {
9824 struct sched_entity *se = &tsk->se;
9825 int queued, running, queue_flags =
9826 DEQUEUE_SAVE | DEQUEUE_MOVE | DEQUEUE_NOCLOCK;
9827 struct rq_flags rf;
9828 struct rq *rq;
9829
9830 if (se->steal_task == steal_task)
9831 return;
9832
9833 rq = task_rq_lock(tsk, &rf);
9834
9835 running = task_current(rq, tsk);
9836 queued = task_on_rq_queued(tsk);
9837
9838 update_rq_clock(rq);
9839 if (queued)
9840 dequeue_task(rq, tsk, queue_flags);
9841 if (running)
9842 put_prev_task(rq, tsk);
9843
9844 se->steal_task = steal_task;
9845
9846 if (queued)
9847 enqueue_task(rq, tsk, queue_flags);
9848 if (running)
9849 set_next_task(rq, tsk);
9850
9851 task_rq_unlock(rq, tsk, &rf);
9852 }
9853
> 9854 int tg_change_steal(struct task_group *tg, void *data)
9855 {
9856 struct css_task_iter it;
9857 struct task_struct *tsk;
9858 s64 steal_task = *(s64 *)data;
9859 struct cgroup_subsys_state *css = &tg->css;
9860
9861 tg->steal_task = steal_task;
9862
9863 css_task_iter_start(css, 0, &it);
9864 while ((tsk = css_task_iter_next(&it)))
9865 sched_setsteal(tsk, steal_task);
9866 css_task_iter_end(&it);
9867
9868 return 0;
9869 }
9870
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki