tree:
https://github.com/frank-w/BPI-R2-4.14 5.16-r2pro
head: 4308d050a46a2ee47866d2c6f0200462dfd84d18
commit: 9651c96de215b95165ecaaedc206074cdfb15123 [4/35] mt6625l: include wifi-code
config: arm-randconfig-r005-20211213
(
https://download.01.org/0day-ci/archive/20211214/202112140635.lHw7RZN6-lk...)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://github.com/frank-w/BPI-R2-4.14/commit/9651c96de215b95165ecaaedc20...
git remote add frank-w-bpi-r2-4.14
https://github.com/frank-w/BPI-R2-4.14
git fetch --no-tags frank-w-bpi-r2-4.14 5.16-r2pro
git checkout 9651c96de215b95165ecaaedc206074cdfb15123
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir
ARCH=arm SHELL=/bin/bash drivers/hwtracing/coresight/ drivers/misc/mediatek/btif/common/
drivers/misc/mediatek/connectivity/common/common_detect/
drivers/misc/mediatek/connectivity/common/conn_soc/core/
drivers/misc/mediatek/connectivity/common/conn_soc/linux/pri/
drivers/misc/mediatek/connectivity/common/conn_soc/linux/pub/
drivers/misc/mediatek/connectivity/common/conn_soc/mt7623/
drivers/misc/mediatek/connectivity/wlan/gen2/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
In file included from drivers/misc/mediatek/btif/common/plat_inc/btif_pub.h:17,
from drivers/misc/mediatek/btif/common/mtk_btif.c:37:
drivers/misc/mediatek/btif/common/plat_inc/plat_common.h: In function
'hal_log_print':
> drivers/misc/mediatek/btif/common/plat_inc/plat_common.h:64:9:
warning: function 'hal_log_print' might be a candidate for 'gnu_printf'
format attribute [-Wsuggest-attribute=format]
64 |
vsnprintf(temp_sring, DBG_LOG_STR_SIZE, str, args);
| ^~~~~~~~~
drivers/misc/mediatek/btif/common/mtk_btif.c: In function
'mtk_btif_restore_noirq':
> drivers/misc/mediatek/btif/common/mtk_btif.c:379:13: warning:
variable 'i_ret' set but not used [-Wunused-but-set-variable]
379 |
int i_ret = 0;
| ^~~~~
drivers/misc/mediatek/btif/common/mtk_btif.c: In function 'flag_store':
> drivers/misc/mediatek/btif/common/mtk_btif.c:773:13: warning:
variable 'result' set but not used [-Wunused-but-set-variable]
773 |
int result = 0;
| ^~~~~~
drivers/misc/mediatek/btif/common/mtk_btif.c: In function
'btif_log_buf_dmp_out':
> drivers/misc/mediatek/btif/common/mtk_btif.c:3029:24: warning:
variable 'p_buf' set but not used [-Wunused-but-set-variable]
3029 |
unsigned char *p_buf = NULL;
| ^~~~~
--
In file included from drivers/misc/mediatek/btif/common/plat_inc/btif_pub.h:17,
from drivers/misc/mediatek/btif/common/inc/mtk_btif.h:37,
from drivers/misc/mediatek/btif/common/mtk_btif_exp.c:20:
drivers/misc/mediatek/btif/common/plat_inc/plat_common.h: In function
'hal_log_print':
> drivers/misc/mediatek/btif/common/plat_inc/plat_common.h:64:9:
warning: function 'hal_log_print' might be a candidate for 'gnu_printf'
format attribute [-Wsuggest-attribute=format]
64 |
vsnprintf(temp_sring, DBG_LOG_STR_SIZE, str, args);
| ^~~~~~~~~
--
In file included from drivers/misc/mediatek/btif/common/plat_inc/btif_dma_pub.h:19,
from drivers/misc/mediatek/btif/common/plat_inc/btif_dma_priv.h:18,
from drivers/misc/mediatek/btif/common/btif_dma_plat.c:22:
drivers/misc/mediatek/btif/common/plat_inc/plat_common.h: In function
'hal_log_print':
> drivers/misc/mediatek/btif/common/plat_inc/plat_common.h:64:9:
warning: function 'hal_log_print' might be a candidate for 'gnu_printf'
format attribute [-Wsuggest-attribute=format]
64 |
vsnprintf(temp_sring, DBG_LOG_STR_SIZE, str, args);
| ^~~~~~~~~
drivers/misc/mediatek/btif/common/btif_dma_plat.c: In function
'hal_dma_pm_ops':
> drivers/misc/mediatek/btif/common/btif_dma_plat.c:1313:38:
warning: variable 'flag' set but not used [-Wunused-but-set-variable]
1313 | unsigned int flag = 0;
| ^~~~
--
In file included from drivers/misc/mediatek/btif/common/plat_inc/btif_pub.h:17,
from drivers/misc/mediatek/btif/common/btif_plat.c:21:
drivers/misc/mediatek/btif/common/plat_inc/plat_common.h: In function
'hal_log_print':
> drivers/misc/mediatek/btif/common/plat_inc/plat_common.h:64:9:
warning: function 'hal_log_print' might be a candidate for 'gnu_printf'
format attribute [-Wsuggest-attribute=format]
64 |
vsnprintf(temp_sring, DBG_LOG_STR_SIZE, str, args);
| ^~~~~~~~~
drivers/misc/mediatek/btif/common/btif_plat.c: In function 'hal_btif_hw_init':
> drivers/misc/mediatek/btif/common/btif_plat.c:516:39: warning:
implicit conversion from 'enum <anonymous>' to 'ENUM_BTIF_MODE' {aka
'enum _ENUM_BTIF_MODE_'} [-Wenum-conversion]
516 |
hal_btif_tx_mode_ctrl(p_btif, false);
| ^~~~~
drivers/misc/mediatek/btif/common/btif_plat.c:518:39: warning: implicit conversion from
'enum <anonymous>' to 'ENUM_BTIF_MODE' {aka 'enum
_ENUM_BTIF_MODE_'} [-Wenum-conversion]
518 | hal_btif_rx_mode_ctrl(p_btif, false);
| ^~~~~
drivers/misc/mediatek/btif/common/btif_plat.c: In function 'hal_btif_pm_ops':
> drivers/misc/mediatek/btif/common/btif_plat.c:1343:38: warning:
variable 'flag' set but not used [-Wunused-but-set-variable]
1343 |
unsigned int flag = 0;
| ^~~~
--
> cc1: error: arch/arm/mach-mt7623//dct/dct: No such file or
directory [-Werror=missing-include-dirs]
cc1: all warnings being treated as
errors
--
> cc1: error: arch/arm/mach-mt7623//dct/dct: No such file or
directory [-Werror=missing-include-dirs]
>>
drivers/misc/mediatek/connectivity/common/common_detect/wmt_detect_pwr.c:51:5: error: no
previous prototype for '_wmt_detect_output_low' [-Werror=missing-prototypes]
51 | int _wmt_detect_output_low(unsigned int id)
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
--
> cc1: warning: drivers/misc/mediatek/base/power/include: No such
file or directory [-Wmissing-include-dirs]
In file included from
drivers/misc/mediatek/connectivity/wlan/gen2/include/mgmt/scan.h:269,
from
drivers/misc/mediatek/connectivity/wlan/gen2/include/precomp.h:237,
from drivers/misc/mediatek/connectivity/wlan/gen2/common/dump.c:47:
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_vendor.h:152:1:
warning: 'lstats_vendor_test_policy' defined but not used
[-Wunused-const-variable=]
152 | lstats_vendor_test_policy[LSTATS_SUBCMD_MAX + 1] = {
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_vendor.h:140:1:
warning: 'rtt_vendor_test_policy' defined but not used [-Wunused-const-variable=]
140 | rtt_vendor_test_policy[RTT_SUBCMD_MAX + 1] = {
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_vendor.h:120:1:
warning: 'gscan_vendor_test_policy' defined but not used
[-Wunused-const-variable=]
120 | gscan_vendor_test_policy[GSCAN_SUBCMD_MAX + 1] = {
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_vendor.h:93:1:
warning: 'wifi_vendor_test_policy' defined but not used
[-Wunused-const-variable=]
93 | wifi_vendor_test_policy[WIFI_SUBCMD_MAX + 1] = {
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_kal.h:543,
from
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_os.h:594,
from
drivers/misc/mediatek/connectivity/wlan/gen2/include/precomp.h:171,
from drivers/misc/mediatek/connectivity/wlan/gen2/common/dump.c:47:
drivers/misc/mediatek/connectivity/wlan/gen2/include/nic/wlan_def.h:935:21: warning:
'aucRateTableSize' defined but not used [-Wunused-const-variable=]
935 | static const UINT_8 aucRateTableSize[PREAMBLE_OPTION_NUM] = {
| ^~~~~~~~~~~~~~~~
drivers/misc/mediatek/connectivity/wlan/gen2/include/nic/wlan_def.h:878:21: warning:
'aucRateIndex2RateCode' defined but not used [-Wunused-const-variable=]
878 | static const UINT_8 aucRateIndex2RateCode[PREAMBLE_OPTION_NUM][RATE_NUM] = {
| ^~~~~~~~~~~~~~~~~~~~~
--
> cc1: warning: drivers/misc/mediatek/base/power/include: No such
file or directory [-Wmissing-include-dirs]
--
> cc1: warning: drivers/misc/mediatek/base/power/include: No such
file or directory [-Wmissing-include-dirs]
In file included from
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_kal.h:543,
from
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_os.h:594,
from
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/hif/ahb/mt8127/ahb_pdma.c:87:
drivers/misc/mediatek/connectivity/wlan/gen2/include/nic/wlan_def.h:935:21: warning:
'aucRateTableSize' defined but not used [-Wunused-const-variable=]
935 | static const UINT_8 aucRateTableSize[PREAMBLE_OPTION_NUM] = {
| ^~~~~~~~~~~~~~~~
drivers/misc/mediatek/connectivity/wlan/gen2/include/nic/wlan_def.h:878:21: warning:
'aucRateIndex2RateCode' defined but not used [-Wunused-const-variable=]
878 | static const UINT_8 aucRateIndex2RateCode[PREAMBLE_OPTION_NUM][RATE_NUM] = {
| ^~~~~~~~~~~~~~~~~~~~~
--
> cc1: warning: drivers/misc/mediatek/base/power/include: No such
file or directory [-Wmissing-include-dirs]
drivers/misc/mediatek/connectivity/wlan/gen2/mgmt/rate.c:98:21: warning:
'aucDefaultAckCtsRateIndex' defined but not used [-Wunused-const-variable=]
98 | static const UINT_8 aucDefaultAckCtsRateIndex[RATE_NUM] = {
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from
drivers/misc/mediatek/connectivity/wlan/gen2/include/mgmt/scan.h:269,
from
drivers/misc/mediatek/connectivity/wlan/gen2/include/precomp.h:237,
from drivers/misc/mediatek/connectivity/wlan/gen2/mgmt/rate.c:73:
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_vendor.h:152:1:
warning: 'lstats_vendor_test_policy' defined but not used
[-Wunused-const-variable=]
152 | lstats_vendor_test_policy[LSTATS_SUBCMD_MAX + 1] = {
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_vendor.h:140:1:
warning: 'rtt_vendor_test_policy' defined but not used [-Wunused-const-variable=]
140 | rtt_vendor_test_policy[RTT_SUBCMD_MAX + 1] = {
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_vendor.h:120:1:
warning: 'gscan_vendor_test_policy' defined but not used
[-Wunused-const-variable=]
120 | gscan_vendor_test_policy[GSCAN_SUBCMD_MAX + 1] = {
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_vendor.h:93:1:
warning: 'wifi_vendor_test_policy' defined but not used
[-Wunused-const-variable=]
93 | wifi_vendor_test_policy[WIFI_SUBCMD_MAX + 1] = {
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_kal.h:543,
from
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_os.h:594,
from
drivers/misc/mediatek/connectivity/wlan/gen2/include/precomp.h:171,
from drivers/misc/mediatek/connectivity/wlan/gen2/mgmt/rate.c:73:
drivers/misc/mediatek/connectivity/wlan/gen2/include/nic/wlan_def.h:935:21: warning:
'aucRateTableSize' defined but not used [-Wunused-const-variable=]
935 | static const UINT_8 aucRateTableSize[PREAMBLE_OPTION_NUM] = {
| ^~~~~~~~~~~~~~~~
drivers/misc/mediatek/connectivity/wlan/gen2/include/nic/wlan_def.h:878:21: warning:
'aucRateIndex2RateCode' defined but not used [-Wunused-const-variable=]
878 | static const UINT_8 aucRateIndex2RateCode[PREAMBLE_OPTION_NUM][RATE_NUM] = {
| ^~~~~~~~~~~~~~~~~~~~~
--
> cc1: warning: drivers/misc/mediatek/base/power/include: No such
file or directory [-Wmissing-include-dirs]
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_lib.c: In function
'wlanSendCommand':
>
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_lib.c:2004:21: warning: variable
'prTxCtrl' set but not used [-Wunused-but-set-variable]
2004 |
P_TX_CTRL_T prTxCtrl;
| ^~~~~~~~
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_lib.c: In function
'wlanSendNicPowerCtrlCmd':
>
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_lib.c:2575:23: warning: variable
'prGlueInfo' set but not used [-Wunused-but-set-variable]
2575 |
P_GLUE_INFO_T prGlueInfo;
| ^~~~~~~~~~
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_lib.c: In function
'wlanProcessQueuedSwRfb':
>
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_lib.c:3270:21: warning: variable
'prRxCtrl' set but not used [-Wunused-but-set-variable]
3270 |
P_RX_CTRL_T prRxCtrl;
| ^~~~~~~~
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_lib.c:3269:21: warning:
variable 'prTxCtrl' set but not used [-Wunused-but-set-variable]
3269 | P_TX_CTRL_T prTxCtrl;
| ^~~~~~~~
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_lib.c: At top level:
>
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_lib.c:5431:1: warning: no
previous prototype for 'wlanoidQueryACSChannelList' [-Wmissing-prototypes]
5431 | wlanoidQueryACSChannelList(IN P_ADAPTER_T prAdapter,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_lib.c: In function
'wlanCfgFindNextToken':
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_lib.c:5833:36: warning: this
statement may fall through [-Wimplicit-fallthrough=]
5833 | if (x[1] != '\n') {
| ^
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_lib.c:5838:25: note: here
5838 | case '\n':
| ^~~~
In file included from
drivers/misc/mediatek/connectivity/wlan/gen2/include/mgmt/scan.h:269,
from
drivers/misc/mediatek/connectivity/wlan/gen2/include/precomp.h:237,
from
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_lib.c:967:
At top level:
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_vendor.h:152:1:
warning: 'lstats_vendor_test_policy' defined but not used
[-Wunused-const-variable=]
152 | lstats_vendor_test_policy[LSTATS_SUBCMD_MAX + 1] = {
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_vendor.h:140:1:
warning: 'rtt_vendor_test_policy' defined but not used [-Wunused-const-variable=]
140 | rtt_vendor_test_policy[RTT_SUBCMD_MAX + 1] = {
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_vendor.h:120:1:
warning: 'gscan_vendor_test_policy' defined but not used
[-Wunused-const-variable=]
120 | gscan_vendor_test_policy[GSCAN_SUBCMD_MAX + 1] = {
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_vendor.h:93:1:
warning: 'wifi_vendor_test_policy' defined but not used
[-Wunused-const-variable=]
93 | wifi_vendor_test_policy[WIFI_SUBCMD_MAX + 1] = {
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_kal.h:543,
from
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_os.h:594,
from
drivers/misc/mediatek/connectivity/wlan/gen2/include/precomp.h:171,
from
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_lib.c:967:
drivers/misc/mediatek/connectivity/wlan/gen2/include/nic/wlan_def.h:935:21: warning:
'aucRateTableSize' defined but not used [-Wunused-const-variable=]
935 | static const UINT_8 aucRateTableSize[PREAMBLE_OPTION_NUM] = {
| ^~~~~~~~~~~~~~~~
drivers/misc/mediatek/connectivity/wlan/gen2/include/nic/wlan_def.h:878:21: warning:
'aucRateIndex2RateCode' defined but not used [-Wunused-const-variable=]
878 | static const UINT_8 aucRateIndex2RateCode[PREAMBLE_OPTION_NUM][RATE_NUM] = {
| ^~~~~~~~~~~~~~~~~~~~~
..
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for MTK_GPS
Depends on ARM && GPS
Selected by
- MTK_GPS_SUPPORT && ARM
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org