OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd7d71f
)
drm: fix sysfs error path.
author
Dave Airlie
<airlied@redhat.com>
Tue, 2 Sep 2008 00:07:14 +0000
(10:07 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 2 Sep 2008 00:08:26 +0000
(10:08 +1000)
Pointed out by Roel Kluin on dri-devel.
Signed-off-by: Dave Airlie <airlied@redhat.com>
linux-core/drm_sysfs.c
patch
|
blob
|
history
diff --git
a/linux-core/drm_sysfs.c
b/linux-core/drm_sysfs.c
index
3275942
..
6de9367
100644
(file)
--- a/
linux-core/drm_sysfs.c
+++ b/
linux-core/drm_sysfs.c
@@
-188,7
+188,7
@@
int drm_sysfs_device_add(struct drm_minor *minor)
err_out_files:
if (i > 0)
for (j = 0; j < i; j++)
- device_remove_file(&minor->kdev, &device_attrs[
i
]);
+ device_remove_file(&minor->kdev, &device_attrs[
j
]);
device_unregister(&minor->kdev);
err_out: