Re: [PATCH] drm/tests: Zero initialize fourccs_out

2023-09-08 Thread Maira Canal
Hi Arthur, On 9/1/23 15:52, Arthur Grillo wrote: fourccs_out array is not initialized. As the drm_fb_build_fourcc_list() doesn't necessarily change all the array, and the test compares all of it, the comparison could fail if the array is not initialized. Zero initialize the array to fix this. F

Re: [PATCH] drm/tests: Zero initialize fourccs_out

2023-09-04 Thread Maira Canal
On 9/1/23 15:52, Arthur Grillo wrote: fourccs_out array is not initialized. As the drm_fb_build_fourcc_list() doesn't necessarily change all the array, and the test compares all of it, the comparison could fail if the array is not initialized. Zero initialize the array to fix this. Fixes: 371e0b

[PATCH] drm/tests: Zero initialize fourccs_out

2023-09-01 Thread Arthur Grillo
fourccs_out array is not initialized. As the drm_fb_build_fourcc_list() doesn't necessarily change all the array, and the test compares all of it, the comparison could fail if the array is not initialized. Zero initialize the array to fix this. Fixes: 371e0b186a13 ("drm/tests: Add KUnit tests for