On Tue, Aug 26, 2008 at 9:04 PM, roel kluin <[EMAIL PROTECTED]> wrote: > In drivers/char/drm/drm_sysfs.c:187, function drm_sysfs_device_add(): > > for (i = 0; i < ARRAY_SIZE(device_attrs); i++) { > err = device_create_file(&minor->kdev, &device_attrs[i]); > if (err) > goto err_out_files; > } > > return 0; > > err_out_files: > if (i > 0) > for (j = 0; j < i; j++) > device_remove_file(&minor->kdev, &device_attrs[i]); > > shouldn't this be a j? > ---------------------------------------------------------------^
Yes it should thanks. Fix in drm-next and git. Dave. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel