]> sourceware.org Git - systemtap.git/commitdiff
Revert "fix _stp_lookup_bad_addr arg-3 type"
authorFrank Ch. Eigler <fche@redhat.com>
Mon, 24 Jul 2017 14:05:59 +0000 (10:05 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Mon, 24 Jul 2017 14:05:59 +0000 (10:05 -0400)
This reverts commit 7cc81e9a8197d3aa61291a9bd23266f0f5613ff1.

runtime/stack.c
tapset/linux/nfs.stp

index d4f90e99bf745b3fc30b0cdc4949376d29fd77d2..c9d2c0c079256b1c0dc4dc73bb57c6094131ccee 100644 (file)
@@ -311,7 +311,7 @@ _stp_stack_unwind_one_kernel(struct context *c, unsigned depth)
 
        /* check if unwind hit an error */
        if (ret || _stp_lookup_bad_addr(VERIFY_READ, sizeof(long),
-                                       (void*)UNW_PC(info), KERNEL_DS)) {
+                                       UNW_PC(info), KERNEL_DS)) {
                return 0;
        }
 
@@ -498,7 +498,7 @@ _stp_stack_unwind_one_user(struct context *c, unsigned depth)
 
        /* check if unwind hit an error */
        if (ret || _stp_lookup_bad_addr(VERIFY_READ, sizeof(long),
-                                       (void*)UNW_PC(info), USER_DS)) {
+                                       UNW_PC(info), USER_DS)) {
                return 0;
        }
 
index f4b1512128bb0c78d239e54be5ef4a2847dca537..5aeb8f4938e632ac609c185d6f27132a83f1aa91 100644 (file)
@@ -202,7 +202,7 @@ function __iov_length:long (iov:long, nr_segs:long, check_flag:long, access_flag
                }
 
                if (!_stp_lookup_bad_addr((int)STAP_ARG_access_flags,
-                                         iov_len, (void*)kread(&(iov[seg].iov_base)),
+                                         iov_len, kread(&(iov[seg].iov_base)),
                                          KERNEL_DS))
                         continue;
                 if (seg == 0) {
This page took 1.300761 seconds and 5 git commands to generate.