[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201112202516.GA3340631@ravnborg.org>
Date: Thu, 12 Nov 2020 21:25:16 +0100
From: Sam Ravnborg <sam@...nborg.org>
To: Lee Jones <lee.jones@...aro.org>
Cc: David Airlie <airlied@...ux.ie>, linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org,
Thomas Zimmermann <tzimmermann@...e.de>
Subject: Re: [PATCH 02/30] include: drm: drm_atomic: Artificially use 'crtc'
to avoid 'not used' warning
Hi Lee,
On Thu, Nov 12, 2020 at 07:00:11PM +0000, Lee Jones wrote:
> The precedent has already been set by other macros in the same file.
>
> Fixes the following W=1 kernel build warning(s):
>
> drivers/gpu/drm/vkms/vkms_drv.c:55:19: warning: variable ‘crtc’ set but not used [-Wunused-but-set-variable]
> 55 | struct drm_crtc *crtc;
> | ^~~~
>
> Cc: Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>
> Cc: Maxime Ripard <mripard@...nel.org>
> Cc: Thomas Zimmermann <tzimmermann@...e.de>
> Cc: David Airlie <airlied@...ux.ie>
> Cc: Daniel Vetter <daniel@...ll.ch>
> Cc: Rob Clark <robdclark@...il.com>
> Cc: dri-devel@...ts.freedesktop.org
> Signed-off-by: Lee Jones <lee.jones@...aro.org>
Also applied to drm-misc-next.
This was the last patch from this batch I will process.
The others are left for the maintainers to pick up.
Sam
Powered by blists - more mailing lists