From: Dmitry V. Levin Date: Wed, 21 Dec 2016 03:03:09 +0000 (+0000) Subject: btrfs: change type of ioctl 3rd argument from long to kernel_ureg_t X-Git-Tag: v4.16~221 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ac5286986d0476c680b40d442240374716c35e2;p=strace btrfs: change type of ioctl 3rd argument from long to kernel_ureg_t * btrfs.c (btrfs_print_balance, btrfs_ioctl): Change arg type from long to kernel_ureg_t. --- diff --git a/btrfs.c b/btrfs.c index 32b96a46..01340a4a 100644 --- a/btrfs.c +++ b/btrfs.c @@ -204,7 +204,7 @@ btrfs_print_balance_args(const char *name, const struct btrfs_balance_args *bba) } static void -btrfs_print_balance(struct tcb *tcp, const long arg, bool out) +btrfs_print_balance(struct tcb *const tcp, const kernel_ureg_t arg, bool out) { struct btrfs_ioctl_balance_args balance_args; @@ -512,7 +512,8 @@ print_btrfs_ioctl_space_info(struct tcb *tcp, void *elem_buf, } MPERS_PRINTER_DECL(int, btrfs_ioctl, - struct tcb *tcp, const unsigned int code, const long arg) + struct tcb *const tcp, const unsigned int code, + const kernel_ureg_t arg) { switch (code) { /* Take no arguments; command only. */