[igt-dev] [PATCH i-g-t 10/11] xe/xe_vm: add documentation for igt at xe_vm@userptr-invalid
Kamil Konieczny
kamil.konieczny at linux.intel.com
Wed Mar 29 17:56:20 UTC 2023
On 2023-03-27 at 15:31:54 +0200, Mauro Carvalho Chehab wrote:
> 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>
Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
> ---
> 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