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. > > > > Addresses-Coverity-ID: 16

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

2025-02-10 Thread Ethan Carter Edwards
There is a possibility for an uninitialized *ret* variable to be returned in some code paths. Fix this by initializing *ret* to 0. Addresses-Coverity-ID: 1642546 ("Uninitialized scalar variable") Fixes: 774bcfb731765d ("drm/msm/dpu: add support for virtual planes") Signed-off-by: Ethan Carter Edw

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

2025-02-09 Thread Dmitry Baryshkov
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. > > Addresses-Coverity-ID: 1642546 ("Uninitialized scalar variable") > Fixes: 774bcfb731