artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0511e93
)
fix a return path that lacked a rw_exit_write() call
author
jsg
<jsg@openbsd.org>
Tue, 5 May 2015 02:01:10 +0000
(
02:01
+0000)
committer
jsg
<jsg@openbsd.org>
Tue, 5 May 2015 02:01:10 +0000
(
02:01
+0000)
ok kettenis@
sys/dev/pci/drm/drm_crtc.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/drm_crtc.c
b/sys/dev/pci/drm/drm_crtc.c
index
8c81e21
..
7141fa0
100644
(file)
--- a/
sys/dev/pci/drm/drm_crtc.c
+++ b/
sys/dev/pci/drm/drm_crtc.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: drm_crtc.c,v 1.1
6 2015/04/06 09:23:19
jsg Exp $ */
+/* $OpenBSD: drm_crtc.c,v 1.1
7 2015/05/05 02:01:10
jsg Exp $ */
/*
* Copyright (c) 2006-2008 Intel Corporation
* Copyright (c) 2007 Dave Airlie <airlied@linux.ie>
@@
-288,7
+288,7
@@
struct drm_mode_object *drm_mode_object_find(struct drm_device *dev,
obj = han->obj;
if (obj->type != type) {
-
return
NULL;
+
obj =
NULL;
}
rw_exit_write(&dev->mode_config.idr_rwl);