On Thu, 2006-05-25 at 01:18 -0300, Matheus Izvekov wrote: > Shouldnt you also change this line to "return NULL;" or "return 0;"?
No. The callers of drm_sysfs_create and drm_sysfs_device_add are already checking for an error using IS_ERR, not comparing to NULL. They won't see NULL as an error at all (at least not until dereferencing it.) Look at include/linux/err.h to see how this works. As an aside, please accept my apology for the poor formatting of the patch. -- Chris Lesiak [EMAIL PROTECTED] ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
