projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: add missing x86 mmutrace kernel header include
[lttng-modules.git]
/
probes
/
lttng-probe-user.c
diff --git
a/probes/lttng-probe-user.c
b/probes/lttng-probe-user.c
index 94ecf2f1cffb339d53d9c1dc4d62f58a13dc9ece..d0b5cf297367ce3c209b69ecb491e969ec321270 100644
(file)
--- a/
probes/lttng-probe-user.c
+++ b/
probes/lttng-probe-user.c
@@
-36,12
+36,12
@@
long lttng_strlen_user_inatomic(const char *addr)
pagefault_disable();
for (;;) {
char v;
- long ret;
+
unsigned
long ret;
ret = __copy_from_user_inatomic(&v,
(__force const char __user *)(addr),
sizeof(v));
- if (unlikely(ret
== -EFAULT
))
+ if (unlikely(ret
> 0
))
break;
count++;
if (unlikely(!v))
This page took
0.022685 seconds
and
4
git commands to generate.