dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel@ffwll.ch>
To: Beatriz Martins de Carvalho <martinsdecarvalhobeatriz@gmail.com>
Cc: melissa.srw@gmail.com, bcarvalho.ic@gmail.com,
	dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] drm/vkms: replace macro in vkms_release()
Date: Tue, 6 Jul 2021 23:48:56 +0200	[thread overview]
Message-ID: <YOTPyGPY/WwteE9x@phenom.ffwll.local> (raw)
In-Reply-To: <20210706154510.224695-1-martinsdecarvalhobeatriz@gmail.com>

On Tue, Jul 06, 2021 at 04:45:10PM +0100, Beatriz Martins de Carvalho wrote:
> Replace macro in vkms_release()
> 
> Signed-off-by: Beatriz Martins de Carvalho <martinsdecarvalhobeatriz@gmail.com>

Applied to drm-misc-next, thanks for the patch.
-Daniel

> ---
>  drivers/gpu/drm/vkms/vkms_drv.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/vkms/vkms_drv.c b/drivers/gpu/drm/vkms/vkms_drv.c
> index 496de38ad983..e806958027c2 100644
> --- a/drivers/gpu/drm/vkms/vkms_drv.c
> +++ b/drivers/gpu/drm/vkms/vkms_drv.c
> @@ -52,7 +52,7 @@ DEFINE_DRM_GEM_FOPS(vkms_driver_fops);
>  
>  static void vkms_release(struct drm_device *dev)
>  {
> -	struct vkms_device *vkms = container_of(dev, struct vkms_device, drm);
> +	struct vkms_device *vkms = drm_device_to_vkms_device(dev);
>  
>  	destroy_workqueue(vkms->output.composer_workq);
>  }
> -- 
> 2.25.1
> 

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch

      reply	other threads:[~2021-07-06 21:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-06 15:45 [PATCH] drm/vkms: replace macro in vkms_release() Beatriz Martins de Carvalho
2021-07-06 21:48 ` Daniel Vetter [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YOTPyGPY/WwteE9x@phenom.ffwll.local \
    --to=daniel@ffwll.ch \
    --cc=bcarvalho.ic@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=martinsdecarvalhobeatriz@gmail.com \
    --cc=melissa.srw@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox