pcieport 0000:00:1c.0: AER logs showing repeated errors
https://askubuntu.com/questions/1562128/pcieport-0000001c-0-aer-logs-showing-repeated-errors
I just got a new PC and installed dual boot Windows and Ubuntu 24.04. Everything seemed to be going well until I got some disk space issues. I tracked this down to /var/log syslog . and kern.log which are showing the following issues:
syslog:
2025-12-22T16:29:52.401367+00:00 blank kernel: pcieport 0000:00:1c.0: PCIe Bus Error: severity=Correctable, type=Physical Layer, (Receiver ID)
2025-12-22T16:29:52.401367+00:00 blank kernel: pcieport 0000:00:1c.0: device [8086:a33c] error status/mask=00000001/00002000
2025-12-22T16:29:52.401368+00:00 blank kernel: pcieport 0000:00:1c.0: [ 0] RxErr (First)
2025-12-22T16:29:52.401368+00:00 blank kernel: pcieport 0000:00:1c.0: AER: Correctable error message received from 0000:00:1c.0
2025-12-22T16:29:52.401368+00:00 blank kernel: pcieport 0000:00:1c.0: AER: found no error details for 0000:00:1c.0
kern.log:
2025-12-22T16:29:52.508305+00:00 blank kernel: pcieport 0000:00:1c.0: device [8086:a33c] error status/mask=00000001/00002000
2025-12-22T16:29:52.508305+00:00 blank kernel: pcieport 0000:00:1c.0: [ 0] RxErr (First)
2025-12-22T16:29:52.508306+00:00 blank kernel: pcieport 0000:00:1c.0: AER: Correctable error message received from 0000:00:1c.0
2025-12-22T16:29:52.508306+00:00 blank kernel: pcieport 0000:00:1c.0: AER: found no error details for 0000:00:1c.0
2025-12-22T16:29:52.508306+00:00 blank kernel: pcieport 0000:00:1c.0: AER: Correctable error message received from 0000:00:1c.0
2025-12-22T16:29:52.508307+00:00 blank kernel: pcieport 0000:00:1c.0: PCIe Bus Error: severity=Correctable, type=Physical Layer, (Receiver ID)
Initially both logs were up to 45gb each, resulting in Ubuntu not being able to boot up. Journal logs are also fairly sizable at 4GB, but less of an immediate issue. Syslog and kern.log are still both creeping up in size, but I've cleared them with:
sudo sh -c 'echo > /var/log/syslog'
sudo sh -c 'echo > /var/log/kern.log'
I'm aware this is only temporarily keeping things going. I've looked into logrotate and may set that up, but it seems that there's a broader issue with "pcieport 0000:00:1c.0: AER". I don't know what this is though or have any idea of how to fix it.
Is anyone able to help me with this? My command line skills aren't great and I don't really have and understanding of what's going on with these processes other than something with pcieport is throwing up unresolved errors and they're building up and taking over memory that I want to use for other things.
I'd really appreciate any clear advice, explanations or solutions.
EDIT - taking suggestion from the post steeldriver linked here is additional data:
lspci
00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-S GT2 [UHD Graphics 630]
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:17.0 SATA controller: Intel Corporation Cannon Lake PCH SATA AHCI Controller (rev 10)
00:1c.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #5 (rev f0)
00:1c.7 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #8 (rev f0)
00:1f.0 ISA bridge: Intel Corporation H310 Chipset LPC/eSPI Controller (rev 10)
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192EE PCIe Wireless Network Adapter
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)
lspci -tv
-[0000:00]-+-00.0 Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers
+-02.0 Intel Corporation CoffeeLake-S GT2 [UHD Graphics 630]
+-14.0 Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller
+-14.2 Intel Corporation Cannon Lake PCH Shared SRAM
+-16.0 Intel Corporation Cannon Lake PCH HECI Controller
+-17.0 Intel Corporation Cannon Lake PCH SATA AHCI Controller
+-1c.0-[01]----00.0 Realtek Semiconductor Co., Ltd. RTL8192EE PCIe Wireless Network Adapter
+-1c.7-[02]----00.0 Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller
+-1f.0 Intel Corporation H310 Chipset LPC/eSPI Controller
+-1f.3 Intel Corporation Cannon Lake PCH cAVS
+-1f.4 Intel Corporation Cannon Lake PCH SMBus Controller
\-1f.5 Intel Corporation Cannon Lake PCH SPI Controller
Bios version:
0223
Make/Model is ASUSTeK COMPUTER INC. PRIME H310M-K with Intel Core i7-8700 × 12
I haven't run memtest that's linked, but I did run the one in BIOS settings and that showed no issues.
EDIT
Memory card shows DX16GDDR4AA3200 16GB DDR4 PC-4-2PC4-25600AA-3200MHz
Memory card brand is 'XUM' which isn't on the Asus memory/device support list. It seems to be a UK based manufacturer with production in China, also trading as 'Dr Memory', upcycling chips from electronic waste sources [https://www.scaleupinstitute.org.uk/stories/xum/][1]
I installed dkms and ran it, but it returned nothing, so I take it that means I don't have it.
EDIT 26 DEC
So I ran sudo lshw -class network and got the following:
*-network
description: Wireless interface
product: RTL8192EE PCIe Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:01:00.0
logical name: wlp1s0
version: 00
serial: 98:25:4a:51:95:13
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8192ee driverversion=6.14.0-37-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:127 ioport:4000(size=256) memory:a1200000-a1203fff
*-network
description: Ethernet interface
product: RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: enp2s0
version: 15
serial: 2c:fd:a1:bb:71:44
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.14.0-37-generic duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.164 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:19 ioport:3000(size=256) memory:a1104000-a1104fff memory:a1100000-a1103fff
EDIT 28/12/2025
Results of
sudo fwupdmgr get-devices
│
├─Core™ i7-8700 CPU @ 3.20GHz:
│ Device ID: 4bde70ba4e39b28f9eab1628f9dd6e6244c03027
│ Current version: 0x000000fa
│ Vendor: Intel
│ GUIDs: 809a0b93-8a12-5338-a571-ad5583acf896 ← CPUID\PRO_0&FAM_06&MOD_9E
│ 72ec2ff3-49ff-5ec2-bdbb-525badd47543 ← CPUID\PRO_0&FAM_06&MOD_9E&STP_A
│ Device Flags: • Internal device
│
├─System Firmware:
│ │ Device ID: 53102fb297aeeb0e31122af52ec36682035b3ad1
│ │ Summary: UEFI System Resource Table device (updated via NVRAM)
│ │ Current version: 12804
│ │ Minimum Version: 12804
│ │ Vendor: System manufacturer (DMI:American Megatrends Inc.)
│ │ Update State: Success
│ │ GUID: 490eb939-0b18-5479-85e9-8496347b7dea
│ │ Device Flags: • Internal device
│ │ • Updatable
│ │ • System requires external power source
│ │ • Needs a reboot after installation
│ │ • Cryptographic hash verification is available
│ │ • Device is usable for the duration of the update
│ │ Device Requests: • Message
│ │
│ └─UEFI dbx:
│ Device ID: 362301da643102b9f38477387e2193e57abaa590
│ Summary: UEFI revocation database
│ Current version: 20230501
│ Minimum Version: 20230501
│ Vendor: UEFI:Microsoft
│ Install Duration: 1 second
│ GUIDs: f8ff0d50-c757-5dc3-951a-39d86e16f419 ← UEFI\CRT_D7F66BE77CEF858C174BF4338A99263C8795B74E02026411F5F532F716AE3263&ARCH_X64
│ f8ba2887-9411-5c36-9cee-88995bb39731 ← UEFI\CRT_A1117F516A32CEFCBA3F2D1ACE10A87972FD6BBE8FE0D0B996E09E65D802A503&ARCH_X64
│ 0c7691e1-b6f2-5d71-bc9c-aabee364c916 ← UEFI\CRT_ED1FE72CB9CA31C9AF5B757AFCD733323D675825032E6CED7FE1AE9EB767998C&ARCH_X64
│ Device Flags: • Internal device
│ • Updatable
│ • Needs a reboot after installation
│ • Device is usable for the duration of the update
│ • Only version upgrades are allowed
│ • Signed Payload
│
├─TPM:
│ Device ID: c6a80ac3a22083423992a3cb15018989f37834d6
│ Summary: TPM 2.0 Device
│ Current version: 401.1.0.0
│ Vendor: Intel (TPM:INTC)
│ GUIDs: 34801700-3a50-5b05-820c-fe14580e4c2d ← TPM\VEN_INTC&DEV_0000
│ 8e1cbc5d-5a11-5149-bfea-b6065d5296ba ← TPM\VEN_INTC&MOD_Intel
│ 03f304f4-223e-54f4-b2c1-c3cf3b5817c6 ← TPM\VEN_INTC&DEV_0000&VER_2.0
│ 52d7b679-db28-5bf7-bd87-41d77aeec600 ← TPM\VEN_INTC&MOD_Intel&VER_2.0
│ Device Flags: • Internal device
│ • System requires external power source
│ • Needs a reboot after installation
│ • Device can recover flash failures
│ • Full disk encryption secrets may be invalidated when updating
│ • Signed Payload
│
└─VTP1TSSD1:
Device ID: e421b2fc248391f6fe3e55ddbb3c9043be068bd0
Summary: ATA drive
Current version: H250815a
Serial Number: VTP1024S1017171VC08
Update Error: No vendor ID set
GUIDs: 3a3515e4-57fc-5413-9c07-166cd68c1ad5 ← IDE\VTP1TSSD1_______________________________H250815a
193829ed-b5f0-5039-890f-bd7956932ada ← IDE\0VTP1TSSD1_______________________________
52b9ad75-16d4-509a-ab43-8e873acc3cfc ← VTP1TSSD1
Device Flags: • Internal device
• System requires external power source
• Needs a reboot after installation
• Device is usable for the duration of the update
• Updatable
EDIT 30 Dec 2025
fwupdmgr isn't showingany different from above - no RTL info showing. So I've tried ethtool
This is the results
CORRECTION There are 3 things showing up on ip link show
These are they
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether 2c:fd:a1:bb:71:44 brd ff:ff:ff:ff:ff:ff
3: wlp1s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DORMANT group default qlen 1000
link/ether 98:25:4a:51:95:13 brd ff:ff:ff:ff:ff:ff
2 & 3 seem to relate to RTL when I run ethtool
driver: r8169
version: 6.14.0-37-generic
firmware-version: rtl8168h-2_0.0.2 02/26/15
expansion-rom-version:
bus-info: 0000:02:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no
ethtool -i wlp1s0
driver: rtl8192ee
version: 6.14.0-37-generic
firmware-version: N/A
expansion-rom-version:
bus-info: 0000:01:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
UPDATE 04 Jan 2025
I've followed the instructions in linuxmint forum
make all works (at least there's a lot of text on terminal) but throws up a few errors at the end
make[4]: *** [/usr/src/linux-headers-6.14.0-37-generic/scripts/Makefile.build:207: os_dep/linux/ioctl_cfg80211.o] Error 1
make[3]: *** [/usr/src/linux-headers-6.14.0-37-generic/Makefile:1997: .] Error 2
make[2]: *** [/usr/src/linux-headers-6.14.0-37-generic/Makefile:251: __sub-make] Error 2
make[2]: Leaving directory '/home/allan/rtle8192ee'
make[1]: *** [Makefile:251: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.14.0-37-generic'
make: *** [Makefile:1827: modules] Error 2
steps 4 & 5 seem to work, but on step 6 sudo dkms add ./rtl8192ee
I get
Usage: add <module>/<module-version> or
add -m <module>/<module-version> or
add -m <module> -v <module-version>
I've tried searching for a solution to that but can't find anything.
EDIT 04/01/2025
sudo dkms build 8192ee/1.1
Sign command: /usr/bin/kmodsign
Certificate or key are missing, generating them using update-secureboot-policy...
Secure Boot not enabled on this system.
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/8192ee/1.1/source/dkms.conf)
Building module:
Cleaning build area...
'make' KVER=6.14.0-37-generic all -j12......(bad exit status: 2)
ERROR (dkms apport): binary package for 8192ee: 1.1 not found
Error! Bad return status for module build on kernel: 6.14.0-37-generic (x86_64)
Consult /var/lib/dkms/8192ee/1.1/build/make.log for more information.
Full output of make all on rtl8192ee
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.14.0-37-generic/build M=/home/allan/rtl8192ee modules
make[1]: Entering directory '/usr/src/linux-headers-6.14.0-37-generic'
make[2]: Entering directory '/home/allan/rtl8192ee'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
You are using: gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
CC [M] core/rtw_cmd.o
core/rtw_cmd.c:2162:4: warning: no previous prototype for ‘_rtw_set_chplan_cmd’ [-Wmissing-prototypes]
2162 | u8 _rtw_set_chplan_cmd(_adapter *adapter, int flags, u8 chplan, const struct country_chplan *country_ent, u8 swconfig)
| ^~~~~~~~~~~~~~~~~~~
core/rtw_cmd.c:2707:6: warning: no previous prototype for ‘rtw_dynamic_chk_wk_hdl’ [-Wmissing-prototypes]
2707 | void rtw_dynamic_chk_wk_hdl(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~~~~~
core/rtw_cmd.c:2867:6: warning: no previous prototype for ‘rtw_dm_in_lps_hdl’ [-Wmissing-prototypes]
2867 | void rtw_dm_in_lps_hdl(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~
core/rtw_cmd.c:2908:6: warning: no previous prototype for ‘rtw_lps_change_dtim_hdl’ [-Wmissing-prototypes]
2908 | void rtw_lps_change_dtim_hdl(_adapter *padapter, u8 dtim)
| ^~~~~~~~~~~~~~~~~~~~~~~
core/rtw_cmd.c:3087:6: warning: no previous prototype for ‘rtw_dm_ra_mask_hdl’ [-Wmissing-prototypes]
3087 | void rtw_dm_ra_mask_hdl(_adapter *padapter, struct sta_info *psta)
| ^~~~~~~~~~~~~~~~~~
core/rtw_cmd.c:3129:6: warning: no previous prototype for ‘power_saving_wk_hdl’ [-Wmissing-prototypes]
3129 | void power_saving_wk_hdl(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~~
core/rtw_cmd.c:3135:6: warning: no previous prototype for ‘reset_securitypriv_hdl’ [-Wmissing-prototypes]
3135 | void reset_securitypriv_hdl(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~~~~~
core/rtw_cmd.c:3140:6: warning: no previous prototype for ‘free_assoc_resources_hdl’ [-Wmissing-prototypes]
3140 | void free_assoc_resources_hdl(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~~~~~~~
core/rtw_cmd.c:4216:4: warning: no previous prototype for ‘rtw_c2h_wk_cmd’ [-Wmissing-prototypes]
4216 | u8 rtw_c2h_wk_cmd(PADAPTER padapter, u8 *pbuf, u16 length, u8 type)
| ^~~~~~~~~~~~~~
core/rtw_cmd.c:4334:4: warning: no previous prototype for ‘session_tracker_cmd’ [-Wmissing-prototypes]
4334 | 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:4400:6: warning: no previous prototype for ‘session_tracker_chk_for_sta’ [-Wmissing-prototypes]
4400 | void session_tracker_chk_for_sta(_adapter *adapter, struct sta_info *sta)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
core/rtw_cmd.c:4482:6: warning: no previous prototype for ‘session_tracker_chk_for_adapter’ [-Wmissing-prototypes]
4482 | void session_tracker_chk_for_adapter(_adapter *adapter)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core/rtw_cmd.c:4514:6: warning: no previous prototype for ‘session_tracker_cmd_hdl’ [-Wmissing-prototypes]
4514 | void session_tracker_cmd_hdl(_adapter *adapter, struct st_cmd_parm *parm)
| ^~~~~~~~~~~~~~~~~~~~~~~
CC [M] core/rtw_security.o
core/rtw_security.c:2844:5: warning: no previous prototype for ‘omac1_aes_128’ [-Wmissing-prototypes]
2844 | int omac1_aes_128(u8 *key, 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:1454:6: warning: no previous prototype for ‘dump_ht_cap_ie’ [-Wmissing-prototypes]
1454 | void dump_ht_cap_ie(void *sel, u8 *ie, u32 ie_len)
| ^~~~~~~~~~~~~~
core/rtw_ieee80211.c:2494:5: warning: no previous prototype for ‘rtw_get_cipher_info’ [-Wmissing-prototypes]
2494 | 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’ [-Wmissing-prototypes]
23 | void rtw_init_mlme_timer(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~~
core/rtw_mlme.c:57:9: warning: no previous prototype for ‘_rtw_init_mlme_priv’ [-Wmissing-prototypes]
57 | sint _rtw_init_mlme_priv(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~~
core/rtw_mlme.c:306:6: warning: no previous prototype for ‘_rtw_free_mlme_priv’ [-Wmissing-prototypes]
306 | void _rtw_free_mlme_priv(struct mlme_priv *pmlmepriv)
| ^~~~~~~~~~~~~~~~~~~
core/rtw_mlme.c:324:9: warning: no previous prototype for ‘_rtw_enqueue_network’ [-Wmissing-prototypes]
324 | sint _rtw_enqueue_network(_queue *queue, struct wlan_network *pnetwork)
| ^~~~~~~~~~~~~~~~~~~~
core/rtw_mlme.c:1452:6: warning: no previous prototype for ‘rtw_reset_rx_info’ [-Wmissing-prototypes]
1452 | void rtw_reset_rx_info(_adapter *adapter)
| ^~~~~~~~~~~~~~~~~
CC [M] core/rtw_mlme_ext.o
core/rtw_mlme_ext.c:1460:6: warning: no previous prototype for ‘init_mlme_ext_timer’ [-Wmissing-prototypes]
1460 | void init_mlme_ext_timer(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~~
core/rtw_mlme_ext.c:1695:5: warning: no previous prototype for ‘p2p_listen_state_process’ [-Wmissing-prototypes]
1695 | u32 p2p_listen_state_process(_adapter *padapter, unsigned char *da)
| ^~~~~~~~~~~~~~~~~~~~~~~~
core/rtw_mlme_ext.c: In function ‘OnAuth’:
core/rtw_mlme_ext.c:2453:41: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
2453 | ;/* TODO: STA re_auth within expire_to */
| ^
core/rtw_mlme_ext.c:2458:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
2458 | ; /* TODO: STA re_auth and auth timeout */
| ^
core/rtw_mlme_ext.c: At top level:
core/rtw_mlme_ext.c:3311:14: warning: no previous prototype for ‘on_action_spct_ch_switch’ [-Wmissing-prototypes]
3311 | unsigned int on_action_spct_ch_switch(_adapter *padapter, struct sta_info *psta, u8 *ies, uint ies_len)
| ^~~~~~~~~~~~~~~~~~~~~~~~
core/rtw_mlme_ext.c:4745:6: warning: no previous prototype for ‘issue_p2p_GO_confirm’ [-Wmissing-prototypes]
4745 | void issue_p2p_GO_confirm(_adapter *padapter, u8 *raddr, u8 result)
| ^~~~~~~~~~~~~~~~~~~~
core/rtw_mlme_ext.c:5629:4: warning: no previous prototype for ‘is_matched_in_profilelist’ [-Wmissing-prototypes]
5629 | u8 is_matched_in_profilelist(u8 *peermacaddr, struct profile_info *profileinfo)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
core/rtw_mlme_ext.c:5977:5: warning: no previous prototype for ‘_issue_probereq_p2p’ [-Wmissing-prototypes]
5977 | int _issue_probereq_p2p(_adapter *padapter, u8 *da, int wait_ack)
| ^~~~~~~~~~~~~~~~~~~
core/rtw_mlme_ext.c:6352:5: warning: no previous prototype for ‘rtw_action_public_decache’ [-Wmissing-prototypes]
6352 | s32 rtw_action_public_decache(union recv_frame *rframe, u8 token_offset)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
core/rtw_mlme_ext.c:6377:14: warning: no previous prototype for ‘on_action_public_p2p’ [-Wmissing-prototypes]
6377 | unsigned int on_action_public_p2p(union recv_frame *precv_frame)
| ^~~~~~~~~~~~~~~~~~~~
core/rtw_mlme_ext.c:6754:14: warning: no previous prototype for ‘on_action_public_vendor’ [-Wmissing-prototypes]
6754 | unsigned int on_action_public_vendor(union recv_frame *precv_frame)
| ^~~~~~~~~~~~~~~~~~~~~~~
core/rtw_mlme_ext.c:6775:14: warning: no previous prototype for ‘on_action_public_default’ [-Wmissing-prototypes]
6775 | unsigned int on_action_public_default(union recv_frame *precv_frame, u8 action)
| ^~~~~~~~~~~~~~~~~~~~~~~~
core/rtw_mlme_ext.c:7163:20: warning: no previous prototype for ‘_alloc_mgtxmitframe’ [-Wmissing-prototypes]
7163 | struct xmit_frame *_alloc_mgtxmitframe(struct xmit_priv *pxmitpriv, bool once)
| ^~~~~~~~~~~~~~~~~~~
core/rtw_mlme_ext.c:7448:5: warning: no previous prototype for ‘update_hidden_ssid’ [-Wmissing-prototypes]
7448 | int update_hidden_ssid(u8 *ies, u32 ies_len, u8 hidden_ssid_mode)
| ^~~~~~~~~~~~~~~~~~
core/rtw_mlme_ext.c:8081:5: warning: no previous prototype for ‘_issue_probereq’ [-Wmissing-prototypes]
8081 | int _issue_probereq(_adapter *padapter, NDIS_802_11_SSID *pssid, u8 *da, u8 ch, bool append_wps, int wait_ack)
| ^~~~~~~~~~~~~~~
core/rtw_mlme_ext.c:10230:5: warning: no previous prototype for ‘_issue_action_SM_PS’ [-Wmissing-prototypes]
10230 | int _issue_action_SM_PS(_adapter *padapter , unsigned char *raddr , u8 NewMimoPsMode , u8 wait_ack)
| ^~~~~~~~~~~~~~~~~~~
core/rtw_mlme_ext.c:12147:6: warning: no previous prototype for ‘rtw_delba_check’ [-Wmissing-prototypes]
12147 | void rtw_delba_check(_adapter *padapter, struct sta_info *psta, u8 from_timer)
| ^~~~~~~~~~~~~~~
core/rtw_mlme_ext.c:12185:4: warning: no previous prototype for ‘chk_ap_is_alive’ [-Wmissing-prototypes]
12185 | u8 chk_ap_is_alive(_adapter *padapter, struct sta_info *psta)
| ^~~~~~~~~~~~~~~
core/rtw_mlme_ext.c:12232:4: warning: no previous prototype for ‘chk_adhoc_peer_is_alive’ [-Wmissing-prototypes]
12232 | u8 chk_adhoc_peer_is_alive(struct sta_info *psta)
| ^~~~~~~~~~~~~~~~~~~~~~~
core/rtw_mlme_ext.c:13579:4: warning: no previous prototype for ‘rtw_scan_sparse’ [-Wmissing-prototypes]
13579 | u8 rtw_scan_sparse(_adapter *adapter, struct rtw_ieee80211_channel *ch, u8 ch_num)
| ^~~~~~~~~~~~~~~
core/rtw_mlme_ext.c:14014:6: warning: no previous prototype for ‘survey_done_set_ch_bw’ [-Wmissing-prototypes]
14014 | void survey_done_set_ch_bw(_adapter *padapter)
| ^~~~~~~~~~~~~~~~~~~~~
core/rtw_mlme_ext.c:14084:4: warning: no previous prototype for ‘sitesurvey_ps_annc’ [-Wmissing-prototypes]
14084 | u8 sitesurvey_ps_annc(_adapter *padapter, bool ps)
| ^~~~~~~~~~~~~~~~~~
core/rtw_mlme_ext.c:14134:6: warning: no previous prototype for ‘sitesurvey_set_igi’ [-Wmissing-prototypes]
14134 | void sitesurvey_set_igi(_adapter *adapter)
| ^~~~~~~~~~~~~~~~~~
core/rtw_mlme_ext.c:14185:6: warning: no previous prototype for ‘sitesurvey_set_msr’ [-Wmissing-prototypes]
14185 | void sitesurvey_set_msr(_adapter *adapter, bool enter)
| ^~~~~~~~~~~~~~~~~~
core/rtw_mlme_ext.c: In function ‘rtw_txpwr_init_regd’:
core/rtw_mlme_ext.c:616:21: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
616 | 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:210:14: note: source object ‘regd_name’ of size 0
210 | char regd_name[0];
| ^~~~~~~~~
core/rtw_mlme_ext.c:618:26: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
618 | else if (strcmp(exc->regd_name, regd_str(TXPWR_LMT_WW)) == 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
././include/rtw_rf.h:210:14: note: source object ‘regd_name’ of size 0
210 | char regd_name[0];
| ^~~~~~~~~
CC [M] core/rtw_mi.o
core/rtw_mi.c:107:5: warning: no previous prototype for ‘_rtw_mi_get_ch_setting_union’ [-Wmissing-prototypes]
107 | int _rtw_mi_get_ch_setting_union(_adapter *adapter, u8 *ch, u8 *bw, u8 *offset, bool include_self)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
core/rtw_mi.c:189:6: warning: no previous prototype for ‘_rtw_mi_status’ [-Wmissing-prototypes]
189 | void _rtw_mi_status(_adapter *adapter, struct mi_state *mstate, u8 target_sel)
| ^~~~~~~~~~~~~~
core/rtw_mi.c:828:4: warning: no previous prototype for ‘_rtw_mi_busy_traffic_check’ [-Wmissing-prototypes]
828 | u8 _rtw_mi_busy_traffic_check(_adapter *padapter, void *data)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
core/rtw_mi.c:1279:6: warning: no previous prototype for ‘rtw_dbg_skb_process’ [-Wmissing-prototypes]
1279 | 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:1045:6: warning: no previous prototype for ‘_rtw_sec_camid_is_used’ [-Wmissing-prototypes]
1045 | bool _rtw_sec_camid_is_used(struct cam_ctl_t *cam_ctl, u8 id)
| ^~~~~~~~~~~~~~~~~~~~~~
core/rtw_wlan_util.c:1133:6: warning: no previous prototype for ‘cam_cache_chk’ [-Wmissing-prototypes]
1133 | bool cam_cache_chk(_adapter *adapter, u8 id, u8 *addr, s16 kid, s8 gk)
| ^~~~~~~~~~~~~
core/rtw_wlan_util.c:1151:5: warning: no previous prototype for ‘_rtw_camid_search’ [-Wmissing-prototypes]
1151 | s16 _rtw_camid_search(_adapter *adapter, u8 *addr, s16 kid, s8 gk)
| ^~~~~~~~~~~~~~~~~
core/rtw_wlan_util.c:1191:5: warning: no previous prototype for ‘rtw_get_camid’ [-Wmissing-prototypes]
1191 | s16 rtw_get_camid(_adapter *adapter, struct sta_info *sta, u8 *addr, s16 kid)
| ^~~~~~~~~~~~~
core/rtw_wlan_util.c:1305:6: warning: no previous prototype for ‘rtw_camid_set’ [-Wmissing-prototypes]
1305 | void rtw_camid_set(_adapter *adapter, u8 cam_id)
| ^~~~~~~~~~~~~
core/rtw_wlan_util.c:1388:5: warning: no previous prototype for ‘rtw_get_empty_cam_entry’ [-Wmissing-prototypes]
1388 | s16 rtw_get_empty_cam_entry(_adapter *adapter, u8 start_camid)
| ^~~~~~~~~~~~~~~~~~~~~~~
core/rtw_wlan_util.c:2169:5: warning: no previous prototype for ‘check_ielen’ [-Wmissing-prototypes]
2169 | int check_ielen(u8 *start, uint len)
| ^~~~~~~~~~~
core/rtw_wlan_util.c: In function ‘rtw_get_bcn_keys’:
core/rtw_wlan_util.c:2281:17: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
2281 | ; /* means hidden ssid */
| ^
CC [M] core/rtw_vht.o
CC [M] core/rtw_pwrctrl.o
core/rtw_pwrctrl.c:177:6: warning: no previous prototype for ‘rtw_pwr_unassociated_idle’ [-Wmissing-prototypes]
177 | bool rtw_pwr_unassociated_idle(_adapter *adapter)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
core/rtw_pwrctrl.c:395:6: warning: no previous prototype for ‘pwr_state_check_handler’ [-Wmissing-prototypes]
395 | void pwr_state_check_handler(struct timer_list *t)
| ^~~~~~~~~~~~~~~~~~~~~~~
core/rtw_pwrctrl.c:612:4: warning: no previous prototype for ‘PS_RDY_CHECK’ [-Wmissing-prototypes]
612 | u8 PS_RDY_CHECK(_adapter *padapter)
[1]: https://www.scaleupinstitute.org.uk/stories/xum/