Skip to content

Commit

Permalink
flash: correct userspace flash_handlers
Browse files Browse the repository at this point in the history
fixes #68248

Signed-off-by: Laczen JMS <[email protected]>
  • Loading branch information
Laczen authored and nashif committed Jan 30, 2024
1 parent defab59 commit 50597b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/flash/flash_handlers.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ static inline int z_vrfy_flash_sfdp_read(const struct device *dev,
K_OOPS(K_SYSCALL_MEMORY_WRITE(data, len));
return z_impl_flash_sfdp_read(dev, offset, data, len);
}
#include <syscalls/flash_sfdp_read.c>
#include <syscalls/flash_sfdp_read_mrsh.c>

static inline int z_vrfy_flash_read_jedec_id(const struct device *dev,
uint8_t *id)
Expand All @@ -103,7 +103,7 @@ static inline int z_vrfy_flash_read_jedec_id(const struct device *dev,
K_OOPS(K_SYSCALL_MEMORY_WRITE(id, 3));
return z_impl_flash_read_jedec_id(dev, id);
}
#include <syscalls/flash_sfdp_jedec_id.c>
#include <syscalls/flash_read_jedec_id_mrsh.c>

#endif /* CONFIG_FLASH_JESD216_API */

Expand Down

0 comments on commit 50597b2

Please sign in to comment.