WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c: In function ‘cmdq_set_db’: ../drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:438:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] 438 | writeq(*((u64 *)&db), CMDQ_DB_ADDR(db_base, prod_idx)); | ^~~~~~ | writel In file included from ../include/linux/device.h:15, from ../drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:6: ../drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c: In function ‘create_cmdq_wq’: ../drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:965:45: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=] 965 | dev_err(hwdev->dev, "Cmdq number of wq pages exceeds limit: %lu\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/dev_printk.h:110:30: note: in definition of macro ‘dev_printk_index_wrap’ 110 | _p_func(dev, fmt, ##__VA_ARGS__); \ | ^~~ ../include/linux/dev_printk.h:154:56: note: in expansion of macro ‘dev_fmt’ 154 | dev_printk_index_wrap(_dev_err, KERN_ERR, dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~ ../drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:965:25: note: in expansion of macro ‘dev_err’ 965 | dev_err(hwdev->dev, "Cmdq number of wq pages exceeds limit: %lu\n", | ^~~~~~~ ../drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:965:87: note: format string is defined here 965 | dev_err(hwdev->dev, "Cmdq number of wq pages exceeds limit: %lu\n", | ~~^ | | | long unsigned int | %u make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../include/linux/device.h:15, from ../include/linux/pci.h:37, from ../drivers/net/ethernet/huawei/hinic3/hinic3_wq.c:5: ../drivers/net/ethernet/huawei/hinic3/hinic3_wq.c: In function ‘wq_init_wq_block’: ../drivers/net/ethernet/huawei/hinic3/hinic3_wq.c:34:37: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=] 34 | dev_err(hwdev->dev, "wq num_pages exceed limit: %lu\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/dev_printk.h:110:30: note: in definition of macro ‘dev_printk_index_wrap’ 110 | _p_func(dev, fmt, ##__VA_ARGS__); \ | ^~~ ../include/linux/dev_printk.h:154:56: note: in expansion of macro ‘dev_fmt’ 154 | dev_printk_index_wrap(_dev_err, KERN_ERR, dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~ ../drivers/net/ethernet/huawei/hinic3/hinic3_wq.c:34:17: note: in expansion of macro ‘dev_err’ 34 | dev_err(hwdev->dev, "wq num_pages exceed limit: %lu\n", | ^~~~~~~ ../drivers/net/ethernet/huawei/hinic3/hinic3_wq.c:34:67: note: format string is defined here 34 | dev_err(hwdev->dev, "wq num_pages exceed limit: %lu\n", | ~~^ | | | long unsigned int | %u In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:14: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); | ^~~~~~ | writel make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.o] Error 1 In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.c:14: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); | ^~~~~~ | writel make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.o] Error 1 In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_irq.c:16: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); | ^~~~~~ | writel make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_irq.o] Error 1 In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, from ../drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c:14: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); | ^~~~~~ | writel make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.o] Error 1 In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, from ../drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:8: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); | ^~~~~~ | writel make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_tx.o] Error 1 In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, from ../drivers/net/ethernet/huawei/hinic3/hinic3_filter.c:15: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); | ^~~~~~ | writel make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_filter.o] Error 1 In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, from ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:16: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); | ^~~~~~ | writel ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c: In function ‘rq_associate_cqes’: ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:146:13: warning: variable ‘cqe_len’ set but not used [-Wunused-but-set-variable] 146 | int cqe_len; | ^~~~~~~ ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c: In function ‘recv_one_pkt’: ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:493:32: warning: variable ‘nic_dev’ set but not used [-Wunused-but-set-variable] 493 | struct hinic3_nic_dev *nic_dev; | ^~~~~~~ make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_rx.o] Error 1 In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, from ../drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:16: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); | ^~~~~~ | writel make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, from ../drivers/net/ethernet/huawei/hinic3/hinic3_main.c:18: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); | ^~~~~~ | writel make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_main.o] Error 1 In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, from ../drivers/net/ethernet/huawei/hinic3/hinic3_rss.c:11: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); | ^~~~~~ | writel make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_rss.o] Error 1 make[7]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/huawei/hinic3] Error 2 make[6]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/huawei] Error 2 make[5]: *** [../scripts/Makefile.build:478: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:478: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:478: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1936: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files In file included from ../include/linux/device.h:15, from ../include/linux/pci.h:37, from ../drivers/net/ethernet/huawei/hinic3/hinic3_wq.c:5: ../drivers/net/ethernet/huawei/hinic3/hinic3_wq.c: In function ‘wq_init_wq_block’: ../drivers/net/ethernet/huawei/hinic3/hinic3_wq.c:34:37: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=] 34 | dev_err(hwdev->dev, "wq num_pages exceed limit: %lu\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/dev_printk.h:110:30: note: in definition of macro ‘dev_printk_index_wrap’ 110 | _p_func(dev, fmt, ##__VA_ARGS__); \ | ^~~ ../include/linux/dev_printk.h:154:56: note: in expansion of macro ‘dev_fmt’ 154 | dev_printk_index_wrap(_dev_err, KERN_ERR, dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~ ../drivers/net/ethernet/huawei/hinic3/hinic3_wq.c:34:17: note: in expansion of macro ‘dev_err’ 34 | dev_err(hwdev->dev, "wq num_pages exceed limit: %lu\n", | ^~~~~~~ ../drivers/net/ethernet/huawei/hinic3/hinic3_wq.c:34:67: note: format string is defined here 34 | dev_err(hwdev->dev, "wq num_pages exceed limit: %lu\n", | ~~^ | | | long unsigned int | %u ../drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c: In function ‘cmdq_set_db’: ../drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:438:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] 438 | writeq(*((u64 *)&db), CMDQ_DB_ADDR(db_base, prod_idx)); | ^~~~~~ | writel In file included from ../include/linux/device.h:15, from ../drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:6: ../drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c: In function ‘create_cmdq_wq’: ../drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:965:45: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=] 965 | dev_err(hwdev->dev, "Cmdq number of wq pages exceeds limit: %lu\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/dev_printk.h:110:30: note: in definition of macro ‘dev_printk_index_wrap’ 110 | _p_func(dev, fmt, ##__VA_ARGS__); \ | ^~~ ../include/linux/dev_printk.h:154:56: note: in expansion of macro ‘dev_fmt’ 154 | dev_printk_index_wrap(_dev_err, KERN_ERR, dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~ ../drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:965:25: note: in expansion of macro ‘dev_err’ 965 | dev_err(hwdev->dev, "Cmdq number of wq pages exceeds limit: %lu\n", | ^~~~~~~ ../drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:965:87: note: format string is defined here 965 | dev_err(hwdev->dev, "Cmdq number of wq pages exceeds limit: %lu\n", | ~~^ | | | long unsigned int | %u make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:14: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); | ^~~~~~ | writel make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.o] Error 1 In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, from ../drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:8: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); | ^~~~~~ | writel make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_tx.o] Error 1 In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, from ../drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c:14: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); | ^~~~~~ | writel make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.o] Error 1 In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, from ../drivers/net/ethernet/huawei/hinic3/hinic3_filter.c:15: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); | ^~~~~~ | writel make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_filter.o] Error 1 In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, from ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:16: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); | ^~~~~~ | writel ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c: In function ‘rq_associate_cqes’: ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:146:13: warning: variable ‘cqe_len’ set but not used [-Wunused-but-set-variable] 146 | int cqe_len; | ^~~~~~~ ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c: In function ‘recv_one_pkt’: ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:493:32: warning: variable ‘nic_dev’ set but not used [-Wunused-but-set-variable] 493 | struct hinic3_nic_dev *nic_dev; | ^~~~~~~ make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_rx.o] Error 1 In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.c:14: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); | ^~~~~~ | writel make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.o] Error 1 In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, from ../drivers/net/ethernet/huawei/hinic3/hinic3_main.c:18: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); | ^~~~~~ | writel make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_main.o] Error 1 In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, from ../drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:16: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); | ^~~~~~ | writel make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, from ../drivers/net/ethernet/huawei/hinic3/hinic3_rss.c:11: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); | ^~~~~~ | writel make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_rss.o] Error 1 In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_irq.c:16: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); | ^~~~~~ | writel make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_irq.o] Error 1 make[7]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/huawei/hinic3] Error 2 make[6]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/huawei] Error 2 make[5]: *** [../scripts/Makefile.build:478: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:478: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:478: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1936: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 New errors added --- /tmp/tmp.xduSWndBHf 2024-10-31 04:42:51.365729837 -0700 +++ /tmp/tmp.y8ghq4VrWP 2024-10-31 04:43:17.643514948 -0700 @@ -13,0 +14,147 @@ +In file included from ../include/linux/device.h:15, + from ../include/linux/pci.h:37, + from ../drivers/net/ethernet/huawei/hinic3/hinic3_wq.c:5: +../drivers/net/ethernet/huawei/hinic3/hinic3_wq.c: In function ‘wq_init_wq_block’: +../drivers/net/ethernet/huawei/hinic3/hinic3_wq.c:34:37: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=] + 34 | dev_err(hwdev->dev, "wq num_pages exceed limit: %lu\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/dev_printk.h:110:30: note: in definition of macro ‘dev_printk_index_wrap’ + 110 | _p_func(dev, fmt, ##__VA_ARGS__); \ + | ^~~ +../include/linux/dev_printk.h:154:56: note: in expansion of macro ‘dev_fmt’ + 154 | dev_printk_index_wrap(_dev_err, KERN_ERR, dev, dev_fmt(fmt), ##__VA_ARGS__) + | ^~~~~~~ +../drivers/net/ethernet/huawei/hinic3/hinic3_wq.c:34:17: note: in expansion of macro ‘dev_err’ + 34 | dev_err(hwdev->dev, "wq num_pages exceed limit: %lu\n", + | ^~~~~~~ +../drivers/net/ethernet/huawei/hinic3/hinic3_wq.c:34:67: note: format string is defined here + 34 | dev_err(hwdev->dev, "wq num_pages exceed limit: %lu\n", + | ~~^ + | | + | long unsigned int + | %u +../drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c: In function ‘cmdq_set_db’: +../drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:438:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] + 438 | writeq(*((u64 *)&db), CMDQ_DB_ADDR(db_base, prod_idx)); + | ^~~~~~ + | writel +In file included from ../include/linux/device.h:15, + from ../drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:6: +../drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c: In function ‘create_cmdq_wq’: +../drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:965:45: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=] + 965 | dev_err(hwdev->dev, "Cmdq number of wq pages exceeds limit: %lu\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/dev_printk.h:110:30: note: in definition of macro ‘dev_printk_index_wrap’ + 110 | _p_func(dev, fmt, ##__VA_ARGS__); \ + | ^~~ +../include/linux/dev_printk.h:154:56: note: in expansion of macro ‘dev_fmt’ + 154 | dev_printk_index_wrap(_dev_err, KERN_ERR, dev, dev_fmt(fmt), ##__VA_ARGS__) + | ^~~~~~~ +../drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:965:25: note: in expansion of macro ‘dev_err’ + 965 | dev_err(hwdev->dev, "Cmdq number of wq pages exceeds limit: %lu\n", + | ^~~~~~~ +../drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:965:87: note: format string is defined here + 965 | dev_err(hwdev->dev, "Cmdq number of wq pages exceeds limit: %lu\n", + | ~~^ + | | + | long unsigned int + | %u +make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, + from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:14: +../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: +../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] + 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); + | ^~~~~~ + | writel +make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.o] Error 1 +In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, + from ../drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:8: +../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: +../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] + 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); + | ^~~~~~ + | writel +make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_tx.o] Error 1 +In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, + from ../drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c:14: +../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: +../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] + 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); + | ^~~~~~ + | writel +make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.o] Error 1 +In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, + from ../drivers/net/ethernet/huawei/hinic3/hinic3_filter.c:15: +../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: +../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] + 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); + | ^~~~~~ + | writel +make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_filter.o] Error 1 +In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, + from ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:16: +../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: +../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] + 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); + | ^~~~~~ + | writel +../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c: In function ‘rq_associate_cqes’: +../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:146:13: warning: variable ‘cqe_len’ set but not used [-Wunused-but-set-variable] + 146 | int cqe_len; + | ^~~~~~~ +../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c: In function ‘recv_one_pkt’: +../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:493:32: warning: variable ‘nic_dev’ set but not used [-Wunused-but-set-variable] + 493 | struct hinic3_nic_dev *nic_dev; + | ^~~~~~~ +make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_rx.o] Error 1 +In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, + from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.c:14: +../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: +../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] + 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); + | ^~~~~~ + | writel +make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.o] Error 1 +In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, + from ../drivers/net/ethernet/huawei/hinic3/hinic3_main.c:18: +../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: +../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] + 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); + | ^~~~~~ + | writel +make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_main.o] Error 1 +In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, + from ../drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:16: +../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: +../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] + 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); + | ^~~~~~ + | writel +make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.o] Error 1 +In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:17, + from ../drivers/net/ethernet/huawei/hinic3/hinic3_rss.c:11: +../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: +../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] + 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); + | ^~~~~~ + | writel +make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_rss.o] Error 1 +In file included from ../drivers/net/ethernet/huawei/hinic3/hinic3_irq.c:16: +../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h: In function ‘hinic3_write_db’: +../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:102:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Wimplicit-function-declaration] + 102 | writeq(*((u64 *)&db), DB_ADDR(queue, pi)); + | ^~~~~~ + | writel +make[8]: *** [../scripts/Makefile.build:229: drivers/net/ethernet/huawei/hinic3/hinic3_irq.o] Error 1 +make[7]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/huawei/hinic3] Error 2 +make[6]: *** [../scripts/Makefile.build:478: drivers/net/ethernet/huawei] Error 2 +make[5]: *** [../scripts/Makefile.build:478: drivers/net/ethernet] Error 2 +make[4]: *** [../scripts/Makefile.build:478: drivers/net] Error 2 +make[4]: *** Waiting for unfinished jobs.... +make[3]: *** [../scripts/Makefile.build:478: drivers] Error 2 +make[3]: *** Waiting for unfinished jobs.... +make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1936: .] Error 2 +make[1]: *** [/home/nipa/net-next/wt-1/Makefile:224: __sub-make] Error 2 +make: *** [Makefile:224: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.Ug3omJhDrn 2024-10-31 04:43:17.649514899 -0700 +++ /tmp/tmp.oruz4dAZyX 2024-10-31 04:43:17.653514866 -0700 @@ -0,0 +1,4 @@ + 2 ../drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c + 10 ../drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h + 2 ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c + 1 ../drivers/net/ethernet/huawei/hinic3/hinic3_wq.c