[PATCH v3 06/10] lib: test_hmm add ioctl to get zone device type

Alistair Popple apopple at nvidia.com
Thu Jan 20 05:01:31 UTC 2022


On Tuesday, 11 January 2022 9:31:57 AM AEDT Alex Sierra wrote:

[...]

> +enum {
> +	/* 0 is reserved to catch uninitialized type fields */

This seems unnecessary and can be dropped to start at zero.

Reviewed-by: Alistair Popple <apopple at nvidia.com>

> +	HMM_DMIRROR_MEMORY_DEVICE_PRIVATE = 1,
> +};
> +
>  #endif /* _LIB_TEST_HMM_UAPI_H */
> 






More information about the dri-devel mailing list