From: Carsten Haitzler carsten.haitzler@foss.arm.com
Signed-off-by: Carsten Haitzler carsten.haitzler@foss.arm.com --- include/lapi/keyctl.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/include/lapi/keyctl.h b/include/lapi/keyctl.h index 3be782494..9c847a429 100644 --- a/include/lapi/keyctl.h +++ b/include/lapi/keyctl.h @@ -42,13 +42,13 @@ static inline key_serial_t request_key(const char *type, static inline long keyctl(int cmd, ...) { va_list va; - unsigned long arg2, arg3, arg4, arg5; + uintptr_t arg2, arg3, arg4, arg5;
va_start(va, cmd); - arg2 = va_arg(va, unsigned long); - arg3 = va_arg(va, unsigned long); - arg4 = va_arg(va, unsigned long); - arg5 = va_arg(va, unsigned long); + arg2 = va_arg(va, uintptr_t); + arg3 = va_arg(va, uintptr_t); + arg4 = va_arg(va, uintptr_t); + arg5 = va_arg(va, uintptr_t); va_end(va);
return tst_syscall(__NR_keyctl, cmd, arg2, arg3, arg4, arg5);
From: Carsten Haitzler carsten.haitzler@foss.arm.com
Signed-off-by: Carsten Haitzler carsten.haitzler@foss.arm.com --- runtest/morello_transitional_extended | 10 ++++++++++ 1 file changed, 10 insertions(+)
diff --git a/runtest/morello_transitional_extended b/runtest/morello_transitional_extended index a823fe62a..7fd431d3d 100644 --- a/runtest/morello_transitional_extended +++ b/runtest/morello_transitional_extended @@ -13,6 +13,16 @@ io_submit01 io_submit01 io_submit02 io_submit02 io_submit03 io_submit03
+keyctl01 keyctl01 +keyctl02 keyctl02 +keyctl03 keyctl03 +keyctl04 keyctl04 +keyctl05 keyctl05 +keyctl06 keyctl06 +keyctl07 keyctl07 +keyctl08 keyctl08 +keyctl09 keyctl09 + semctl01 semctl01 semctl02 semctl02 semctl03 semctl03
Hi Carsten,
Both have now been applied on next. Thanks
--- BR B. On Fri, Sep 16, 2022 at 03:12:45PM +0100, carsten.haitzler@foss.arm.com wrote:
From: Carsten Haitzler carsten.haitzler@foss.arm.com
Signed-off-by: Carsten Haitzler carsten.haitzler@foss.arm.com
include/lapi/keyctl.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/include/lapi/keyctl.h b/include/lapi/keyctl.h index 3be782494..9c847a429 100644 --- a/include/lapi/keyctl.h +++ b/include/lapi/keyctl.h @@ -42,13 +42,13 @@ static inline key_serial_t request_key(const char *type, static inline long keyctl(int cmd, ...) { va_list va;
- unsigned long arg2, arg3, arg4, arg5;
- uintptr_t arg2, arg3, arg4, arg5;
va_start(va, cmd);
- arg2 = va_arg(va, unsigned long);
- arg3 = va_arg(va, unsigned long);
- arg4 = va_arg(va, unsigned long);
- arg5 = va_arg(va, unsigned long);
- arg2 = va_arg(va, uintptr_t);
- arg3 = va_arg(va, uintptr_t);
- arg4 = va_arg(va, uintptr_t);
- arg5 = va_arg(va, uintptr_t); va_end(va);
return tst_syscall(__NR_keyctl, cmd, arg2, arg3, arg4, arg5); -- 2.25.1
linux-morello-ltp mailing list -- linux-morello-ltp@op-lists.linaro.org To unsubscribe send an email to linux-morello-ltp-leave@op-lists.linaro.org
linux-morello-ltp@op-lists.linaro.org