[Intel-gfx] [PATCH 31/44] drm/qxl: Don't use drm_device->dev_private

Gerd Hoffmann kraxel at redhat.com
Mon Apr 6 06:55:19 UTC 2020


On Fri, Apr 03, 2020 at 03:58:15PM +0200, Daniel Vetter wrote:
> Upcasting using a container_of macro is more typesafe, faster and
> easier for the compiler to optimize.
> 
> Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
> Cc: Dave Airlie <airlied at redhat.com>
> Cc: Gerd Hoffmann <kraxel at redhat.com>
> Cc: virtualization at lists.linux-foundation.org
> Cc: spice-devel at lists.freedesktop.org

Acked-by: Gerd Hoffmann <kraxel at redhat.com>



More information about the Intel-gfx mailing list