Re: [PATCH] drm/rockchip: vop2: fix uninitialized variable possible_crtcs

2023-03-22 Thread Heiko Stuebner
On Thu, 16 Mar 2023 09:23:02 -0400, Tom Rix wrote: > clang reportes this error > drivers/gpu/drm/rockchip/rockchip_drm_vop2.c:2322:8: error: > variable 'possible_crtcs' is used uninitialized whenever 'if' > condition is false [-Werror,-Wsometimes-uninitialized] > if

Re: [PATCH] drm/rockchip: vop2: fix uninitialized variable possible_crtcs

2023-03-20 Thread Nathan Chancellor
On Thu, Mar 16, 2023 at 09:23:02AM -0400, Tom Rix wrote: > clang reportes this error > drivers/gpu/drm/rockchip/rockchip_drm_vop2.c:2322:8: error: > variable 'possible_crtcs' is used uninitialized whenever 'if' > condition is false [-Werror,-Wsometimes-uninitialized] >

Re: [PATCH] drm/rockchip: vop2: fix uninitialized variable possible_crtcs

2023-03-16 Thread Michael Riesch
Hi Tom, Heiko, On 3/16/23 15:05, Heiko Stuebner wrote: > Am Donnerstag, 16. März 2023, 14:23:02 CET schrieb Tom Rix: >> clang reportes this error >> drivers/gpu/drm/rockchip/rockchip_drm_vop2.c:2322:8: error: >> variable 'possible_crtcs' is used uninitialized whenever 'if' >> condition is

Re: [PATCH] drm/rockchip: vop2: fix uninitialized variable possible_crtcs

2023-03-16 Thread Heiko Stuebner
Am Donnerstag, 16. März 2023, 14:23:02 CET schrieb Tom Rix: > clang reportes this error > drivers/gpu/drm/rockchip/rockchip_drm_vop2.c:2322:8: error: > variable 'possible_crtcs' is used uninitialized whenever 'if' > condition is false [-Werror,-Wsometimes-uninitialized] >

[PATCH] drm/rockchip: vop2: fix uninitialized variable possible_crtcs

2023-03-16 Thread Tom Rix
clang reportes this error drivers/gpu/drm/rockchip/rockchip_drm_vop2.c:2322:8: error: variable 'possible_crtcs' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] if (vp) { ^~