[igt-dev] [PATCH i-g-t 10/11] xe/xe_vm: add documentation for igt at xe_vm@userptr-invalid
Mauro Carvalho Chehab
mauro.chehab at linux.intel.com
Mon Mar 27 13:31:54 UTC 2023
From: Mauro Carvalho Chehab <mchehab at kernel.org>
Solves this build-time warning:
Warning: Missing documentation for igt at xe_vm@userptr-invalid
Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>
---
tests/xe/xe_vm.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/tests/xe/xe_vm.c b/tests/xe/xe_vm.c
index 15356c704d2c..9ba00f0885f5 100644
--- a/tests/xe/xe_vm.c
+++ b/tests/xe/xe_vm.c
@@ -294,9 +294,13 @@ static void unbind_all(int fd, int n_vmas)
#define MAP_ADDRESS 0x00007fadeadbe000
-/*
- * This tests verifies that mapping an invalid userptr returns -EFAULT,
- * and that it is correctly handled.
+/**
+ * SUBTEST: userptr-invalid
+ * Description:
+ * Verifies that mapping an invalid userptr returns -EFAULT,
+ * and that it is correctly handled.
+ * Run type: FULL
+ * TODO: change ``'Run type' == FULL`` to a better category
*/
static void userptr_invalid(int fd)
{
--
2.39.2
More information about the igt-dev
mailing list