tree:
https://github.com/frank-w/BPI-R2-4.14 5.10-rc
head: 9cab5c0a19ff709f07113ec5bd8e8cedbfdf6b08
commit: f43ce62478a0f245f0fcc53c073b54c31786f15e [22/24] mt6625l: add wifi-driver from
5.9
config: arm-randconfig-r013-20201212 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
84c09ab44599ece409e4e19761288ddf796fceec)
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
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
#
https://github.com/frank-w/BPI-R2-4.14/commit/f43ce62478a0f245f0fcc53c073...
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.10-rc
git checkout f43ce62478a0f245f0fcc53c073b54c31786f15e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/misc/mediatek/btif/common/mtk_btif.c:522:6: error: no
previous prototype for function 'btif_rx_notify_cb' [-Werror,-Wmissing-prototypes]
void btif_rx_notify_cb(void)
^
drivers/misc/mediatek/btif/common/mtk_btif.c:522:1: note: declare 'static' if
the function is not intended to be used outside of this translation unit
void btif_rx_notify_cb(void)
^
static
1 error generated.
--
> drivers/misc/mediatek/btif/common/mtk_btif_exp.c:24:12: error: no
previous prototype for function 'btif_exp_srh_id' [-Werror,-Wmissing-prototypes]
p_mtk_btif btif_exp_srh_id(unsigned long u_id)
^
drivers/misc/mediatek/btif/common/mtk_btif_exp.c:24:1: note: declare 'static'
if the function is not intended to be used outside of this translation unit
p_mtk_btif btif_exp_srh_id(unsigned long u_id)
^
static
> drivers/misc/mediatek/btif/common/mtk_btif_exp.c:512:5: error: no
previous prototype for function 'btif_open_no_id' [-Werror,-Wmissing-prototypes]
int btif_open_no_id(void)
^
drivers/misc/mediatek/btif/common/mtk_btif_exp.c:512:1: note: declare 'static'
if the function is not intended to be used outside of this translation unit
int btif_open_no_id(void)
^
static
> drivers/misc/mediatek/btif/common/mtk_btif_exp.c:527:5: error: no
previous prototype for function 'btif_close_no_id' [-Werror,-Wmissing-prototypes]
int btif_close_no_id(void)
^
drivers/misc/mediatek/btif/common/mtk_btif_exp.c:527:1: note: declare 'static'
if the function is not intended to be used outside of this translation unit
int btif_close_no_id(void)
^
static
> drivers/misc/mediatek/btif/common/mtk_btif_exp.c:541:5: error: no
previous prototype for function 'btif_write_no_id' [-Werror,-Wmissing-prototypes]
int btif_write_no_id(const unsigned char *p_buf, unsigned int len)
^
drivers/misc/mediatek/btif/common/mtk_btif_exp.c:541:1: note: declare 'static'
if the function is not intended to be used outside of this translation unit
int btif_write_no_id(const unsigned char *p_buf, unsigned int len)
^
static
> drivers/misc/mediatek/btif/common/mtk_btif_exp.c:562:5: error: no
previous prototype for function 'btif_dpidle_ctrl_no_id'
[-Werror,-Wmissing-prototypes]
int btif_dpidle_ctrl_no_id(ENUM_BTIF_DPIDLE_CTRL
en_flag)
^
drivers/misc/mediatek/btif/common/mtk_btif_exp.c:562:1: note: declare 'static'
if the function is not intended to be used outside of this translation unit
int btif_dpidle_ctrl_no_id(ENUM_BTIF_DPIDLE_CTRL en_flag)
^
static
> drivers/misc/mediatek/btif/common/mtk_btif_exp.c:586:5: error: no
previous prototype for function 'btif_loopback_ctrl_no_id'
[-Werror,-Wmissing-prototypes]
int btif_loopback_ctrl_no_id(ENUM_BTIF_LPBK_MODE
enable)
^
drivers/misc/mediatek/btif/common/mtk_btif_exp.c:586:1: note: declare 'static'
if the function is not intended to be used outside of this translation unit
int btif_loopback_ctrl_no_id(ENUM_BTIF_LPBK_MODE enable)
^
static
> drivers/misc/mediatek/btif/common/mtk_btif_exp.c:597:5: error: no
previous prototype for function 'btif_dbg_ctrl_no_id'
[-Werror,-Wmissing-prototypes]
int btif_dbg_ctrl_no_id(ENUM_BTIF_DBG_ID flag)
^
drivers/misc/mediatek/btif/common/mtk_btif_exp.c:597:1: note: declare 'static'
if the function is not intended to be used outside of this translation unit
int btif_dbg_ctrl_no_id(ENUM_BTIF_DBG_ID flag)
^
static
7 errors generated.
--
>
drivers/misc/mediatek/connectivity/common/common_detect/wmt_detect.c:75:9: error: no
previous prototype for function 'wmt_detect_write' [-Werror,-Wmissing-prototypes]
ssize_t wmt_detect_write(struct file *filp, const char __user *buf, size_t count,
loff_t *f_pos)
^
drivers/misc/mediatek/connectivity/common/common_detect/wmt_detect.c:75:1: note:
declare 'static' if the function is not intended to be used outside of this
translation unit
ssize_t wmt_detect_write(struct file *filp, const char __user *buf, size_t count,
loff_t *f_pos)
^
static
1 error generated.
--
>
drivers/misc/mediatek/connectivity/common/common_detect/wmt_detect_pwr.c:51:5: error: no
previous prototype for function '_wmt_detect_output_low'
[-Werror,-Wmissing-prototypes]
int _wmt_detect_output_low(unsigned int id)
^
drivers/misc/mediatek/connectivity/common/common_detect/wmt_detect_pwr.c:51:1: note:
declare 'static' if the function is not intended to be used outside of this
translation unit
int _wmt_detect_output_low(unsigned int id)
^
static
>
drivers/misc/mediatek/connectivity/common/common_detect/wmt_detect_pwr.c:63:5: error: no
previous prototype for function '_wmt_detect_output_high'
[-Werror,-Wmissing-prototypes]
int _wmt_detect_output_high(unsigned int id)
^
drivers/misc/mediatek/connectivity/common/common_detect/wmt_detect_pwr.c:63:1: note:
declare 'static' if the function is not intended to be used outside of this
translation unit
int _wmt_detect_output_high(unsigned int id)
^
static
>
drivers/misc/mediatek/connectivity/common/common_detect/wmt_detect_pwr.c:75:5: error: no
previous prototype for function '_wmt_detect_read_gpio_input'
[-Werror,-Wmissing-prototypes]
int _wmt_detect_read_gpio_input(unsigned int id)
^
drivers/misc/mediatek/connectivity/common/common_detect/wmt_detect_pwr.c:75:1: note:
declare 'static' if the function is not intended to be used outside of this
translation unit
int _wmt_detect_read_gpio_input(unsigned int id)
^
static
3 errors generated.
--
In file included from drivers/misc/mediatek/connectivity/wlan/gen2/common/dump.c:47:
In file included from
drivers/misc/mediatek/connectivity/wlan/gen2/include/precomp.h:171:
In file included from
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_os.h:591:
>
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:128:22: error:
redefinition of typedef 'UINT32' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef unsigned int UINT32, *PUINT32;
^
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:115:22:
note: previous definition is here
typedef unsigned int UINT32, *PUINT32;
^
>
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:128:31: error:
redefinition of typedef 'PUINT32' is a C11 feature
[-Werror,-Wtypedef-redefinition]
typedef unsigned int UINT32, *PUINT32;
^
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:115:31:
note: previous definition is here
typedef unsigned int UINT32, *PUINT32;
^
2 errors generated.
--
In file included from
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_lib.c:967:
In file included from
drivers/misc/mediatek/connectivity/wlan/gen2/include/precomp.h:171:
In file included from
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_os.h:591:
>
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:128:22: error:
redefinition of typedef 'UINT32' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef unsigned int UINT32, *PUINT32;
^
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:115:22:
note: previous definition is here
typedef unsigned int UINT32, *PUINT32;
^
>
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:128:31: error:
redefinition of typedef 'PUINT32' is a C11 feature
[-Werror,-Wtypedef-redefinition]
typedef unsigned int UINT32, *PUINT32;
^
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:115:31:
note: previous definition is here
typedef unsigned int UINT32, *PUINT32;
^
>
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_lib.c:4118:13: error: no previous
prototype for function 'wlanQueryCompileFlag' [-Werror,-Wmissing-prototypes]
WLAN_STATUS wlanQueryCompileFlag(IN P_ADAPTER_T prAdapter, IN UINT_32 u4QueryID,
OUT PUINT_32 pu4CompilerFlag)
^
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_lib.c:4118:1: note: declare
'static' if the function is not intended to be used outside of this translation
unit
WLAN_STATUS wlanQueryCompileFlag(IN P_ADAPTER_T prAdapter, IN UINT_32 u4QueryID, OUT
PUINT_32 pu4CompilerFlag)
^
static
>
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_lib.c:5431:1: error: no previous
prototype for function 'wlanoidQueryACSChannelList' [-Werror,-Wmissing-prototypes]
wlanoidQueryACSChannelList(IN P_ADAPTER_T prAdapter,
^
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_lib.c:5430:1: note: declare
'static' if the function is not intended to be used outside of this translation
unit
WLAN_STATUS
^
static
>
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_lib.c:5738:8: error: no previous
prototype for function 'wlanCfgFindNextToken' [-Werror,-Wmissing-prototypes]
INT_32 wlanCfgFindNextToken(struct WLAN_CFG_PARSE_STATE_S *state)
^
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_lib.c:5738:1: note: declare
'static' if the function is not intended to be used outside of this translation
unit
INT_32 wlanCfgFindNextToken(struct WLAN_CFG_PARSE_STATE_S *state)
^
static
>
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_lib.c:5897:1: error: no previous
prototype for function 'wlanCfgParseAddEntry' [-Werror,-Wmissing-prototypes]
wlanCfgParseAddEntry(IN P_ADAPTER_T prAdapter,
^
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_lib.c:5896:1: note: declare
'static' if the function is not intended to be used outside of this translation
unit
WLAN_STATUS
^
static
>
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_lib.c:5954:13: error: no previous
prototype for function 'wlanCfgParse' [-Werror,-Wmissing-prototypes]
WLAN_STATUS wlanCfgParse(IN P_ADAPTER_T prAdapter, PUINT_8 pucConfigBuf, UINT_32
u4ConfigBufLen)
^
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_lib.c:5954:1: note: declare
'static' if the function is not intended to be used outside of this translation
unit
WLAN_STATUS wlanCfgParse(IN P_ADAPTER_T prAdapter, PUINT_8 pucConfigBuf, UINT_32
u4ConfigBufLen)
^
static
7 errors generated.
--
In file included from
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_oid.c:1061:
In file included from
drivers/misc/mediatek/connectivity/wlan/gen2/include/precomp.h:171:
In file included from
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_os.h:591:
>
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:128:22: error:
redefinition of typedef 'UINT32' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef unsigned int UINT32, *PUINT32;
^
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:115:22:
note: previous definition is here
typedef unsigned int UINT32, *PUINT32;
^
>
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:128:31: error:
redefinition of typedef 'PUINT32' is a C11 feature
[-Werror,-Wtypedef-redefinition]
typedef unsigned int UINT32, *PUINT32;
^
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:115:31:
note: previous definition is here
typedef unsigned int UINT32, *PUINT32;
^
>
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_oid.c:8204:31: error: overlapping
comparisons always evaluate to true [-Werror,-Wtautological-overlap-compare]
if (prNewKey->ucKeyID != 0x1 || prNewKey->ucKeyID != 0x0) {
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
3 errors generated.
--
In file included from
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_p2p.c:217:
In file included from
drivers/misc/mediatek/connectivity/wlan/gen2/include/precomp.h:171:
In file included from
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_os.h:591:
>
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:128:22: error:
redefinition of typedef 'UINT32' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef unsigned int UINT32, *PUINT32;
^
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:115:22:
note: previous definition is here
typedef unsigned int UINT32, *PUINT32;
^
>
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:128:31: error:
redefinition of typedef 'PUINT32' is a C11 feature
[-Werror,-Wtypedef-redefinition]
typedef unsigned int UINT32, *PUINT32;
^
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:115:31:
note: previous definition is here
typedef unsigned int UINT32, *PUINT32;
^
In file included from
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_p2p.c:218:
>
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_p2p_ioctl.h:570:2: error:
"Please ENABLE kernel config (CONFIG_NL80211_TESTMODE) to support Wi-Fi Direct"
#error "Please ENABLE kernel config (CONFIG_NL80211_TESTMODE) to support
Wi-Fi Direct"
^
>
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_p2p.c:529:1: error: no previous
prototype for function 'wlanoidSetP2pNetworkAddress'
[-Werror,-Wmissing-prototypes]
wlanoidSetP2pNetworkAddress(IN P_ADAPTER_T
prAdapter,
^
drivers/misc/mediatek/connectivity/wlan/gen2/common/wlan_p2p.c:528:1: note: declare
'static' if the function is not intended to be used outside of this translation
unit
WLAN_STATUS
^
static
4 errors generated.
--
In file included from drivers/misc/mediatek/connectivity/wlan/gen2/nic/nic.c:637:
In file included from
drivers/misc/mediatek/connectivity/wlan/gen2/include/precomp.h:171:
In file included from
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_os.h:591:
>
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:128:22: error:
redefinition of typedef 'UINT32' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef unsigned int UINT32, *PUINT32;
^
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:115:22:
note: previous definition is here
typedef unsigned int UINT32, *PUINT32;
^
>
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:128:31: error:
redefinition of typedef 'PUINT32' is a C11 feature
[-Werror,-Wtypedef-redefinition]
typedef unsigned int UINT32, *PUINT32;
^
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:115:31:
note: previous definition is here
typedef unsigned int UINT32, *PUINT32;
^
> drivers/misc/mediatek/connectivity/wlan/gen2/nic/nic.c:1213:6:
error: no previous prototype for function 'nicHifInit'
[-Werror,-Wmissing-prototypes]
VOID nicHifInit(IN P_ADAPTER_T prAdapter)
^
drivers/misc/mediatek/connectivity/wlan/gen2/nic/nic.c:1213:1: note: declare
'static' if the function is not intended to be used outside of this translation
unit
VOID nicHifInit(IN P_ADAPTER_T prAdapter)
^
static
> drivers/misc/mediatek/connectivity/wlan/gen2/nic/nic.c:1316:6:
error: no previous prototype for function 'nicProcessFwOwnBackInterrupt'
[-Werror,-Wmissing-prototypes]
VOID nicProcessFwOwnBackInterrupt(IN P_ADAPTER_T
prAdapter)
^
drivers/misc/mediatek/connectivity/wlan/gen2/nic/nic.c:1316:1: note: declare
'static' if the function is not intended to be used outside of this translation
unit
VOID nicProcessFwOwnBackInterrupt(IN P_ADAPTER_T prAdapter)
^
static
> drivers/misc/mediatek/connectivity/wlan/gen2/nic/nic.c:2611:13:
error: no previous prototype for function 'nicSetAutoTxPowerControl'
[-Werror,-Wmissing-prototypes]
WLAN_STATUS nicSetAutoTxPowerControl(IN
P_ADAPTER_T prAdapter, IN P_CMD_TX_PWR_T prTxPwrParam)
^
drivers/misc/mediatek/connectivity/wlan/gen2/nic/nic.c:2611:1: note: declare
'static' if the function is not intended to be used outside of this translation
unit
WLAN_STATUS nicSetAutoTxPowerControl(IN P_ADAPTER_T prAdapter, IN P_CMD_TX_PWR_T
prTxPwrParam)
^
static
5 errors generated.
--
In file included from drivers/misc/mediatek/connectivity/wlan/gen2/nic/nic_tx.c:426:
In file included from
drivers/misc/mediatek/connectivity/wlan/gen2/include/precomp.h:171:
In file included from
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_os.h:591:
>
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:128:22: error:
redefinition of typedef 'UINT32' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef unsigned int UINT32, *PUINT32;
^
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:115:22:
note: previous definition is here
typedef unsigned int UINT32, *PUINT32;
^
>
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:128:31: error:
redefinition of typedef 'PUINT32' is a C11 feature
[-Werror,-Wtypedef-redefinition]
typedef unsigned int UINT32, *PUINT32;
^
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:115:31:
note: previous definition is here
typedef unsigned int UINT32, *PUINT32;
^
> drivers/misc/mediatek/connectivity/wlan/gen2/nic/nic_tx.c:991:6:
error: no previous prototype for function 'nicTxReturnMsduInfoProfiling'
[-Werror,-Wmissing-prototypes]
VOID nicTxReturnMsduInfoProfiling(IN P_ADAPTER_T
prAdapter, IN P_MSDU_INFO_T prMsduInfoListHead)
^
drivers/misc/mediatek/connectivity/wlan/gen2/nic/nic_tx.c:991:1: note: declare
'static' if the function is not intended to be used outside of this translation
unit
VOID nicTxReturnMsduInfoProfiling(IN P_ADAPTER_T prAdapter, IN P_MSDU_INFO_T
prMsduInfoListHead)
^
static
> drivers/misc/mediatek/connectivity/wlan/gen2/nic/nic_tx.c:1151:6:
error: no previous prototype for function 'nicTxLifetimeRecordEn'
[-Werror,-Wmissing-prototypes]
VOID nicTxLifetimeRecordEn(IN P_ADAPTER_T
prAdapter, IN P_MSDU_INFO_T prMsduInfo, IN P_NATIVE_PACKET prPacket)
^
drivers/misc/mediatek/connectivity/wlan/gen2/nic/nic_tx.c:1151:1: note: declare
'static' if the function is not intended to be used outside of this translation
unit
VOID nicTxLifetimeRecordEn(IN P_ADAPTER_T prAdapter, IN P_MSDU_INFO_T prMsduInfo, IN
P_NATIVE_PACKET prPacket)
^
static
> drivers/misc/mediatek/connectivity/wlan/gen2/nic/nic_tx.c:1279:1:
error: no previous prototype for function 'nicTxLifetimeCheckByAC'
[-Werror,-Wmissing-prototypes]
nicTxLifetimeCheckByAC(IN P_ADAPTER_T prAdapter,
^
drivers/misc/mediatek/connectivity/wlan/gen2/nic/nic_tx.c:1278:1: note: declare
'static' if the function is not intended to be used outside of this translation
unit
VOID
^
static
> drivers/misc/mediatek/connectivity/wlan/gen2/nic/nic_tx.c:1308:1:
error: no previous prototype for function 'nicTxLifetimeCheck'
[-Werror,-Wmissing-prototypes]
nicTxLifetimeCheck(IN P_ADAPTER_T prAdapter,
^
drivers/misc/mediatek/connectivity/wlan/gen2/nic/nic_tx.c:1307:1: note: declare
'static' if the function is not intended to be used outside of this translation
unit
VOID
^
static
6 errors generated.
--
In file included from drivers/misc/mediatek/connectivity/wlan/gen2/nic/nic_rx.c:812:
In file included from
drivers/misc/mediatek/connectivity/wlan/gen2/include/precomp.h:171:
In file included from
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_os.h:591:
>
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:128:22: error:
redefinition of typedef 'UINT32' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef unsigned int UINT32, *PUINT32;
^
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:115:22:
note: previous definition is here
typedef unsigned int UINT32, *PUINT32;
^
>
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:128:31: error:
redefinition of typedef 'PUINT32' is a C11 feature
[-Werror,-Wtypedef-redefinition]
typedef unsigned int UINT32, *PUINT32;
^
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_typedef.h:115:31:
note: previous definition is here
typedef unsigned int UINT32, *PUINT32;
^
In file included from drivers/misc/mediatek/connectivity/wlan/gen2/nic/nic_rx.c:827:
>
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_cfg80211.h:61:5: error:
'CONFIG_NL80211_TESTMODE' is not defined, evaluates to 0 [-Werror,-Wundef]
#if CONFIG_NL80211_TESTMODE
^
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_cfg80211.h:70:5:
error: 'CONFIG_NL80211_TESTMODE' is not defined, evaluates to 0 [-Werror,-Wundef]
#if CONFIG_NL80211_TESTMODE
^
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_cfg80211.h:301:5:
error: 'CONFIG_NL80211_TESTMODE' is not defined, evaluates to 0 [-Werror,-Wundef]
#if CONFIG_NL80211_TESTMODE
^
>
drivers/misc/mediatek/connectivity/wlan/gen2/os/linux/include/gl_cfg80211.h:332:2: error:
"Please ENABLE kernel config (CONFIG_NL80211_TESTMODE) to support Wi-Fi Direct"
#error "Please ENABLE kernel config (CONFIG_NL80211_TESTMODE) to support
Wi-Fi Direct"
^
> drivers/misc/mediatek/connectivity/wlan/gen2/nic/nic_rx.c:1499:8:
error: no previous prototype for function 'nicRxProcessGSCNEvent'
[-Werror,-Wmissing-prototypes]
UINT_8 nicRxProcessGSCNEvent(IN P_ADAPTER_T
prAdapter, IN OUT P_SW_RFB_T prSwRfb)
^
drivers/misc/mediatek/connectivity/wlan/gen2/nic/nic_rx.c:1499:1: note: declare
'static' if the function is not intended to be used outside of this translation
unit
UINT_8 nicRxProcessGSCNEvent(IN P_ADAPTER_T prAdapter, IN OUT P_SW_RFB_T prSwRfb)
^
static
7 errors generated.
..
vim +/btif_rx_notify_cb +522 drivers/misc/mediatek/btif/common/mtk_btif.c
521
522 void btif_rx_notify_cb(void)
523 {
524 BTIF_DBG_FUNC("++\n");
525 rx_notify_flag = 1;
526 wake_up(&btif_wq);
527 wake_up_interruptible(&btif_read_inq);
528 BTIF_DBG_FUNC("--\n");
529 }
530
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org