aboutsummaryrefslogtreecommitdiff
path: root/samples/tracepoints/tracepoint-sample.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/tracepoints/tracepoint-sample.c')
-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 26fab33ffa8..f4d89e008c3 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)