Re: [PATCH 7/8] drm/client: Move variables to tighter scope

2024-10-03 Thread Ville Syrjälä
On Thu, Oct 03, 2024 at 02:33:03PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Bunch of variables are only needed inside loops and whatnot. > Move them to a tighter scope to make the code less confusing. > > Also replace the 'unsigned int i' footguns with plain signed > ints. I moved

[PATCH 7/8] drm/client: Move variables to tighter scope

2024-10-03 Thread Ville Syrjala
From: Ville Syrjälä Bunch of variables are only needed inside loops and whatnot. Move them to a tighter scope to make the code less confusing. Also replace the 'unsigned int i' footguns with plain signed ints. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/drm_client_modeset.c | 33