From: Dmitry V. Levin Date: Wed, 21 Dec 2016 16:38:02 +0000 (+0000) Subject: mtd: cast pointers to kernel_ureg_t instead of unsigned long X-Git-Tag: v4.16~298 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b6d304c801a0675fb32debb594149c67b469142;p=strace mtd: cast pointers to kernel_ureg_t instead of unsigned long * mtd.c (decode_mtd_oob_buf): Cast mtd_oob_buf.ptr pointer to kernel_ureg_t instead of unsigned long. --- diff --git a/mtd.c b/mtd.c index 4442b1cc..8abef7dc 100644 --- a/mtd.c +++ b/mtd.c @@ -84,7 +84,7 @@ decode_mtd_oob_buf(struct tcb *tcp, const long addr) return; tprintf("{start=%#x, length=%#x, ptr=", mbuf.start, mbuf.length); - printaddr((unsigned long) mbuf.ptr); + printaddr((kernel_ureg_t) mbuf.ptr); tprints("}"); }