Change-Id: I3f00340f2a45dc08f3909451c417d744b22be673
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
const size_t end = ((size_t) 0) - 1;
for (--size; size != end; --size) {
- swap_unregister_kprobe(&rps[size]->kp);
if (rp_disarm) {
spin_lock_irqsave(&kretprobe_lock, flags);
swap_disarm_krp(rps[size]);
.size = size,
.rp_disarm = rp_disarm,
};
+ const size_t end = ((size_t)0) - 1;
+
+ for (--size; size != end; --size)
+ swap_unregister_kprobe(&rps[size]->kp);
if (rp_disarm) {
int ret;