Re: Stack-frame warnings in display_mode_vba_32.c

2022-07-30 Thread Paul E. McKenney
On Sat, Jul 30, 2022 at 02:06:10AM -0700, Guenter Roeck wrote: > On 7/29/22 22:12, Paul E. McKenney wrote: > > On Fri, Jul 29, 2022 at 11:41:55PM -0300, André Almeida wrote: > > > Hi Paul, > > > > > > Às 23:25 de 29/07/22, Paul E. McKenney escreveu: > > > > Hello! > > > > > > > > I am seeing the

Re: [PATCH] drm/amd/display: Increase frame-larger-than to 4096 in dml Makefile

2022-07-30 Thread Alex Deucher
On Fri, Jul 29, 2022 at 4:51 PM Praful Swarnakar wrote: > > When enabling kcov and debug kernel configuration, stack frame size > exceeds set limit, resulting into build error. > > Fixes the following build warnings: > drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn31/display_mode_vba_31.c:3955:6

Re: Stack-frame warnings in display_mode_vba_32.c

2022-07-30 Thread Guenter Roeck
On 7/29/22 22:12, Paul E. McKenney wrote: On Fri, Jul 29, 2022 at 11:41:55PM -0300, André Almeida wrote: Hi Paul, Às 23:25 de 29/07/22, Paul E. McKenney escreveu: Hello! I am seeing the following in allmodconfig builds of recent -next on x86: drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn3

[PATCHv2 -next] drm/amdgpu: double free error and freeing uninitialized null pointer

2022-07-30 Thread Sebin Sebastian
Fix a double free and an uninitialized pointer read error. Both tmp and new are pointing at same address and both are freed which leads to double free. Adding a check to verify if new and tmp are free in the error_free label fixes the double free issue. new is not initialized to null which also lea