summaryrefslogtreecommitdiff
path: root/samples/tracepoints
diff options
context:
space:
mode:
Diffstat (limited to 'samples/tracepoints')
-rw-r--r--samples/tracepoints/tracepoint-sample.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/tracepoints/tracepoint-sample.c b/samples/tracepoints/tracepoint-sample.c
index 26fab33ffa8c..f4d89e008c32 100644
--- a/samples/tracepoints/tracepoint-sample.c
+++ b/samples/tracepoints/tracepoint-sample.c
@@ -30,6 +30,7 @@ static int my_open(struct inode *inode, struct file *file)
static const struct file_operations mark_ops = {
.open = my_open,
+ .llseek = noop_llseek,
};
static int __init sample_init(void)