Re: [PATCH 01/22] drm: Add drm_mode_init()

2022-02-18 Thread Harry Wentland
On 2022-02-18 05:03, Ville Syrjala wrote: > From: Ville Syrjälä > > Add a variant of drm_mode_copy() that explicitly clears out > the list head of the destination mode. Helpful to guarantee > we don't have stack garbage left in there for on-stack modes. > > Signed-off-by: Ville Syrjälä Revi

Re: [PATCH 01/22] drm: Add drm_mode_init()

2022-02-18 Thread Andrzej Hajda
On 18.02.2022 12:56, Ville Syrjälä wrote: On Fri, Feb 18, 2022 at 12:22:44PM +0100, Andrzej Hajda wrote: On 18.02.2022 11:03, Ville Syrjala wrote: From: Ville Syrjälä Add a variant of drm_mode_copy() that explicitly clears out the list head of the destination mode. Helpful to guarantee we

Re: [PATCH 01/22] drm: Add drm_mode_init()

2022-02-18 Thread Ville Syrjälä
On Fri, Feb 18, 2022 at 12:22:44PM +0100, Andrzej Hajda wrote: > > > On 18.02.2022 11:03, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > Add a variant of drm_mode_copy() that explicitly clears out > > the list head of the destination mode. Helpful to guarantee > > we don't have stack garba

Re: [PATCH 01/22] drm: Add drm_mode_init()

2022-02-18 Thread Andrzej Hajda
On 18.02.2022 11:03, Ville Syrjala wrote: From: Ville Syrjälä Add a variant of drm_mode_copy() that explicitly clears out the list head of the destination mode. Helpful to guarantee we don't have stack garbage left in there for on-stack modes. Signed-off-by: Ville Syrjälä --- drivers/gpu