/* 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;
}
/* 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;
}
}
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) {