lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1410712823-29137-1-git-send-email-fabf@skynet.be>
Date:	Sun, 14 Sep 2014 18:40:13 +0200
From:	Fabian Frederick <fabf@...net.be>
To:	linux-kernel@...r.kernel.org
Cc:	airlied@...ux.ie, Fabian Frederick <fabf@...net.be>,
	dri-devel@...ts.freedesktop.org
Subject: [PATCH 0/9 linux-next] drivers/gpu/drm: use container_of where possible

Small patchset using container_of instead of casting on first structure member address.

Fabian Frederick (9):
  drm/cirrus: use container_of to resolve cirrus_fbdev from
    drm_fb_helper
  drm/mgag200: use container_of to resolve mga_fbdev from drm_fb_helper
  drm/radeon: use container_of to resolve radeon_fbdev from
    drm_fb_helper
  drm/nouveau: use container_of to resolve nouveau_fbdev from
    drm_fb_helper
  drm/nouveau: use container_of to resolve nouveau_plane from drm_plane
  drm/qxl: use container_of to resolve qxl_fbdev from drm_fb_helper
  drm/gma500: use container_of to resolve psb_fbdev from drm_fb_helper
  drm/ast: use container_of to resolve ast_fbdev from drm_fb_helper
  drm/udl: use container_of to resolve udl_fbdev from drm_fb_helper

 drivers/gpu/drm/ast/ast_fb.c               |  3 ++-
 drivers/gpu/drm/cirrus/cirrus_fbdev.c      |  3 ++-
 drivers/gpu/drm/gma500/framebuffer.c       |  3 ++-
 drivers/gpu/drm/mgag200/mgag200_fb.c       |  3 ++-
 drivers/gpu/drm/nouveau/dispnv04/overlay.c | 15 ++++++++++-----
 drivers/gpu/drm/nouveau/nouveau_fbcon.c    |  3 ++-
 drivers/gpu/drm/qxl/qxl_fb.c               |  3 ++-
 drivers/gpu/drm/radeon/radeon_fb.c         |  3 ++-
 drivers/gpu/drm/udl/udl_fb.c               |  3 ++-
 9 files changed, 26 insertions(+), 13 deletions(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ