From ce27e2acf46e44a1fa8dbe9e2ccaac0ba7c20edb Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Wed, 21 Dec 2016 21:15:59 +0000 Subject: [PATCH] fetch_struct_flock: change address argument type from long to kernel_ureg_t * fetch_struct_flock.c (fetch_struct_flock, fetch_struct_flock64): Change address argument type from long to kernel_ureg_t. --- fetch_struct_flock.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fetch_struct_flock.c b/fetch_struct_flock.c index b5713f4f..773505fe 100644 --- a/fetch_struct_flock.c +++ b/fetch_struct_flock.c @@ -51,8 +51,8 @@ typedef struct_kernel_flock64 struct_flock64; && FLOCK_MEMBERS_EQ(type, l_len) \ && FLOCK_MEMBERS_EQ(type, l_pid)) -MPERS_PRINTER_DECL(bool, fetch_struct_flock, - struct tcb *tcp, const long addr, void *p) +MPERS_PRINTER_DECL(bool, fetch_struct_flock, struct tcb *const tcp, + const kernel_ureg_t addr, void *const p) { struct_kernel_flock64 *pfl = p; struct_flock mfl; @@ -71,8 +71,8 @@ MPERS_PRINTER_DECL(bool, fetch_struct_flock, return true; } -MPERS_PRINTER_DECL(bool, fetch_struct_flock64, - struct tcb *tcp, const long addr, void *p) +MPERS_PRINTER_DECL(bool, fetch_struct_flock64, struct tcb *const tcp, + const kernel_ureg_t addr, void *const p) { struct_kernel_flock64 *pfl = p; struct_flock64 mfl; -- 2.40.0