* [PATCH] drm/nouveau/kms/nv50-: fix drm-get-put.cocci warnings
@ 2018-05-18 16:51 Julia Lawall
0 siblings, 0 replies; only message in thread
From: Julia Lawall @ 2018-05-18 16:51 UTC (permalink / raw)
To: Ben Skeggs
Cc: kbuild-all, David Airlie, Daniel Vetter, Maarten Lankhorst,
Ville Syrjälä,
Archit Taneja, Alastair Bridgewater, dri-devel, nouveau,
linux-kernel
From: kbuild test robot <fengguang.wu@intel.com>
Use drm_*_get() and drm_*_put() helpers instead of drm_*_reference() and
drm_*_unreference() helpers.
Generated by: scripts/coccinelle/api/drm-get-put.cocci
Fixes: 30ed49b55b6e ("drm/nouveau/kms/nv50-: move code underneath dispnv50/")
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
---
tree: https://github.com/skeggsb/linux linux-4.18
head: 6c46d01f25bcf74608d09645c27c35c3f3940ebe
commit: 30ed49b55b6e44e004c3095671e74fea93ee84cb [105/165]
drm/nouveau/kms/nv50-: move code underneath dispnv50/
disp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/gpu/drm/nouveau/dispnv50/disp.c
+++ b/drivers/gpu/drm/nouveau/dispnv50/disp.c
@@ -3254,7 +3254,7 @@ nv50_mstm_destroy_connector(struct drm_d
mstc->port = NULL;
drm_modeset_unlock(&drm->dev->mode_config.connection_mutex);
- drm_connector_unreference(&mstc->connector);
+ drm_connector_put(&mstc->connector);
}
static void
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-05-18 16:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-18 16:51 [PATCH] drm/nouveau/kms/nv50-: fix drm-get-put.cocci warnings Julia Lawall
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®