linux/scripts/coccinelle/api
Thierry Reding a4a69da06b drm: Introduce drm_framebuffer_{get,put}()
For consistency with other reference counting APIs in the kernel, add
drm_framebuffer_get() and drm_framebuffer_put() to reference count DRM
framebuffers.

Compatibility aliases are added to keep existing code working. To help
speed up the transition, all the instances of the old functions in the
DRM core are already replaced in this commit.

The existing semantic patch for the DRM subsystem-wide conversion is
extended to account for these new helpers.

Reviewed-by: Sean Paul <seanpaul@chromium.org>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170228144643.5668-5-thierry.reding@gmail.com
2017-02-28 16:15:03 +01:00
..
alloc coccinelle: mm: scripts/coccinelle/api/alloc/pool_zalloc-simple.cocci 2015-09-08 15:35:28 -07:00
debugfs debugfs, coccinelle: check for obsolete DEFINE_SIMPLE_ATTRIBUTE() usage 2016-04-12 14:14:21 -07:00
d_find_alias.cocci
drm-get-put.cocci drm: Introduce drm_framebuffer_{get,put}() 2017-02-28 16:15:03 +01:00
err_cast.cocci
kstrdup.cocci
memdup.cocci
memdup_user.cocci Coccinelle: limit memdup_user transformation to GFP_KERNEL case 2016-10-01 23:03:09 +02:00
platform_no_drv_owner.cocci coccinelle: api: extend spatch for dropping unnecessary owner 2015-08-19 17:23:45 +02:00
pm_runtime.cocci Coccinelle: pm_runtime: ensure relevance of pm_runtime reports 2016-10-01 23:03:41 +02:00
ptr_ret.cocci scripts/coccinelle: Use PTR_ERR_OR_ZERO 2014-04-08 17:27:01 +02:00
resource_size.cocci
setup_timer.cocci Coccinelle: setup_timer: Add space in front of parentheses 2016-04-20 09:50:53 +02:00
simple_open.cocci coccinelle: simple_open: Use imperative mood 2015-05-20 14:01:41 +08:00
vma_pages.cocci coccinelle: api: add vma_pages.cocci 2015-05-21 19:19:13 +08:00