projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Silence compiler "always false comparison" warning
[lttng-modules.git]
/
probes
/
lttng-probe-user.c
diff --git
a/probes/lttng-probe-user.c
b/probes/lttng-probe-user.c
index 4162a7e42d2d94942fa4d5927afff8f95660d807..0d1f95fe00861aec694136b514e07523e285898d 100644
(file)
--- a/
probes/lttng-probe-user.c
+++ b/
probes/lttng-probe-user.c
@@
-7,6
+7,7
@@
#include <linux/uaccess.h>
#include <linux/module.h>
#include <linux/uaccess.h>
#include <linux/module.h>
+#include <wrapper/uaccess.h>
#include <probes/lttng-probe-user.h>
/*
#include <probes/lttng-probe-user.h>
/*
@@
-30,7
+31,7
@@
long lttng_strlen_user_inatomic(const char *addr)
char v;
unsigned long ret;
char v;
unsigned long ret;
- if (unlikely(!access_ok(VERIFY_READ,
+ if (unlikely(!
lttng_
access_ok(VERIFY_READ,
(__force const char __user *) addr,
sizeof(v))))
break;
(__force const char __user *) addr,
sizeof(v))))
break;
This page took
0.039242 seconds
and
4
git commands to generate.