Re: [PATCH] drm/msm/dpu: Fix uninitialized variable

2025-02-10 Thread Ethan Carter Edwards
On 25/02/10 05:41AM, Dmitry Baryshkov wrote: > On Sun, Feb 09, 2025 at 10:32:33PM -0500, Ethan Carter Edwards wrote: > > There is a possibility for an uninitialized *ret* variable to be > > returned in some code paths. > > > > Fix this by initializing *ret* to 0. >

[PATCH] drm/msm/dpu: Fix uninitialized variable

2025-02-10 Thread Ethan Carter Edwards
t i; - int ret; + int ret = 0; for (i = 0; i < num_planes; i++) { struct drm_plane_state *plane_state = states[i]; --- base-commit: a64dcfb451e254085a7daee5fe51bf22959d52d3 change-id: 20250209-dpu-c3fac78fc617 Best regards, -- Ethan Carter Edwards

[PATCH v2] drm/msm/dpu: Fix uninitialized variable

2025-02-10 Thread Ethan Carter Edwards
flush_csc(struct dpu_plane *pdpu, struct dpu_sw_pipe *pipe) --- base-commit: a64dcfb451e254085a7daee5fe51bf22959d52d3 change-id: 20250209-dpu-c3fac78fc617 Best regards, -- Ethan Carter Edwards