diff options
Diffstat (limited to 'meta-moblin/packages/linux/linux-moblin-2.6.27-rc6/0009-drm-fix-sysfs-error-path.patch')
-rw-r--r-- | meta-moblin/packages/linux/linux-moblin-2.6.27-rc6/0009-drm-fix-sysfs-error-path.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/meta-moblin/packages/linux/linux-moblin-2.6.27-rc6/0009-drm-fix-sysfs-error-path.patch b/meta-moblin/packages/linux/linux-moblin-2.6.27-rc6/0009-drm-fix-sysfs-error-path.patch deleted file mode 100644 index 8dea824804..0000000000 --- a/meta-moblin/packages/linux/linux-moblin-2.6.27-rc6/0009-drm-fix-sysfs-error-path.patch +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | commit 2e9c9eedfe0be777c051a2198dddf459adcc407b | ||
2 | Author: Dave Airlie <airlied@redhat.com> | ||
3 | Date: Tue Sep 2 10:06:06 2008 +1000 | ||
4 | |||
5 | drm: fix sysfs error path. | ||
6 | |||
7 | Pointed out by Roel Kluin on dri-devel. | ||
8 | |||
9 | Signed-off-by: Dave Airlie <airlied@redhat.com> | ||
10 | |||
11 | diff --git a/drivers/gpu/drm/drm_sysfs.c b/drivers/gpu/drm/drm_sysfs.c | ||
12 | index af211a0..1611b9b 100644 | ||
13 | --- a/drivers/gpu/drm/drm_sysfs.c | ||
14 | +++ b/drivers/gpu/drm/drm_sysfs.c | ||
15 | @@ -184,7 +184,7 @@ int drm_sysfs_device_add(struct drm_minor *minor) | ||
16 | err_out_files: | ||
17 | if (i > 0) | ||
18 | for (j = 0; j < i; j++) | ||
19 | - device_remove_file(&minor->kdev, &device_attrs[i]); | ||
20 | + device_remove_file(&minor->kdev, &device_attrs[j]); | ||
21 | device_unregister(&minor->kdev); | ||
22 | err_out: | ||
23 | |||