Re: drivers/gpu/drm/qxl/qxl_cmd.c:424:6: error: variable 'count' set but not used

2024-03-28 Thread Miguel Ojeda
On Wed, Mar 27, 2024 at 8:59 AM Maxime Ripard wrote: > > It looks reasonable to me, can you send a formal patch? Will do -- I found another one when running the CI with the above one fixed: drivers/gpu/drm/qxl/qxl_ioctl.c:148:14: error: variable 'num_relocs' set but not used [-Werror,-Wunuse

Re: drivers/gpu/drm/qxl/qxl_cmd.c:424:6: error: variable 'count' set but not used

2024-03-28 Thread Miguel Ojeda
On Wed, Mar 27, 2024 at 3:43 PM Miguel Ojeda wrote: > > Will do -- I found another one when running the CI with the above one fixed: > > drivers/gpu/drm/qxl/qxl_ioctl.c:148:14: error: variable > 'num_relocs' set but not used [-Werror,-Wunused-but-set-variable] > > I will send you one for that

Re: drivers/gpu/drm/qxl/qxl_cmd.c:424:6: error: variable 'count' set but not used

2024-03-27 Thread Maxime Ripard
Hi Miguel, On Tue, Mar 26, 2024 at 07:04:34PM +0100, Miguel Ojeda wrote: > Hi, > > In today's next, I got: > > drivers/gpu/drm/qxl/qxl_cmd.c:424:6: error: variable 'count' set > but not used [-Werror,-Wunused-but-set-variable] > > `count` seems to b

drivers/gpu/drm/qxl/qxl_cmd.c:424:6: error: variable 'count' set but not used

2024-03-27 Thread Miguel Ojeda
Hi, In today's next, I got: drivers/gpu/drm/qxl/qxl_cmd.c:424:6: error: variable 'count' set but not used [-Werror,-Wunused-but-set-variable] `count` seems to be there since commit f64122c1f6ad ("drm: add new QXL driver. (v1.4)"). Untested diff below -- if you wa