On Tue, 2016-08-23 at 21:37 -0700, [email protected] wrote:
> From: Matt Arsenault <[email protected]>

Reviewed-by: Jan Vesely <[email protected]>

although I would not expect random value to be a valid mem object.

Jan

> 
> ---
>  tests/cl/api/set-kernel-arg.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/cl/api/set-kernel-arg.c b/tests/cl/api/set-kernel-
> arg.c
> index 9b5a567..d306931 100644
> --- a/tests/cl/api/set-kernel-arg.c
> +++ b/tests/cl/api/set-kernel-arg.c
> @@ -107,7 +107,7 @@ piglit_cl_test(const int argc,
>       cl_int3 vec3;
>       struct_arg_t s_arg;
>  
> -     cl_mem invalid_buffer;
> +     cl_mem invalid_buffer = NULL;
>  
>       cl_bool image_support =
>               piglit_cl_get_device_image_support(env->context-
> >device_ids[0]);

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to