zephyr/subsys
Eric Ackermann 421a7047e5 net: gPTP: Fix pointer type in gptp_add_port
The number of ports in gptp_domain.default_ds.nb_ports is a uint8_t.
A pointer to it is passed to gptp_add_port.
However, in this method, the pointer is cast to an int pointer.
The C compiler generates an int-size store for this.
In addition to potentially overwriting adjacent attributes, on platforms
such as RISC-V that do not support unaligned accesses, this causes an
exception on access.
This commit casts nb_ports to the correct type, uint8_t.

Signed-off-by: Eric Ackermann <eric.ackermann@cispa.de>
2025-04-15 19:10:04 +02:00
..
bindesc bindesc: Add support for reading binary descriptors 2024-10-11 13:20:49 -04:00
bluetooth Bluetooth: Add usage of util_eq and util_memeq 2025-04-14 16:06:38 +02:00
canbus lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
console
dap dap: add DAP backend USB 2025-03-11 18:54:24 +01:00
debug debug: cpu_load: Add configurable log level 2025-04-14 13:06:06 +02:00
demand_paging demand_paging: use ram backend by default 2025-01-09 15:50:37 +01:00
dfu dfu: Add support for new MCUboot swap using offset mode 2025-02-10 19:05:25 +01:00
disk disk: disk_access: changed mutex for a spinlock 2024-08-26 17:26:36 -04:00
dsp
emul emul: Support UART device emulation 2024-07-30 18:28:17 +01:00
fb cfb: typo fixes 2025-04-02 10:30:50 +02:00
fs fs: shell: fix maybe-uninitialized warning 2025-04-14 11:49:28 +02:00
input input: prevent the caller from sleeping in sysworkq 2024-11-29 14:49:43 +01:00
ipc ipc_service: ipc_icbmsg: Update backend API return values 2025-03-28 12:21:30 +01:00
jwt mbedtls: select ENTROPY_GENERATOR when a driver is available 2024-12-19 17:53:37 +01:00
llext llext: optimize allocations for read-only sections 2025-03-21 14:41:30 -04:00
logging logging: frontends: stmesp: Fix sending string location 2025-04-01 16:26:50 +02:00
lorawan lorawan: add callback for descriptor changes 2025-03-07 19:42:56 +01:00
mctp mctp: mark MCTP as experimental 2025-01-15 22:58:09 +01:00
mem_mgmt
mgmt arch: arm: Add Cortex-A7 support 2025-04-04 09:35:03 +02:00
modbus modbus: initialize return variable. 2025-01-21 19:28:52 +01:00
modem modem: cmux: Do not return error on low buffer space 2025-03-24 19:33:07 +01:00
net net: gPTP: Fix pointer type in gptp_add_port 2025-04-15 19:10:04 +02:00
pm pm: device: correct state in pm_device_driver_init 2025-04-11 14:53:53 +02:00
portability portability: cmsis: Avoid copying objects names into control block 2025-04-14 20:03:19 +02:00
profiling arch: remove z_arch_esf_t 2025-01-23 16:32:36 +01:00
random random: Correct Mutex define 2025-03-04 21:55:45 +01:00
retention
rtio rtio: Transactions assume valid next list nodes 2025-03-14 01:02:10 +01:00
sd sd: correct mismatched comment for CONFIG_SDMMC_STACK 2025-03-31 21:59:40 +02:00
secure_storage secure_storage: its: store: settings: allow using custom setting names 2025-04-08 14:22:59 +02:00
sensing sensing: Fix static assert in get_sensor_by_dev() 2025-01-18 12:40:03 +01:00
settings settings: fix settings shell subcommand helper 2025-03-29 06:31:39 +01:00
shell shell: mqtt: use ring_buf_reset to flush rx_rb 2025-04-09 22:06:05 +02:00
sip_svc everywhere: replace double words 2024-06-22 05:40:22 -04:00
stats
storage storage: flash_map: add flash_area_copy() 2025-04-14 16:07:35 +02:00
task_wdt task_wdt: Add suspend and resume API functions 2025-04-02 13:05:14 +02:00
testsuite ztest: Fix confusing SKIP log 2025-04-04 21:16:34 +02:00
timing
tracing kernel: kheap: decouple simple alloc from aligned_alloc 2025-04-01 22:13:04 +02:00
usb usb: device_next: Change speed selection Kconfig dependency 2025-04-10 12:57:19 +02:00
zbus zbus: remove k_malloc dependency for ZBUS_RUNTIME_OBSERVERS 2025-04-14 20:03:09 +02:00
CMakeLists.txt mctp: Add mctp subsystem with uart binding 2025-01-14 22:55:41 +01:00
Kconfig mctp: Add mctp subsystem with uart binding 2025-01-14 22:55:41 +01:00