Skip to content

Conversation

@zephyrbot
Copy link

@zephyrbot zephyrbot commented Dec 19, 2024

Backport 4864289 from #81778.

Fixes issue where handler has been incorrectly checking for existence of optional callback, assuming that it should always be provided.

Fixes #81777

As the erase callback is optional, handler should not check
if it is not NULL.

Fixes #81777

Signed-off-by: Dominik Ermel <[email protected]>
(cherry picked from commit 4864289)
@zephyrbot zephyrbot added Backport Backport PR and backport failure issues size: XS A PR changing only a single line of code area: Flash labels Dec 19, 2024
@de-nordic de-nordic linked an issue Dec 20, 2024 that may be closed by this pull request
@dkalowsk dkalowsk added this to the v4.0.1 milestone Dec 27, 2024
@dkalowsk dkalowsk merged commit fe8dc82 into v4.0-branch Dec 27, 2024
30 checks passed
@dkalowsk dkalowsk deleted the backport-81778-to-v4.0-branch branch December 27, 2024 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Flash Backport Backport PR and backport failure issues size: XS A PR changing only a single line of code

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Flash API: flash_erase has incorrect userspace handler

5 participants