summaryrefslogtreecommitdiff
path: root/mm/damon/dbgfs-test.h
diff options
context:
space:
mode:
Diffstat (limited to 'mm/damon/dbgfs-test.h')
-rw-r--r--mm/damon/dbgfs-test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/damon/dbgfs-test.h b/mm/damon/dbgfs-test.h
index 0d3a14c00acf..8f7f32595055 100644
--- a/mm/damon/dbgfs-test.h
+++ b/mm/damon/dbgfs-test.h
@@ -74,7 +74,7 @@ static void damon_dbgfs_test_set_targets(struct kunit *test)
char buf[64];
/* Make DAMON consider target has no pid */
- ctx->primitive = (struct damon_primitive){};
+ ctx->ops = (struct damon_operations){};
dbgfs_set_targets(ctx, 0, NULL);
sprint_target_ids(ctx, buf, 64);