Running phase: unpackPhase unpacking source archive /nix/store/iirf2ph26d0rmiqrmpgvrclqmdj149lh-source source root is source Running phase: patchPhase substituteStream() in derivation rtl8189es-6.13.3-2024-01-21: 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:3619:6: warning: no previous prototype for 'rpt_timer_setting_wk_hdl' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 3619 | void rpt_timer_setting_wk_hdl(_adapter *padapter, u16 minRptTime) | ^~~~~~~~~~~~~~~~~~~~~~~~ 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) | ^~~~~~~~~~~~~~~~~~~~~~~ core/rtw_cmd.c:5536:6: warning: no previous prototype for 'rtw_ac_parm_cmd_hdl' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 5536 | void rtw_ac_parm_cmd_hdl(_adapter *padapter, u8 *_ac_parm_buf, int ac_type) | ^~~~~~~~~~~~~~~~~~~ CC [M] core/rtw_security.o 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:471: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;;] 471 | void rtw_filter_suppport_rateie(WLAN_BSSID_EX *pbss_network, u8 keep) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_ieee80211.c:728:5: warning: no previous prototype for 'rtw_get_akm_suite_bitmap' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 728 | u32 rtw_get_akm_suite_bitmap(u8 *s) | ^~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_ieee80211.c:1716: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;;] 1716 | void dump_ht_cap_ie(void *sel, const u8 *ie, u32 ie_len) | ^~~~~~~~~~~~~~ core/rtw_ieee80211.c:1735: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;;] 1735 | void dump_ht_op_ie_content(void *sel, const u8 *buf, u32 buf_len) | ^~~~~~~~~~~~~~~~~~~~~ core/rtw_ieee80211.c:1749: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;;] 1749 | void dump_ht_op_ie(void *sel, const u8 *ie, u32 ie_len) | ^~~~~~~~~~~~~ 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:1628: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;;] 1628 | 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:3132: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;;] 3132 | unsigned int on_action_spct_ch_switch(_adapter *padapter, struct sta_info *psta, u8 *ies, uint ies_len) | ^~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:4179: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;;] 4179 | void issue_p2p_GO_response(_adapter *padapter, u8 *raddr, u8 *frame_body, uint len, u8 result) | ^~~~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:4596: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;;] 4596 | void issue_p2p_GO_confirm(_adapter *padapter, u8 *raddr, u8 result) | ^~~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:5474: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;;] 5474 | u8 is_matched_in_profilelist(u8 *peermacaddr, struct profile_info *profileinfo) | ^~~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:5790: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;;] 5790 | int _issue_probereq_p2p(_adapter *padapter, u8 *da, int wait_ack) | ^~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:6167: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;;] 6167 | s32 rtw_action_public_decache(union recv_frame *rframe, u8 token_offset) | ^~~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:6192: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;;] 6192 | unsigned int on_action_public_p2p(union recv_frame *precv_frame) | ^~~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:6542: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;;] 6542 | unsigned int on_action_public_vendor(union recv_frame *precv_frame) | ^~~~~~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:6562: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;;] 6562 | unsigned int on_action_public_default(union recv_frame *precv_frame, u8 action) | ^~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:7430: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;;] 7430 | struct xmit_frame *_alloc_mgtxmitframe(struct xmit_priv *pxmitpriv, bool once) | ^~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:7730: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;;] 7730 | int update_hidden_ssid(u8 *ies, u32 ies_len, u8 hidden_ssid_mode) | ^~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:8367: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;;] 8367 | 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:10502: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;;] 10502 | int _issue_action_SM_PS(_adapter *padapter , unsigned char *raddr , u8 NewMimoPsMode , u8 wait_ack) | ^~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:12535: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;;] 12535 | void rtw_delba_check(_adapter *padapter, struct sta_info *psta, u8 from_timer) | ^~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:12573: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;;] 12573 | u8 chk_ap_is_alive(_adapter *padapter, struct sta_info *psta) | ^~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:12613: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;;] 12613 | u8 chk_adhoc_peer_is_alive(struct sta_info *psta) | ^~~~~~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:13159:6: warning: no previous prototype for 'report_sta_timeout_event' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 13159 | void report_sta_timeout_event(_adapter *padapter, u8 *MacAddr, unsigned short reason) | ^~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:13216:6: warning: no previous prototype for 'clnt_sa_query_timeout' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 13216 | void clnt_sa_query_timeout(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:14207: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;;] 14207 | u8 rtw_scan_sparse(_adapter *adapter, struct rtw_ieee80211_channel *ch, u8 ch_num) | ^~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:14302: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;;] 14302 | u8 rtw_scan_backop_decision(_adapter *adapter) | ^~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:14725: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;;] 14725 | void survey_done_set_ch_bw(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:14795: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;;] 14795 | u8 rtw_ps_annc(_adapter *adapter, bool ps) | ^~~~~~~~~~~ core/rtw_mlme_ext.c:14884: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;;] 14884 | void sitesurvey_set_igi(_adapter *adapter) | ^~~~~~~~~~~~~~~~~~ core/rtw_mlme_ext.c:14944: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;;] 14944 | 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:61, from core/rtw_mlme_ext.c:17: ././include/rtw_rf.h:205:14: note: source object 'regd_name' of size 0 205 | 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:205:14: note: source object 'regd_name' of size 0 205 | char regd_name[0]; | ^~~~~~~~~ CC [M] core/rtw_mi.o core/rtw_mi.c:884: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;;] 884 | u8 _rtw_mi_busy_traffic_check(_adapter *padapter, void *data) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_mi.c:1344: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;;] 1344 | 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:1015: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;;] 1015 | bool _rtw_sec_camid_is_used(struct cam_ctl_t *cam_ctl, u8 id) | ^~~~~~~~~~~~~~~~~~~~~~ core/rtw_wlan_util.c:1103: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;;] 1103 | bool cam_cache_chk(_adapter *adapter, u8 id, u8 *addr, s16 kid, s8 gk) | ^~~~~~~~~~~~~ core/rtw_wlan_util.c:1121: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;;] 1121 | s16 _rtw_camid_search(_adapter *adapter, u8 *addr, s16 kid, s8 gk) | ^~~~~~~~~~~~~~~~~ core/rtw_wlan_util.c:1161: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;;] 1161 | s16 rtw_get_camid(_adapter *adapter, u8 *addr, s16 kid, u8 gk) | ^~~~~~~~~~~~~ core/rtw_wlan_util.c:1280: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;;] 1280 | void rtw_camid_set(_adapter *adapter, u8 cam_id) | ^~~~~~~~~~~~~ core/rtw_wlan_util.c:1363: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;;] 1363 | s16 rtw_get_empty_cam_entry(_adapter *adapter, u8 start_camid) | ^~~~~~~~~~~~~~~~~~~~~~~ core/rtw_wlan_util.c:2232: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;;] 2232 | int check_ielen(u8 *start, uint len) | ^~~~~~~~~~~ CC [M] core/rtw_vht.o CC [M] core/rtw_pwrctrl.o core/rtw_pwrctrl.c:205: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;;] 205 | bool rtw_pwr_unassociated_idle(_adapter *adapter) | ^~~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_pwrctrl.c:405: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;;] 405 | void pwr_state_check_handler(void *ctx) | ^~~~~~~~~~~~~~~~~~~~~~~ core/rtw_pwrctrl.c:531: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;;] 531 | u8 rtw_cpwm_polling(_adapter *adapter, u8 rpwm, u8 cpwm_orig) | ^~~~~~~~~~~~~~~~ core/rtw_pwrctrl.c:695: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;;] 695 | u8 PS_RDY_CHECK(_adapter *padapter) | ^~~~~~~~~~~~ CC [M] core/rtw_rf.o core/rtw_rf.c:848: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;;] 848 | void _dump_regd_exc_list(void *sel, struct rf_ctl_t *rfctl) | ^~~~~~~~~~~~~~~~~~~ core/rtw_rf.c:1450: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;;] 1450 | 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:1168: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;;] 1168 | , 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/../hal/phydm/phydm_debug.h:92:41: note: in expansion of macro 'printk' 92 | #define pr_debug printk | ^~~~~~ ././include/rtw_debug.h:233:25: note: in expansion of macro '_RTW_PRINT' 233 | _RTW_PRINT(fmt, ##arg); \ | ^~~~~~~~~~ core/rtw_rf.c:1167:57: note: in expansion of macro '_RTW_PRINT_SEL' 1167 | _RTW_PRINT_SEL(sel, "%3c " | ^~~~~~~~~~~~~~ In file included from core/rtw_rf.c:18: ././include/hal_data.h:341:14: note: source object 'regd_name' of size 0 341 | char regd_name[0]; | ^~~~~~~~~ In file included from ././include/drv_types.h:59: core/rtw_rf.c:1168: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;;] 1168 | , 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:341:14: note: source object 'regd_name' of size 0 341 | char regd_name[0]; | ^~~~~~~~~ core/rtw_rf.c: In function '_rtw_txpwr_lmt_get_by_name': core/rtw_rf.c:1380: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;;] 1380 | if (strcmp(ent->regd_name, regd_name) == 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ././include/hal_data.h:341:14: note: source object 'regd_name' of size 0 341 | 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:2866: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;;] 2866 | int amsdu_to_msdu(_adapter *padapter, union recv_frame *prframe) | ^~~~~~~~~~~~~ core/rtw_recv.c:3533: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;;] 3533 | int validate_mp_recv_frame(_adapter *adapter, union recv_frame *precv_frame) | ^~~~~~~~~~~~~~~~~~~~~~ core/rtw_recv.c:3692: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;;] 3692 | int mp_recv_frame(_adapter *padapter, union recv_frame *rframe) | ^~~~~~~~~~~~~ core/rtw_recv.c:4128: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;;] 4128 | int recv_frame_monitor(_adapter *padapter, union recv_frame *rframe) | ^~~~~~~~~~~~~~~~~~ core/rtw_recv.c:4174: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;;] 4174 | int recv_func_prehandle(_adapter *padapter, union recv_frame *rframe) | ^~~~~~~~~~~~~~~~~~~ core/rtw_recv.c:4211: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;;] 4211 | int recv_func_posthandle(_adapter *padapter, union recv_frame *prframe) | ^~~~~~~~~~~~~~~~~~~~ core/rtw_recv.c:4319: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;;] 4319 | int recv_func(_adapter *padapter, union recv_frame *rframe) | ^~~~~~~~~ core/rtw_recv.c:4640: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;;] 4640 | 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:102, 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:2811: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;;] 2811 | u8 rtw_ap_bmc_frames_hdl(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~ core/rtw_ap.c:4142: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;;] 4142 | void rtw_ap_bcmc_sta_flush(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~ core/rtw_ap.c: In function 'rtw_ap_update_chbw_by_ifbmp': core/rtw_ap.c:4403: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;;] 4403 | if (!(ifbmp & BIT(i)) || !dvobj->padapters) | ^ In file included from core/rtw_ap.c:17: ././include/drv_types.h:1118:19: note: 'padapters' declared here 1118 | _adapter *padapters[CONFIG_IFACE_NUMBER];/*IFACE_ID_MAX*/ | ^~~~~~~~~ core/rtw_ap.c:4423: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;;] 4423 | if (!(ifbmp & BIT(i)) || !dvobj->padapters) | ^ ././include/drv_types.h:1118:19: note: 'padapters' declared here 1118 | _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:465:6: warning: no previous prototype for 'rtw_get_adapter_tx_rate_bmp_by_bw' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 465 | void rtw_get_adapter_tx_rate_bmp_by_bw(_adapter *adapter, u8 bw, u16 *r_bmp_cck_ofdm, u32 *r_bmp_ht, u64 *r_bmp_vht) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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, u64 *r_bmp_vht) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_xmit.c:544:6: warning: no previous prototype for 'rtw_get_adapter_tx_rate_bmp' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 544 | void rtw_get_adapter_tx_rate_bmp(_adapter *adapter, u16 r_bmp_cck_ofdm[], u32 r_bmp_ht[], u64 r_bmp_vht[]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_xmit.c: In function 'update_attrib': core/rtw_xmit.c:1512: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;;] 1512 | DBG_COUNTER(padapter->tx_logs.core_tx_upd_attrib_unknown); | ^ core/rtw_xmit.c: At top level: core/rtw_xmit.c:3625: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;;] 3625 | void rtw_init_xmitframe(struct xmit_frame *pxframe) | ^~~~~~~~~~~~~~~~~~ core/rtw_xmit.c:3916: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;;] 3916 | struct xmit_frame *rtw_get_xframe(struct xmit_priv *pxmitpriv, int *num_frame) | ^~~~~~~~~~~~~~ core/rtw_xmit.c:4299: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;;] 4299 | int rtw_br_client_tx(_adapter *padapter, struct sk_buff **pskb) | ^~~~~~~~~~~~~~~~ core/rtw_xmit.c:6157: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;;] 6157 | 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:3677: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;;] 3677 | u32 rtw_xframe_build_wfd_ie(struct xmit_frame *xframe) | ^~~~~~~~~~~~~~~~~~~~~~~ core/rtw_p2p.c:3755: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;;] 3755 | bool rtw_xframe_del_wfd_ie(struct xmit_frame *xframe) | ^~~~~~~~~~~~~~~~~~~~~ core/rtw_p2p.c:3827: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;;] 3827 | u8 *dump_p2p_attr_ch_list(u8 *p2p_ie, uint p2p_ielen, u8 *buf, u32 buf_len) | ^~~~~~~~~~~~~~~~~~~~~ core/rtw_p2p.c:3879: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;;] 3879 | bool rtw_p2p_nego_intent_compare(u8 req, u8 resp) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ core/rtw_p2p.c:4711: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;;] 4711 | 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/rtw_rm_util.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:920: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;;] 920 | void efuse_PreUpdateAction( | ^~~~~~~~~~~~~~~~~~~~~ core/efuse/rtw_efuse.c:949: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;;] 949 | void efuse_PostUpdateAction( | ^~~~~~~~~~~~~~~~~~~~~~ core/efuse/rtw_efuse.c:2417: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;;] 2417 | Efuse_PgPacketWrite_BT(PADAPTER pAdapter, | ^~~~~~~~~~~~~~~~~~~~~~ CC [M] core/rtw_sdio.o core/rtw_sdio.c:123: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;;] 123 | u8 rtw_sdio_read_cmd52(struct dvobj_priv *d, u32 addr, void *buf, size_t len) | ^~~~~~~~~~~~~~~~~~~ core/rtw_sdio.c:128: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;;] 128 | u8 rtw_sdio_read_cmd53(struct dvobj_priv *d, u32 addr, void *buf, size_t len) | ^~~~~~~~~~~~~~~~~~~ core/rtw_sdio.c:133: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;;] 133 | u8 rtw_sdio_write_cmd52(struct dvobj_priv *d, u32 addr, void *buf, size_t len) | ^~~~~~~~~~~~~~~~~~~~ core/rtw_sdio.c:138: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;;] 138 | u8 rtw_sdio_write_cmd53(struct dvobj_priv *d, u32 addr, void *buf, size_t len) | ^~~~~~~~~~~~~~~~~~~~ core/rtw_sdio.c:143: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;;] 143 | 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:2525: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;;] 2525 | int rtw_change_ifname(_adapter *padapter, const char *ifname) | ^~~~~~~~~~~~~~~~~ CC [M] os_dep/linux/os_intfs.o os_dep/linux/os_intfs.c:991: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;;] 991 | void rtw_regsty_load_target_tx_power(struct registry_priv *regsty) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:1534: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;;] 1534 | unsigned int rtw_classify8021d(struct sk_buff *skb) | ^~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:1679: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;;] 1679 | int rtw_ndev_init(struct net_device *dev) | ^~~~~~~~~~~~~ os_dep/linux/os_intfs.c:1692: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;;] 1692 | void rtw_ndev_uninit(struct net_device *dev) | ^~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:1752: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;;] 1752 | void rtw_hook_if_ops(struct net_device *ndev) | ^~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:1834: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;;] 1834 | int rtw_os_ndev_alloc(_adapter *adapter) | ^~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:1888: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;;] 1888 | int rtw_os_ndev_register(_adapter *adapter, const char *name) | ^~~~~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:2029: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;;] 2029 | int rtw_os_ndevs_alloc(struct dvobj_priv *dvobj) | ^~~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:2082: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;;] 2082 | void rtw_os_ndevs_free(struct dvobj_priv *dvobj) | ^~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:2214: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;;] 2214 | u8 rtw_init_default_value(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:2912: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;;] 2912 | int _netdev_vir_if_open(struct net_device *pnetdev) | ^~~~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:3004: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;;] 3004 | int netdev_vir_if_open(struct net_device *pnetdev) | ^~~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:3178: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;;] 3178 | void rtw_drv_stop_vir_if(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:3220: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;;] 3220 | void rtw_drv_free_vir_if(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:3384: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;;] 3384 | int rtw_os_ndevs_register(struct dvobj_priv *dvobj) | ^~~~~~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:3503: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;;] 3503 | void netdev_br_init(struct net_device *netdev) | ^~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:3843: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;;] 3843 | int ips_netdrv_open(_adapter *padapter) | ^~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:4046: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;;] 4046 | int pm_netdev_open(struct net_device *pnetdev, u8 bnormal) | ^~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:4181: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;;] 4181 | int pm_netdev_close(struct net_device *pnetdev, u8 bnormal) | ^~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:4858: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;;] 4858 | int rtw_suspend_normal(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:5269: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;;] 5269 | void rtw_mi_resume_process_normal(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:5298: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;;] 5298 | int rtw_resume_process_normal(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:5414:4: warning: no previous prototype for 'rtw_get_gpio' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 5414 | u8 rtw_get_gpio(struct net_device *netdev, u8 gpio_num) | ^~~~~~~~~~~~ os_dep/linux/os_intfs.c:5421:6: warning: no previous prototype for 'rtw_set_gpio_output_value' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 5421 | int rtw_set_gpio_output_value(struct net_device *netdev, u8 gpio_num, bool isHigh) | ^~~~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:5430:5: warning: no previous prototype for 'rtw_config_gpio' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 5430 | int rtw_config_gpio(struct net_device *netdev, u8 gpio_num, bool isOutput) | ^~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:5436:5: warning: no previous prototype for 'rtw_register_gpio_interrupt' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 5436 | int rtw_register_gpio_interrupt(struct net_device *netdev, int gpio_num, void(*callback)(u8 level)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/os_intfs.c:5443:5: warning: no previous prototype for 'rtw_disable_gpio_interrupt' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 5443 | int rtw_disable_gpio_interrupt(struct net_device *netdev, int gpio_num) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CC [M] os_dep/linux/sdio_intf.o os_dep/linux/sdio_intf.c:798: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;;] 798 | _adapter *rtw_sdio_primary_adapter_init(struct dvobj_priv *dvobj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/sdio_intf.c:1231: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;;] 1231 | 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:182: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;;] 182 | void indicate_wx_scan_complete_event(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_linux.c:195: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;;] 195 | void rtw_indicate_wx_assoc_event(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_linux.c:218: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;;] 218 | void rtw_indicate_wx_disassoc_event(_adapter *padapter) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC [M] os_dep/linux/xmit_linux.o os_dep/linux/xmit_linux.c:377: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;;] 377 | 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:410:6: warning: no previous prototype for 'rtw_cfg80211_allow_ch_switch_notify' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 410 | bool rtw_cfg80211_allow_ch_switch_notify(_adapter *adapter) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c: In function 'rtw_cfg80211_ch_switch_notify': os_dep/linux/ioctl_cfg80211.c:442:9: error: too many arguments to function 'cfg80211_ch_switch_notify' 442 | cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ././include/osdep_service_linux.h:97, 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:470: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;;] 470 | void rtw_2g_channels_init(struct ieee80211_channel *channels) | ^~~~~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c:475: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;;] 475 | void rtw_5g_channels_init(struct ieee80211_channel *channels) | ^~~~~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c:480: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;;] 480 | void rtw_2g_rates_init(struct ieee80211_rate *rates) | ^~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c:487: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;;] 487 | void rtw_5g_rates_init(struct ieee80211_rate *rates) | ^~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c:494: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;;] 494 | struct ieee80211_supported_band *rtw_spt_band_alloc(BAND_TYPE band) | ^~~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c:537: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;;] 537 | void rtw_spt_band_free(struct ieee80211_supported_band *spt_band) | ^~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c:625: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;;] 625 | NDIS_802_11_NETWORK_INFRASTRUCTURE nl80211_iftype_to_rtw_network_type(enum nl80211_iftype type) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c:658: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;;] 658 | u32 nl80211_iftype_to_rtw_mlme_state(enum nl80211_iftype type) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c:2073: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;;] 2073 | int cfg80211_rtw_set_default_mgmt_key(struct wiphy *wiphy, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c:2600: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;;] 2600 | int rtw_cfg80211_is_target_wps_scan(struct cfg80211_scan_request *scan_req, struct cfg80211_ssid *target_ssid) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c:5275: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;;] 5275 | void dump_station_parameters(void *sel, struct wiphy *wiphy, const struct station_parameters *params) | ^~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c:5805: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;;] 5805 | 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:9871:5: warning: no previous prototype for 'cfg80211_rtw_external_auth' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes8;;] 9871 | int cfg80211_rtw_external_auth(struct wiphy *wiphy, struct net_device *dev, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c:10038: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;;] 10038 | .set_monitor_channel = cfg80211_rtw_set_monitor_channel, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_dep/linux/ioctl_cfg80211.c:10038: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:2292: modules] Error 2