zephyr/subsys
Yonas Alizadeh 440de0dde0 fs: nvs: fix invalid block compare when data CRC is enabled
When nvs_write is called, the nvs_flash_block_cmp is used to check if
the new data to be written matches the data already on flash. This check
always fail when CONFIG_NVS_DATA_CRC is enabled, caused by the
NVS_DATA_CRC_SIZE being added to the len parameter. The pointer to the
new data does not already have the CRC part added, while the data on
flash does, and the size to be compared includes CRC section.
By removing the addition of NVS_DATA_CRC_SIZE to the compare size, only
the data without CRC is compared, which will make the compare work in
both cases.

Signed-off-by: Yonas Alizadeh <yonas.alizadeh@alfalaval.com>
2025-05-26 09:19:54 +02:00
..
bindesc bindesc: Add support for reading binary descriptors 2024-10-11 13:20:49 -04:00
bluetooth Bluetooth: RFCOMM: Fix CR bit in DISC frame 2025-05-26 09:19:35 +02:00
canbus
console
dap dap: add DAP backend USB 2025-03-11 18:54:24 +01:00
debug arch: nios2: remove arch 2025-05-15 20:01:05 -04: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
dsp
emul
fb cfb: fix get_glyph_byte for vtiled displays 2025-04-18 12:36:16 +02:00
fs fs: nvs: fix invalid block compare when data CRC is enabled 2025-05-26 09:19:54 +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 modules: mbedtls: make key exchange Kconfigs depend on, not select 2025-05-13 22:22:43 -04:00
llext llext: basic x86 support 2025-05-21 19:57:20 +02:00
logging logging: backend: net: use connection mgr 2025-05-10 13:02:21 +02:00
lorawan lorawan: add link check support. 2025-04-17 17:23:12 +02:00
mem_mgmt
mgmt net: http: client: Allow to abort download from response callback 2025-05-23 17:20:24 +02:00
modbus modbus: initialize return variable. 2025-01-21 19:28:52 +01:00
modem modem: backend: uart: Alignment check to recv buf 2025-05-21 12:34:44 +02:00
net net: http: client: Allow to abort download from response callback 2025-05-23 17:20:24 +02:00
pm pm: policy: default: Removed unused code 2025-05-21 12:35:08 +02:00
pmci pmci: mctp: Fix No SOURCES CMake warning 2025-04-23 17:55:19 +02:00
portability subsys/portability/cmsis_rtos_v2: Fix code compliance issues 2025-05-21 12:35:28 +02:00
profiling arch: Unify declaration of text region 2025-04-23 02:15:25 +02:00
random random: Correct Mutex define 2025-03-04 21:55:45 +01:00
retention
rtio rtio: Introduce OP_DELAY as a valid SQE operation 2025-04-30 09:48:16 +02: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: replace [[maybe_unused]] by __maybe_unused 2025-05-15 22:13:49 +02:00
shell shell: mqtt: use ring_buf_reset to flush rx_rb 2025-04-09 22:06:05 +02:00
sip_svc
stats
storage storage/flash_map: Fix is_in_flash_area_bounds 2025-05-05 10:57:51 +02:00
task_wdt task_wdt: Add suspend and resume API functions 2025-04-02 13:05:14 +02:00
testsuite Revert "testsuite: ztest: Add validation of zassert strings" 2025-05-22 11:58:43 -04:00
timing
tracing kernel: kheap: decouple simple alloc from aligned_alloc 2025-04-01 22:13:04 +02:00
usb Bluetooth: Remove USB H4 mode support 2025-04-29 13:00:33 +02:00
zbus zbus: Improve consistency with runtime observers 2025-05-16 09:37:20 +02:00
CMakeLists.txt pmci: Move MCTP into the PMCI subsys 2025-04-21 12:43:33 +02:00
Kconfig pmci: Move MCTP into the PMCI subsys 2025-04-21 12:43:33 +02:00