Running phase: unpackPhase unpacking source archive /nix/store/kanxr39f58b9yrjf6d4ml4scs6v4c5jh-source source root is source Running phase: patchPhase substituteStream() in derivation rtl8189fs-6.13.3-2024-01-22: WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file './Makefile') Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase build flags: SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash ARCH=x86_64 CROSS_COMPILE= KBUILD_OUTPUT=/nix/store/8i3lmpzwmb5rnwn4jpprzkm1q8a4589j-linux-zen-6.13.3-dev/lib/modules/6.13.3-zen1/build KSRC=/nix/store/8i3lmpzwmb5rnwn4jpprzkm1q8a4589j-linux-zen-6.13.3-dev/lib/modules/6.13.3-zen1/build CONFIG_PLATFORM_I386_PC=y CONFIG_PLATFORM_ARM_RPI=n make ARCH=x86_64 CROSS_COMPILE= -C /nix/store/8i3lmpzwmb5rnwn4jpprzkm1q8a4589j-linux-zen-6.13.3-dev/lib/modules/6.13.3-zen1/build M=/build/source modules make[1]: Entering directory '/nix/store/8i3lmpzwmb5rnwn4jpprzkm1q8a4589j-linux-zen-6.13.3-dev/lib/modules/6.13.3-zen1/build' make[2]: Entering directory '/build/source' CC [M] core/rtw_cmd.o core/rtw_cmd.c:2057:6: warning: no previous prototype for 'free_assoc_resources_hdl' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 2057 | void free_assoc_resources_hdl(_adapter *padapter, u8 lock_scanned_queue) | ^~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_cmd.c:2220:4: warning: no previous prototype for '_rtw_set_chplan_cmd' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 2220 | u8 _rtw_set_chplan_cmd(_adapter *adapter, int flags, u8 chplan, const struct country_chplan *country_ent, u8 swconfig) | ^~~~~~~~~~~~~~~~~~~ core/rtw_cmd.c:2492:4: warning: no previous prototype for 'rtw_ssmps_wk_hdl' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 2492 | u8 rtw_ssmps_wk_hdl(_adapter *adapter, struct ssmps_cmd_parm *ssmp_param) | ^~~~~~~~~~~~~~~~ core/rtw_cmd.c:3268:6: warning: no previous prototype for 'rtw_dynamic_chk_wk_hdl' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3268 | void rtw_dynamic_chk_wk_hdl(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~~ core/rtw_cmd.c:3317:6: warning: no previous prototype for 'lps_ctrl_wk_hdl' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3317 | void lps_ctrl_wk_hdl(_adapter *padapter, u8 lps_ctrl_type, u8 *buf) | ^~~~~~~~~~~~~~~ core/rtw_cmd.c:3496:6: warning: no previous prototype for 'rtw_dm_in_lps_hdl' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3496 | void rtw_dm_in_lps_hdl(_adapter *padapter) | ^~~~~~~~~~~~~~~~~ core/rtw_cmd.c:3537:6: warning: no previous prototype for 'rtw_lps_change_dtim_hdl' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3537 | void rtw_lps_change_dtim_hdl(_adapter *padapter, u8 dtim) | ^~~~~~~~~~~~~~~~~~~~~~~ core/rtw_cmd.c:3716:6: warning: no previous prototype for 'rtw_dm_ra_mask_hdl' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3716 | void rtw_dm_ra_mask_hdl(_adapter *padapter, struct sta_info *psta) | ^~~~~~~~~~~~~~~~~~ core/rtw_cmd.c:3758:6: warning: no previous prototype for 'power_saving_wk_hdl' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3758 | void power_saving_wk_hdl(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~ core/rtw_cmd.c:3764:6: warning: no previous prototype for 'reset_securitypriv_hdl' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3764 | void reset_securitypriv_hdl(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~~ core/rtw_cmd.c:5054:4: warning: no previous prototype for 'rtw_c2h_wk_cmd' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 5054 | u8 rtw_c2h_wk_cmd(PADAPTER padapter, u8 *pbuf, u16 length, u8 type) | ^~~~~~~~~~~~~~ core/rtw_cmd.c:5194:4: warning: no previous prototype for 'session_tracker_cmd' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 5194 | u8 session_tracker_cmd(_adapter *adapter, u8 cmd, struct sta_info *sta, u8 *local_naddr, u8 *local_port, u8 *remote_naddr, u8 *remote_port) | ^~~~~~~~~~~~~~~~~~~ core/rtw_cmd.c:5260:6: warning: no previous prototype for 'session_tracker_chk_for_sta' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 5260 | void session_tracker_chk_for_sta(_adapter *adapter, struct sta_info *sta) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_cmd.c:5342:6: warning: no previous prototype for 'session_tracker_chk_for_adapter' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 5342 | void session_tracker_chk_for_adapter(_adapter *adapter) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_cmd.c:5374:6: warning: no previous prototype for 'session_tracker_cmd_hdl' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 5374 | void session_tracker_cmd_hdl(_adapter *adapter, struct st_cmd_parm *parm) | ^~~~~~~~~~~~~~~~~~~~~~~ CC [M] core/rtw_security.o core/rtw_security.c:2854:5: warning: no previous prototype for 'omac1_aes_128' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 2854 | int omac1_aes_128(const u8 *key, const u8 *data, size_t data_len, u8 *mac) | ^~~~~~~~~~~~~ CC [M] core/rtw_debug.o CC [M] core/rtw_io.o CC [M] core/rtw_ioctl_query.o CC [M] core/rtw_ioctl_set.o CC [M] core/rtw_ieee80211.o core/rtw_ieee80211.c:429:6: warning: no previous prototype for 'rtw_filter_suppport_rateie' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 429 | void rtw_filter_suppport_rateie(WLAN_BSSID_EX *pbss_network, u8 keep) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_ieee80211.c:1640:6: warning: no previous prototype for 'dump_ht_cap_ie' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1640 | void dump_ht_cap_ie(void *sel, const u8 *ie, u32 ie_len) | ^~~~~~~~~~~~~~ core/rtw_ieee80211.c:1659:6: warning: no previous prototype for 'dump_ht_op_ie_content' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1659 | void dump_ht_op_ie_content(void *sel, const u8 *buf, u32 buf_len) | ^~~~~~~~~~~~~~~~~~~~~ core/rtw_ieee80211.c:1673:6: warning: no previous prototype for 'dump_ht_op_ie' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1673 | void dump_ht_op_ie(void *sel, const u8 *ie, u32 ie_len) | ^~~~~~~~~~~~~ core/rtw_ieee80211.c:2701:5: warning: no previous prototype for 'rtw_get_cipher_info' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 2701 | int rtw_get_cipher_info(struct wlan_network *pnetwork) | ^~~~~~~~~~~~~~~~~~~ CC [M] core/rtw_mlme.o core/rtw_mlme.c:23:6: warning: no previous prototype for 'rtw_init_mlme_timer' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 23 | void rtw_init_mlme_timer(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~ core/rtw_mlme.c:40:9: warning: no previous prototype for '_rtw_init_mlme_priv' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 40 | sint _rtw_init_mlme_priv(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~ core/rtw_mlme.c:298:6: warning: no previous prototype for '_rtw_free_mlme_priv' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 298 | void _rtw_free_mlme_priv(struct mlme_priv *pmlmepriv) | ^~~~~~~~~~~~~~~~~~~ core/rtw_mlme.c:317:9: warning: no previous prototype for '_rtw_enqueue_network' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 317 | sint _rtw_enqueue_network(_queue *queue, struct wlan_network *pnetwork) | ^~~~~~~~~~~~~~~~~~~~ core/rtw_mlme.c:1657:6: warning: no previous prototype for 'rtw_reset_rx_info' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1657 | void rtw_reset_rx_info(_adapter *adapter) | ^~~~~~~~~~~~~~~~~ CC [M] core/rtw_mlme_ext.o core/rtw_mlme_ext.c:1133:6: warning: no previous prototype for 'init_mlme_ext_timer' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1133 | void init_mlme_ext_timer(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:1408:5: warning: no previous prototype for 'p2p_listen_state_process' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1408 | u32 p2p_listen_state_process(_adapter *padapter, unsigned char *da) | ^~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c: In function 'OnAuth': core/rtw_mlme_ext.c:2198:41: warning: suggest braces around empty body in an 'if' statement [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wempty-body-Wempty-body8;;] 2198 | ;/* TODO: STA re_auth within expire_to */ | ^ core/rtw_mlme_ext.c:2203:33: warning: suggest braces around empty body in an 'if' statement [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wempty-body-Wempty-body8;;] 2203 | ; /* TODO: STA re_auth and auth timeout */ | ^ core/rtw_mlme_ext.c: At top level: core/rtw_mlme_ext.c:3091:14: warning: no previous prototype for 'on_action_spct_ch_switch' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3091 | unsigned int on_action_spct_ch_switch(_adapter *padapter, struct sta_info *psta, u8 *ies, uint ies_len) | ^~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:4138:6: warning: no previous prototype for 'issue_p2p_GO_response' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 4138 | void issue_p2p_GO_response(_adapter *padapter, u8 *raddr, u8 *frame_body, uint len, u8 result) | ^~~~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:4555:6: warning: no previous prototype for 'issue_p2p_GO_confirm' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 4555 | void issue_p2p_GO_confirm(_adapter *padapter, u8 *raddr, u8 result) | ^~~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:5433:4: warning: no previous prototype for 'is_matched_in_profilelist' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 5433 | u8 is_matched_in_profilelist(u8 *peermacaddr, struct profile_info *profileinfo) | ^~~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:5749:5: warning: no previous prototype for '_issue_probereq_p2p' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 5749 | int _issue_probereq_p2p(_adapter *padapter, u8 *da, int wait_ack) | ^~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:6126:5: warning: no previous prototype for 'rtw_action_public_decache' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 6126 | s32 rtw_action_public_decache(union recv_frame *rframe, u8 token_offset) | ^~~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:6151:14: warning: no previous prototype for 'on_action_public_p2p' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 6151 | unsigned int on_action_public_p2p(union recv_frame *precv_frame) | ^~~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:6501:14: warning: no previous prototype for 'on_action_public_vendor' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 6501 | unsigned int on_action_public_vendor(union recv_frame *precv_frame) | ^~~~~~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:6521:14: warning: no previous prototype for 'on_action_public_default' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 6521 | unsigned int on_action_public_default(union recv_frame *precv_frame, u8 action) | ^~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:7389:20: warning: no previous prototype for '_alloc_mgtxmitframe' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 7389 | struct xmit_frame *_alloc_mgtxmitframe(struct xmit_priv *pxmitpriv, bool once) | ^~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:7689:5: warning: no previous prototype for 'update_hidden_ssid' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 7689 | int update_hidden_ssid(u8 *ies, u32 ies_len, u8 hidden_ssid_mode) | ^~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:8326:5: warning: no previous prototype for '_issue_probereq' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 8326 | int _issue_probereq(_adapter *padapter, const NDIS_802_11_SSID *pssid, const u8 *da, u8 ch, bool append_wps, int wait_ack) | ^~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:10451:5: warning: no previous prototype for '_issue_action_SM_PS' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 10451 | int _issue_action_SM_PS(_adapter *padapter , unsigned char *raddr , u8 NewMimoPsMode , u8 wait_ack) | ^~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:12463:6: warning: no previous prototype for 'rtw_delba_check' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 12463 | void rtw_delba_check(_adapter *padapter, struct sta_info *psta, u8 from_timer) | ^~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:12501:4: warning: no previous prototype for 'chk_ap_is_alive' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 12501 | u8 chk_ap_is_alive(_adapter *padapter, struct sta_info *psta) | ^~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:12541:4: warning: no previous prototype for 'chk_adhoc_peer_is_alive' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 12541 | u8 chk_adhoc_peer_is_alive(struct sta_info *psta) | ^~~~~~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:14130:4: warning: no previous prototype for 'rtw_scan_sparse' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 14130 | u8 rtw_scan_sparse(_adapter *adapter, struct rtw_ieee80211_channel *ch, u8 ch_num) | ^~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:14225:4: warning: no previous prototype for 'rtw_scan_backop_decision' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 14225 | u8 rtw_scan_backop_decision(_adapter *adapter) | ^~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:14648:6: warning: no previous prototype for 'survey_done_set_ch_bw' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 14648 | void survey_done_set_ch_bw(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:14718:4: warning: no previous prototype for 'rtw_ps_annc' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 14718 | u8 rtw_ps_annc(_adapter *adapter, bool ps) | ^~~~~~~~~~~ core/rtw_mlme_ext.c:14807:6: warning: no previous prototype for 'sitesurvey_set_igi' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 14807 | void sitesurvey_set_igi(_adapter *adapter) | ^~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:14867:6: warning: no previous prototype for 'sitesurvey_set_msr' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 14867 | void sitesurvey_set_msr(_adapter *adapter, bool enter) | ^~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c: In function 'rtw_txpwr_init_regd': core/rtw_mlme_ext.c:197:21: warning: 'strcmp' reading 1 or more bytes from a region of size 0 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-overread-Wstringop-overread8;;] 197 | if (strcmp(exc->regd_name, regd_str(TXPWR_LMT_NONE)) == 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ././include/drv_types.h:62, from core/rtw_mlme_ext.c:17: ././include/rtw_rf.h:176:14: note: source object 'regd_name' of size 0 176 | char regd_name[0]; | ^~~~~~~~~ core/rtw_mlme_ext.c:199:26: warning: 'strcmp' reading 1 or more bytes from a region of size 0 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-overread-Wstringop-overread8;;] 199 | else if (strcmp(exc->regd_name, regd_str(TXPWR_LMT_WW)) == 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ././include/rtw_rf.h:176:14: note: source object 'regd_name' of size 0 176 | char regd_name[0]; | ^~~~~~~~~ CC [M] core/rtw_mi.o core/rtw_mi.c:880:4: warning: no previous prototype for '_rtw_mi_busy_traffic_check' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 880 | u8 _rtw_mi_busy_traffic_check(_adapter *padapter, void *data) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_mi.c:1316:6: warning: no previous prototype for 'rtw_dbg_skb_process' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1316 | void rtw_dbg_skb_process(_adapter *padapter, union recv_frame *precvframe, union recv_frame *pcloneframe) | ^~~~~~~~~~~~~~~~~~~ CC [M] core/rtw_wlan_util.o core/rtw_wlan_util.c:1029:6: warning: no previous prototype for '_rtw_sec_camid_is_used' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1029 | bool _rtw_sec_camid_is_used(struct cam_ctl_t *cam_ctl, u8 id) | ^~~~~~~~~~~~~~~~~~~~~~ core/rtw_wlan_util.c:1117:6: warning: no previous prototype for 'cam_cache_chk' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1117 | bool cam_cache_chk(_adapter *adapter, u8 id, u8 *addr, s16 kid, s8 gk) | ^~~~~~~~~~~~~ core/rtw_wlan_util.c:1135:5: warning: no previous prototype for '_rtw_camid_search' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1135 | s16 _rtw_camid_search(_adapter *adapter, u8 *addr, s16 kid, s8 gk) | ^~~~~~~~~~~~~~~~~ core/rtw_wlan_util.c:1175:5: warning: no previous prototype for 'rtw_get_camid' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1175 | s16 rtw_get_camid(_adapter *adapter, u8 *addr, s16 kid, u8 gk) | ^~~~~~~~~~~~~ core/rtw_wlan_util.c:1294:6: warning: no previous prototype for 'rtw_camid_set' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1294 | void rtw_camid_set(_adapter *adapter, u8 cam_id) | ^~~~~~~~~~~~~ core/rtw_wlan_util.c:1377:5: warning: no previous prototype for 'rtw_get_empty_cam_entry' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1377 | s16 rtw_get_empty_cam_entry(_adapter *adapter, u8 start_camid) | ^~~~~~~~~~~~~~~~~~~~~~~ core/rtw_wlan_util.c:2250:5: warning: no previous prototype for 'check_ielen' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 2250 | int check_ielen(u8 *start, uint len) | ^~~~~~~~~~~ core/rtw_wlan_util.c:2475:5: warning: no previous prototype for '_rtw_get_bcn_keys' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 2475 | int _rtw_get_bcn_keys(u8 *cap_info, u32 buf_len, u8 def_ch, ADAPTER *adapter | ^~~~~~~~~~~~~~~~~ core/rtw_wlan_util.c: In function '_rtw_get_bcn_keys': core/rtw_wlan_util.c:2534:17: warning: suggest braces around empty body in an 'else' statement [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wempty-body-Wempty-body8;;] 2534 | ; /* means hidden ssid */ | ^ CC [M] core/rtw_vht.o CC [M] core/rtw_pwrctrl.o core/rtw_pwrctrl.c:197:6: warning: no previous prototype for 'rtw_pwr_unassociated_idle' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 197 | bool rtw_pwr_unassociated_idle(_adapter *adapter) | ^~~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_pwrctrl.c:397:6: warning: no previous prototype for 'pwr_state_check_handler' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 397 | void pwr_state_check_handler(void *ctx) | ^~~~~~~~~~~~~~~~~~~~~~~ core/rtw_pwrctrl.c:523:4: warning: no previous prototype for 'rtw_cpwm_polling' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 523 | u8 rtw_cpwm_polling(_adapter *adapter, u8 rpwm, u8 cpwm_orig) | ^~~~~~~~~~~~~~~~ core/rtw_pwrctrl.c:687:4: warning: no previous prototype for 'PS_RDY_CHECK' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 687 | u8 PS_RDY_CHECK(_adapter *padapter) | ^~~~~~~~~~~~ CC [M] core/rtw_rf.o core/rtw_rf.c:580:6: warning: no previous prototype for '_dump_regd_exc_list' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 580 | void _dump_regd_exc_list(void *sel, struct rf_ctl_t *rfctl) | ^~~~~~~~~~~~~~~~~~~ core/rtw_rf.c:1211:4: warning: no previous prototype for 'rtw_rf_get_kfree_tx_gain_offset' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1211 | s8 rtw_rf_get_kfree_tx_gain_offset(_adapter *padapter, u8 path, u8 ch) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /nix/store/8i3lmpzwmb5rnwn4jpprzkm1q8a4589j-linux-zen-6.13.3-dev/lib/modules/6.13.3-zen1/source/include/asm-generic/bug.h:22, from /nix/store/8i3lmpzwmb5rnwn4jpprzkm1q8a4589j-linux-zen-6.13.3-dev/lib/modules/6.13.3-zen1/source/arch/x86/include/asm/bug.h:99, from /nix/store/8i3lmpzwmb5rnwn4jpprzkm1q8a4589j-linux-zen-6.13.3-dev/lib/modules/6.13.3-zen1/source/include/linux/bug.h:5, from /nix/store/8i3lmpzwmb5rnwn4jpprzkm1q8a4589j-linux-zen-6.13.3-dev/lib/modules/6.13.3-zen1/source/arch/x86/include/asm/paravirt.h:19, from /nix/store/8i3lmpzwmb5rnwn4jpprzkm1q8a4589j-linux-zen-6.13.3-dev/lib/modules/6.13.3-zen1/source/arch/x86/include/asm/cpuid.h:64, from /nix/store/8i3lmpzwmb5rnwn4jpprzkm1q8a4589j-linux-zen-6.13.3-dev/lib/modules/6.13.3-zen1/source/arch/x86/include/asm/processor.h:19, from /nix/store/8i3lmpzwmb5rnwn4jpprzkm1q8a4589j-linux-zen-6.13.3-dev/lib/modules/6.13.3-zen1/source/arch/x86/include/asm/timex.h:5, from /nix/store/8i3lmpzwmb5rnwn4jpprzkm1q8a4589j-linux-zen-6.13.3-dev/lib/modules/6.13.3-zen1/source/include/linux/timex.h:67, from /nix/store/8i3lmpzwmb5rnwn4jpprzkm1q8a4589j-linux-zen-6.13.3-dev/lib/modules/6.13.3-zen1/source/include/linux/time32.h:13, from /nix/store/8i3lmpzwmb5rnwn4jpprzkm1q8a4589j-linux-zen-6.13.3-dev/lib/modules/6.13.3-zen1/source/include/linux/time.h:60, from /nix/store/8i3lmpzwmb5rnwn4jpprzkm1q8a4589j-linux-zen-6.13.3-dev/lib/modules/6.13.3-zen1/source/include/linux/stat.h:19, from /nix/store/8i3lmpzwmb5rnwn4jpprzkm1q8a4589j-linux-zen-6.13.3-dev/lib/modules/6.13.3-zen1/source/include/linux/module.h:13, from ././include/basic_types.h:76, from ././include/drv_types.h:26, from core/rtw_rf.c:17: core/rtw_rf.c: In function 'dump_txpwr_lmt': core/rtw_rf.c:899:67: warning: 'strcmp' reading 1 or more bytes from a region of size 0 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-overread-Wstringop-overread8;;] 899 | , strcmp(ent->regd_name, rfctl->regd_name) == 0 ? rf_path_char(path) : ' '); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/8i3lmpzwmb5rnwn4jpprzkm1q8a4589j-linux-zen-6.13.3-dev/lib/modules/6.13.3-zen1/source/include/linux/printk.h:473:33: note: in definition of macro 'printk_index_wrap' 473 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~ ././include/rtw_debug.h:85:26: note: in expansion of macro 'printk' 85 | #define _dbgdump printk | ^~~~~~ ././include/rtw_debug.h:233:25: note: in expansion of macro '_RTW_PRINT' 233 | _RTW_PRINT(fmt, ##arg); \ | ^~~~~~~~~~ core/rtw_rf.c:898:57: note: in expansion of macro '_RTW_PRINT_SEL' 898 | _RTW_PRINT_SEL(sel, "%3c " | ^~~~~~~~~~~~~~ In file included from core/rtw_rf.c:18: ././include/hal_data.h:339:14: note: source object 'regd_name' of size 0 339 | char regd_name[0]; | ^~~~~~~~~ In file included from ././include/drv_types.h:60: core/rtw_rf.c:899:67: warning: 'strcmp' reading 1 or more bytes from a region of size 0 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-overread-Wstringop-overread8;;] 899 | , strcmp(ent->regd_name, rfctl->regd_name) == 0 ? rf_path_char(path) : ' '); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ././include/rtw_debug.h:235:46: note: in definition of macro '_RTW_PRINT_SEL' 235 | _seqdump(sel, fmt, ##arg); \ | ^~~ ././include/hal_data.h:339:14: note: source object 'regd_name' of size 0 339 | char regd_name[0]; | ^~~~~~~~~ core/rtw_rf.c: In function '_rtw_txpwr_lmt_get_by_name': core/rtw_rf.c:1141:21: warning: 'strcmp' reading 1 or more bytes from a region of size 0 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-overread-Wstringop-overread8;;] 1141 | if (strcmp(ent->regd_name, regd_name) == 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ././include/hal_data.h:339:14: note: source object 'regd_name' of size 0 339 | char regd_name[0]; | ^~~~~~~~~ CC [M] core/rtw_chplan.o core/rtw_chplan.c:429:6: warning: no previous prototype for 'rtw_regsty_is_excl_chs' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 429 | bool rtw_regsty_is_excl_chs(struct registry_priv *regsty, u8 ch) | ^~~~~~~~~~~~~~~~~~~~~~ CC [M] core/rtw_recv.o core/rtw_recv.c:854:6: warning: no previous prototype for 'recv_decache' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 854 | sint recv_decache(union recv_frame *precv_frame) | ^~~~~~~~~~~~ core/rtw_recv.c:909:6: warning: no previous prototype for 'process_pwrbit_data' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 909 | void process_pwrbit_data(_adapter *padapter, union recv_frame *precv_frame, struct sta_info *psta) | ^~~~~~~~~~~~~~~~~~~ core/rtw_recv.c:937:6: warning: no previous prototype for 'process_wmmps_data' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 937 | void process_wmmps_data(_adapter *padapter, union recv_frame *precv_frame, struct sta_info *psta) | ^~~~~~~~~~~~~~~~~~ core/rtw_recv.c:1170:6: warning: no previous prototype for 'sta2sta_data_frame' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1170 | sint sta2sta_data_frame( | ^~~~~~~~~~~~~~~~~~ core/rtw_recv.c:1349:6: warning: no previous prototype for 'ap2sta_data_frame' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1349 | sint ap2sta_data_frame( | ^~~~~~~~~~~~~~~~~ core/rtw_recv.c:1489:6: warning: no previous prototype for 'sta2ap_data_frame' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1489 | sint sta2ap_data_frame( | ^~~~~~~~~~~~~~~~~ core/rtw_recv.c:1963:6: warning: no previous prototype for 'validate_recv_mgnt_frame' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1963 | sint validate_recv_mgnt_frame(PADAPTER padapter, union recv_frame *precv_frame) | ^~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_recv.c:2007:6: warning: no previous prototype for 'validate_recv_data_frame' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 2007 | sint validate_recv_data_frame(_adapter *adapter, union recv_frame *precv_frame) | ^~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_recv.c: In function 'validate_recv_frame': core/rtw_recv.c:2343:79: warning: suggest braces around empty body in an 'else' statement [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wempty-body-Wempty-body8;;] 2343 | DBG_COUNTER(adapter->rx_logs.core_rx_pre_data_handled); | ^ core/rtw_recv.c: At top level: core/rtw_recv.c:2363:6: warning: no previous prototype for 'wlanhdr_to_ethhdr' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 2363 | sint wlanhdr_to_ethhdr(union recv_frame *precvframe) | ^~~~~~~~~~~~~~~~~ core/rtw_recv.c:2868:5: warning: no previous prototype for 'amsdu_to_msdu' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 2868 | int amsdu_to_msdu(_adapter *padapter, union recv_frame *prframe) | ^~~~~~~~~~~~~ core/rtw_recv.c:3516:5: warning: no previous prototype for 'validate_mp_recv_frame' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3516 | int validate_mp_recv_frame(_adapter *adapter, union recv_frame *precv_frame) | ^~~~~~~~~~~~~~~~~~~~~~ core/rtw_recv.c:3675:5: warning: no previous prototype for 'mp_recv_frame' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3675 | int mp_recv_frame(_adapter *padapter, union recv_frame *rframe) | ^~~~~~~~~~~~~ core/rtw_recv.c:4113:5: warning: no previous prototype for 'recv_frame_monitor' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 4113 | int recv_frame_monitor(_adapter *padapter, union recv_frame *rframe) | ^~~~~~~~~~~~~~~~~~ core/rtw_recv.c:4159:5: warning: no previous prototype for 'recv_func_prehandle' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 4159 | int recv_func_prehandle(_adapter *padapter, union recv_frame *rframe) | ^~~~~~~~~~~~~~~~~~~ core/rtw_recv.c:4196:5: warning: no previous prototype for 'recv_func_posthandle' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 4196 | int recv_func_posthandle(_adapter *padapter, union recv_frame *prframe) | ^~~~~~~~~~~~~~~~~~~~ core/rtw_recv.c:4304:5: warning: no previous prototype for 'recv_func' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 4304 | int recv_func(_adapter *padapter, union recv_frame *rframe) | ^~~~~~~~~ core/rtw_recv.c:4625:6: warning: no previous prototype for 'rx_process_phy_info' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 4625 | void rx_process_phy_info(_adapter *padapter, union recv_frame *rframe) | ^~~~~~~~~~~~~~~~~~~ CC [M] core/rtw_sta_mgt.o core/rtw_sta_mgt.c:19:6: warning: no previous prototype for 'test_st_match_rule' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 19 | bool test_st_match_rule(_adapter *adapter, u8 *local_naddr, u8 *local_port, u8 *remote_naddr, u8 *remote_port) | ^~~~~~~~~~~~~~~~~~ core/rtw_sta_mgt.c: In function 'rtw_mfree_stainfo': core/rtw_sta_mgt.c:384:25: warning: the comparison will always evaluate as 'true' for the address of 'lock' will never be NULL [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Waddress-Waddress8;;] 384 | if (&psta->lock != NULL) | ^~ In file included from ././include/drv_types.h:103, from core/rtw_sta_mgt.c:17: ././include/sta_info.h:263:17: note: 'lock' declared here 263 | _lock lock; | ^~~~ core/rtw_sta_mgt.c: At top level: core/rtw_sta_mgt.c:1073:4: warning: no previous prototype for '_rtw_access_ctrl' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1073 | u8 _rtw_access_ctrl(_adapter *adapter, u8 period, const u8 *mac_addr) | ^~~~~~~~~~~~~~~~ CC [M] core/rtw_ap.o core/rtw_ap.c:952:6: warning: no previous prototype for 'rtw_init_bmc_sta_tx_rate' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 952 | void rtw_init_bmc_sta_tx_rate(_adapter *padapter, struct sta_info *psta) | ^~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_ap.c:2804:4: warning: no previous prototype for 'rtw_ap_bmc_frames_hdl' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 2804 | u8 rtw_ap_bmc_frames_hdl(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~ core/rtw_ap.c:4124:6: warning: no previous prototype for 'rtw_ap_bcmc_sta_flush' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 4124 | void rtw_ap_bcmc_sta_flush(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~ core/rtw_ap.c: In function 'rtw_ap_update_chbw_by_ifbmp': core/rtw_ap.c:4385:42: warning: the comparison will always evaluate as 'true' for the address of 'padapters' will never be NULL [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Waddress-Waddress8;;] 4385 | if (!(ifbmp & BIT(i)) || !dvobj->padapters) | ^ In file included from core/rtw_ap.c:17: ././include/drv_types.h:1068:19: note: 'padapters' declared here 1068 | _adapter *padapters[CONFIG_IFACE_NUMBER];/*IFACE_ID_MAX*/ | ^~~~~~~~~ core/rtw_ap.c:4405:42: warning: the comparison will always evaluate as 'true' for the address of 'padapters' will never be NULL [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Waddress-Waddress8;;] 4405 | if (!(ifbmp & BIT(i)) || !dvobj->padapters) | ^ ././include/drv_types.h:1068:19: note: 'padapters' declared here 1068 | _adapter *padapters[CONFIG_IFACE_NUMBER];/*IFACE_ID_MAX*/ | ^~~~~~~~~ CC [M] core/mesh/rtw_mesh.o CC [M] core/mesh/rtw_mesh_pathtbl.o CC [M] core/mesh/rtw_mesh_hwmp.o CC [M] core/rtw_xmit.o core/rtw_xmit.c:60:6: warning: no previous prototype for 'rtw_free_xmit_block' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 60 | void rtw_free_xmit_block(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~ core/rtw_xmit.c:509:6: warning: no previous prototype for 'rtw_get_shared_macid_tx_rate_bmp_by_bw' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 509 | void rtw_get_shared_macid_tx_rate_bmp_by_bw(struct dvobj_priv *dvobj, u8 bw, u16 *r_bmp_cck_ofdm, u32 *r_bmp_ht, u32 *r_bmp_vht) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_xmit.c: In function 'update_attrib': core/rtw_xmit.c:1405:74: warning: suggest braces around empty body in an 'else' statement [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wempty-body-Wempty-body8;;] 1405 | DBG_COUNTER(padapter->tx_logs.core_tx_upd_attrib_unknown); | ^ core/rtw_xmit.c: At top level: core/rtw_xmit.c:3511:6: warning: no previous prototype for 'rtw_init_xmitframe' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3511 | void rtw_init_xmitframe(struct xmit_frame *pxframe) | ^~~~~~~~~~~~~~~~~~ core/rtw_xmit.c:3802:20: warning: no previous prototype for 'rtw_get_xframe' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3802 | struct xmit_frame *rtw_get_xframe(struct xmit_priv *pxmitpriv, int *num_frame) | ^~~~~~~~~~~~~~ core/rtw_xmit.c:4185:5: warning: no previous prototype for 'rtw_br_client_tx' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 4185 | int rtw_br_client_tx(_adapter *padapter, struct sk_buff **pskb) | ^~~~~~~~~~~~~~~~ core/rtw_xmit.c:6038:6: warning: no previous prototype for 'rtw_sctx_chk_waring_status' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 6038 | bool rtw_sctx_chk_waring_status(int status) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CC [M] core/rtw_p2p.o core/rtw_p2p.c:21:5: warning: no previous prototype for 'rtw_p2p_is_channel_list_ok' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 21 | int rtw_p2p_is_channel_list_ok(u8 desired_ch, u8 *ch_list, u8 ch_cnt) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_p2p.c:34:5: warning: no previous prototype for 'is_any_client_associated' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 34 | int is_any_client_associated(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_p2p.c:2492:4: warning: no previous prototype for 'rtw_p2p_get_peer_ch_list' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 2492 | u8 rtw_p2p_get_peer_ch_list(struct wifidirect_info *pwdinfo, u8 *ch_content, u8 ch_cnt, u8 *peer_ch_list) | ^~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_p2p.c:2514:4: warning: no previous prototype for 'rtw_p2p_ch_inclusion' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 2514 | u8 rtw_p2p_ch_inclusion(_adapter *adapter, u8 *peer_ch_list, u8 peer_ch_num, u8 *ch_list_inclusioned) | ^~~~~~~~~~~~~~~~~~~~ core/rtw_p2p.c:3009:6: warning: no previous prototype for 'find_phase_handler' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3009 | void find_phase_handler(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~ core/rtw_p2p.c:3034:6: warning: no previous prototype for 'restore_p2p_state_handler' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3034 | void restore_p2p_state_handler(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_p2p.c:3067:6: warning: no previous prototype for 'pre_tx_invitereq_handler' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3067 | void pre_tx_invitereq_handler(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_p2p.c:3079:6: warning: no previous prototype for 'pre_tx_provdisc_handler' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3079 | void pre_tx_provdisc_handler(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~~~ core/rtw_p2p.c:3091:6: warning: no previous prototype for 'pre_tx_negoreq_handler' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3091 | void pre_tx_negoreq_handler(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~~ core/rtw_p2p.c:3678:5: warning: no previous prototype for 'rtw_xframe_build_wfd_ie' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3678 | u32 rtw_xframe_build_wfd_ie(struct xmit_frame *xframe) | ^~~~~~~~~~~~~~~~~~~~~~~ core/rtw_p2p.c:3756:6: warning: no previous prototype for 'rtw_xframe_del_wfd_ie' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3756 | bool rtw_xframe_del_wfd_ie(struct xmit_frame *xframe) | ^~~~~~~~~~~~~~~~~~~~~ core/rtw_p2p.c:3828:5: warning: no previous prototype for 'dump_p2p_attr_ch_list' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3828 | u8 *dump_p2p_attr_ch_list(u8 *p2p_ie, uint p2p_ielen, u8 *buf, u32 buf_len) | ^~~~~~~~~~~~~~~~~~~~~ core/rtw_p2p.c:3880:6: warning: no previous prototype for 'rtw_p2p_nego_intent_compare' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3880 | bool rtw_p2p_nego_intent_compare(u8 req, u8 resp) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_p2p.c:4708:6: warning: no previous prototype for 'ap_p2p_switch_timer_process' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 4708 | void ap_p2p_switch_timer_process(void *FunctionContext) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ CC [M] core/rtw_rson.o CC [M] core/rtw_tdls.o CC [M] core/rtw_br_ext.o core/rtw_br_ext.c:641:6: warning: no previous prototype for 'nat25_db_expire' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 641 | void nat25_db_expire(_adapter *priv) | ^~~~~~~~~~~~~~~ core/rtw_br_ext.c:757:5: warning: no previous prototype for 'nat25_db_handle' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 757 | int nat25_db_handle(_adapter *priv, struct sk_buff *skb, int method) | ^~~~~~~~~~~~~~~ core/rtw_br_ext.c:1389:5: warning: no previous prototype for 'nat25_handle_frame' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1389 | int nat25_handle_frame(_adapter *priv, struct sk_buff *skb) | ^~~~~~~~~~~~~~~~~~ core/rtw_br_ext.c:1520:6: warning: no previous prototype for 'dhcp_flag_bcast' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1520 | void dhcp_flag_bcast(_adapter *priv, struct sk_buff *skb) | ^~~~~~~~~~~~~~~ core/rtw_br_ext.c:1561:7: warning: no previous prototype for 'scdb_findEntry' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1561 | void *scdb_findEntry(_adapter *priv, unsigned char *macAddr, | ^~~~~~~~~~~~~~ CC [M] core/rtw_iol.o CC [M] core/rtw_sreset.o core/rtw_sreset.c:104:6: warning: no previous prototype for 'sreset_restore_security_station' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 104 | void sreset_restore_security_station(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_sreset.c:140:6: warning: no previous prototype for 'sreset_restore_network_station' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 140 | void sreset_restore_network_station(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_sreset.c:200:6: warning: no previous prototype for 'sreset_restore_network_status' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 200 | void sreset_restore_network_status(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC [M] core/rtw_btcoex_wifionly.o CC [M] core/rtw_btcoex.o CC [M] core/rtw_beamforming.o CC [M] core/rtw_odm.o core/rtw_odm.c:67:6: warning: no previous prototype for 'rtw_odm_adaptivity_ver_msg' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 67 | void rtw_odm_adaptivity_ver_msg(void *sel, _adapter *adapter) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_odm.c:75:6: warning: no previous prototype for 'rtw_odm_adaptivity_en_msg' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 75 | void rtw_odm_adaptivity_en_msg(void *sel, _adapter *adapter) | ^~~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_odm.c:92:6: warning: no previous prototype for 'rtw_odm_adaptivity_mode_msg' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 92 | void rtw_odm_adaptivity_mode_msg(void *sel, _adapter *adapter) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ CC [M] core/rtw_rm.o CC [M] core/rtw_rm_fsm.o CC [M] core/efuse/rtw_efuse.o core/efuse/rtw_efuse.c:59:9: warning: no previous prototype for 'efuse_IsBT_Masked' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 59 | BOOLEAN efuse_IsBT_Masked(PADAPTER pAdapter, u16 Offset) | ^~~~~~~~~~~~~~~~~ core/efuse/rtw_efuse.c:922:6: warning: no previous prototype for 'efuse_PreUpdateAction' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 922 | void efuse_PreUpdateAction( | ^~~~~~~~~~~~~~~~~~~~~ core/efuse/rtw_efuse.c:951:6: warning: no previous prototype for 'efuse_PostUpdateAction' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 951 | void efuse_PostUpdateAction( | ^~~~~~~~~~~~~~~~~~~~~~ core/efuse/rtw_efuse.c:2402:1: warning: no previous prototype for 'Efuse_PgPacketWrite_BT' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 2402 | Efuse_PgPacketWrite_BT(PADAPTER pAdapter, | ^~~~~~~~~~~~~~~~~~~~~~ CC [M] core/rtw_sdio.o core/rtw_sdio.c:96:4: warning: no previous prototype for 'rtw_sdio_read_cmd52' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 96 | u8 rtw_sdio_read_cmd52(struct dvobj_priv *d, u32 addr, void *buf, size_t len) | ^~~~~~~~~~~~~~~~~~~ core/rtw_sdio.c:101:4: warning: no previous prototype for 'rtw_sdio_read_cmd53' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 101 | u8 rtw_sdio_read_cmd53(struct dvobj_priv *d, u32 addr, void *buf, size_t len) | ^~~~~~~~~~~~~~~~~~~ core/rtw_sdio.c:106:4: warning: no previous prototype for 'rtw_sdio_write_cmd52' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 106 | u8 rtw_sdio_write_cmd52(struct dvobj_priv *d, u32 addr, void *buf, size_t len) | ^~~~~~~~~~~~~~~~~~~~ core/rtw_sdio.c:111:4: warning: no previous prototype for 'rtw_sdio_write_cmd53' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 111 | u8 rtw_sdio_write_cmd53(struct dvobj_priv *d, u32 addr, void *buf, size_t len) | ^~~~~~~~~~~~~~~~~~~~ core/rtw_sdio.c:116:4: warning: no previous prototype for 'rtw_sdio_f0_read' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 116 | u8 rtw_sdio_f0_read(struct dvobj_priv *d, u32 addr, void *buf, size_t len) | ^~~~~~~~~~~~~~~~ CC [M] os_dep/osdep_service.o os_dep/osdep_service.c:2486:5: warning: no previous prototype for 'rtw_change_ifname' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 2486 | int rtw_change_ifname(_adapter *padapter, const char *ifname) | ^~~~~~~~~~~~~~~~~ CC [M] os_dep/linux/os_intfs.o os_dep/linux/os_intfs.c:929:6: warning: no previous prototype for 'rtw_regsty_load_target_tx_power' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 929 | void rtw_regsty_load_target_tx_power(struct registry_priv *regsty) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:1454:14: warning: no previous prototype for 'rtw_classify8021d' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1454 | unsigned int rtw_classify8021d(struct sk_buff *skb) | ^~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:1599:5: warning: no previous prototype for 'rtw_ndev_init' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1599 | int rtw_ndev_init(struct net_device *dev) | ^~~~~~~~~~~~~ os_dep/linux/os_intfs.c:1612:6: warning: no previous prototype for 'rtw_ndev_uninit' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1612 | void rtw_ndev_uninit(struct net_device *dev) | ^~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:1672:6: warning: no previous prototype for 'rtw_hook_if_ops' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1672 | void rtw_hook_if_ops(struct net_device *ndev) | ^~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:1754:5: warning: no previous prototype for 'rtw_os_ndev_alloc' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1754 | int rtw_os_ndev_alloc(_adapter *adapter) | ^~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:1808:5: warning: no previous prototype for 'rtw_os_ndev_register' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1808 | int rtw_os_ndev_register(_adapter *adapter, const char *name) | ^~~~~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:1949:5: warning: no previous prototype for 'rtw_os_ndevs_alloc' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1949 | int rtw_os_ndevs_alloc(struct dvobj_priv *dvobj) | ^~~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:2002:6: warning: no previous prototype for 'rtw_os_ndevs_free' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 2002 | void rtw_os_ndevs_free(struct dvobj_priv *dvobj) | ^~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:2134:4: warning: no previous prototype for 'rtw_init_default_value' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 2134 | u8 rtw_init_default_value(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:2803:5: warning: no previous prototype for '_netdev_vir_if_open' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 2803 | int _netdev_vir_if_open(struct net_device *pnetdev) | ^~~~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:2895:5: warning: no previous prototype for 'netdev_vir_if_open' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 2895 | int netdev_vir_if_open(struct net_device *pnetdev) | ^~~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:3069:6: warning: no previous prototype for 'rtw_drv_stop_vir_if' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3069 | void rtw_drv_stop_vir_if(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:3111:6: warning: no previous prototype for 'rtw_drv_free_vir_if' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3111 | void rtw_drv_free_vir_if(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:3275:5: warning: no previous prototype for 'rtw_os_ndevs_register' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3275 | int rtw_os_ndevs_register(struct dvobj_priv *dvobj) | ^~~~~~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:3394:6: warning: no previous prototype for 'netdev_br_init' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3394 | void netdev_br_init(struct net_device *netdev) | ^~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:3734:6: warning: no previous prototype for 'ips_netdrv_open' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3734 | int ips_netdrv_open(_adapter *padapter) | ^~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:3937:5: warning: no previous prototype for 'pm_netdev_open' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3937 | int pm_netdev_open(struct net_device *pnetdev, u8 bnormal) | ^~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:4072:5: warning: no previous prototype for 'pm_netdev_close' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 4072 | int pm_netdev_close(struct net_device *pnetdev, u8 bnormal) | ^~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:4765:5: warning: no previous prototype for 'rtw_suspend_normal' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 4765 | int rtw_suspend_normal(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:5175:6: warning: no previous prototype for 'rtw_mi_resume_process_normal' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 5175 | void rtw_mi_resume_process_normal(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:5204:5: warning: no previous prototype for 'rtw_resume_process_normal' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 5204 | int rtw_resume_process_normal(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~~~~~ CC [M] os_dep/linux/sdio_intf.o os_dep/linux/sdio_intf.c:690:11: warning: no previous prototype for 'rtw_sdio_primary_adapter_init' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 690 | _adapter *rtw_sdio_primary_adapter_init(struct dvobj_priv *dvobj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/sdio_intf.c:1119:5: warning: no previous prototype for 'rtw_resume_process' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 1119 | int rtw_resume_process(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~ CC [M] os_dep/linux/sdio_ops_linux.o CC [M] os_dep/linux/ioctl_linux.o os_dep/linux/ioctl_linux.c:186:6: warning: no previous prototype for 'indicate_wx_scan_complete_event' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 186 | void indicate_wx_scan_complete_event(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_linux.c:199:6: warning: no previous prototype for 'rtw_indicate_wx_assoc_event' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 199 | void rtw_indicate_wx_assoc_event(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_linux.c:222:6: warning: no previous prototype for 'rtw_indicate_wx_disassoc_event' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 222 | void rtw_indicate_wx_disassoc_event(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC [M] os_dep/linux/xmit_linux.o os_dep/linux/xmit_linux.c:376:5: warning: no previous prototype for 'rtw_mlcst2unicst' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 376 | int rtw_mlcst2unicst(_adapter *padapter, struct sk_buff *skb) | ^~~~~~~~~~~~~~~~ CC [M] os_dep/linux/mlme_linux.o CC [M] os_dep/linux/recv_linux.o os_dep/linux/recv_linux.c: In function 'rtw_os_recv_indicate_pkt': os_dep/linux/recv_linux.c:549:68: warning: suggest braces around empty body in an 'else' statement [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wempty-body-Wempty-body8;;] 549 | DBG_COUNTER(padapter->rx_logs.os_netif_err); | ^ CC [M] os_dep/linux/ioctl_cfg80211.o os_dep/linux/ioctl_cfg80211.c: In function 'rtw_cfg80211_ch_switch_notify': os_dep/linux/ioctl_cfg80211.c:422:9: error: too many arguments to function 'cfg80211_ch_switch_notify' 422 | cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ././include/osdep_service_linux.h:96, from ././include/osdep_service.h:53, from ././include/drv_types.h:27, from os_dep/linux/ioctl_cfg80211.c:17: /nix/store/8i3lmpzwmb5rnwn4jpprzkm1q8a4589j-linux-zen-6.13.3-dev/lib/modules/6.13.3-zen1/source/include/net/cfg80211.h:9012:6: note: declared here 9012 | void cfg80211_ch_switch_notify(struct net_device *dev, | ^~~~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c: At top level: os_dep/linux/ioctl_cfg80211.c:447:6: warning: no previous prototype for 'rtw_2g_channels_init' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 447 | void rtw_2g_channels_init(struct ieee80211_channel *channels) | ^~~~~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c:452:6: warning: no previous prototype for 'rtw_5g_channels_init' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 452 | void rtw_5g_channels_init(struct ieee80211_channel *channels) | ^~~~~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c:457:6: warning: no previous prototype for 'rtw_2g_rates_init' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 457 | void rtw_2g_rates_init(struct ieee80211_rate *rates) | ^~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c:464:6: warning: no previous prototype for 'rtw_5g_rates_init' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 464 | void rtw_5g_rates_init(struct ieee80211_rate *rates) | ^~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c:471:34: warning: no previous prototype for 'rtw_spt_band_alloc' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 471 | struct ieee80211_supported_band *rtw_spt_band_alloc(BAND_TYPE band) | ^~~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c:514:6: warning: no previous prototype for 'rtw_spt_band_free' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 514 | void rtw_spt_band_free(struct ieee80211_supported_band *spt_band) | ^~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c:601:36: warning: no previous prototype for 'nl80211_iftype_to_rtw_network_type' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 601 | NDIS_802_11_NETWORK_INFRASTRUCTURE nl80211_iftype_to_rtw_network_type(enum nl80211_iftype type) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c:634:5: warning: no previous prototype for 'nl80211_iftype_to_rtw_mlme_state' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 634 | u32 nl80211_iftype_to_rtw_mlme_state(enum nl80211_iftype type) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c:2050:5: warning: no previous prototype for 'cfg80211_rtw_set_default_mgmt_key' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 2050 | int cfg80211_rtw_set_default_mgmt_key(struct wiphy *wiphy, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c:2574:5: warning: no previous prototype for 'rtw_cfg80211_is_target_wps_scan' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 2574 | int rtw_cfg80211_is_target_wps_scan(struct cfg80211_scan_request *scan_req, struct cfg80211_ssid *target_ssid) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c:5106:6: warning: no previous prototype for 'dump_station_parameters' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 5106 | void dump_station_parameters(void *sel, struct wiphy *wiphy, const struct station_parameters *params) | ^~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c:5636:18: warning: no previous prototype for 'rtw_sta_info_get_by_idx' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 5636 | struct sta_info *rtw_sta_info_get_by_idx(struct sta_priv *pstapriv, const int idx, u8 *asoc_list_num) | ^~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c:9721:32: error: initialization of 'int (*)(struct wiphy *, struct net_device *, struct cfg80211_chan_def *)' from incompatible pointer type 'int (*)(struct wiphy *, struct cfg80211_chan_def *)' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 9721 | .set_monitor_channel = cfg80211_rtw_set_monitor_channel, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c:9721:32: note: (near initialization for 'rtw_cfg80211_ops.set_monitor_channel') make[4]: *** [/nix/store/8i3lmpzwmb5rnwn4jpprzkm1q8a4589j-linux-zen-6.13.3-dev/lib/modules/6.13.3-zen1/source/scripts/Makefile.build:196: os_dep/linux/ioctl_cfg80211.o] Error 1 make[3]: *** [/nix/store/8i3lmpzwmb5rnwn4jpprzkm1q8a4589j-linux-zen-6.13.3-dev/lib/modules/6.13.3-zen1/source/Makefile:1987: .] Error 2 make[2]: *** [/nix/store/8i3lmpzwmb5rnwn4jpprzkm1q8a4589j-linux-zen-6.13.3-dev/lib/modules/6.13.3-zen1/source/Makefile:251: __sub-make] Error 2 make[2]: Leaving directory '/build/source' make[1]: *** [/nix/store/8i3lmpzwmb5rnwn4jpprzkm1q8a4589j-linux-zen-6.13.3-dev/lib/modules/6.13.3-zen1/source/Makefile:251: __sub-make] Error 2 make[1]: Leaving directory '/nix/store/8i3lmpzwmb5rnwn4jpprzkm1q8a4589j-linux-zen-6.13.3-dev/lib/modules/6.13.3-zen1/build' make: *** [Makefile:2299: modules] Error 2