Skip to content

Commit 935a8f7

Browse files
faxe1008aescolar
authored andcommitted
drivers: flash: renesas_ra_hp: Replace Z_OOPS with K_OOPS
Replace usage of Z_OOPS with K_OOPS. Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
1 parent 6486a37 commit 935a8f7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/flash/soc_flash_renesas_ra_hp_ex_op.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
#ifdef CONFIG_USERSPACE
1313
#include <zephyr/syscall.h>
14-
#include <zephyr/syscall_handler.h>
14+
#include <zephyr/internal/syscall_handler.h>
1515
#endif
1616

1717
#include <soc.h>
@@ -304,7 +304,7 @@ int flash_ra_ex_op_write_protect(const struct device *dev, const uintptr_t in, v
304304
struct flash_ra_ex_write_protect_in copy_in;
305305

306306
if (syscall_trap) {
307-
Z_OOPS(z_user_from_copy(&copy_in, request, sizeof(copy_in)));
307+
K_OOPS(k_user_from_copy(&copy_in, request, sizeof(copy_in)));
308308
request = &copy_in;
309309
}
310310
#endif
@@ -334,7 +334,7 @@ int flash_ra_ex_op_write_protect(const struct device *dev, const uintptr_t in, v
334334

335335
#ifdef CONFIG_USERSPACE
336336
if (syscall_trap) {
337-
Z_OOPS(z_user_to_copy(out, result, sizeof(copy_out)));
337+
K_OOPS(k_user_to_copy(out, result, sizeof(copy_out)));
338338
}
339339
#endif
340340
}

0 commit comments

Comments
 (0)