On Wed, Jul 22, 2015 at 04:58:47PM +0530, Sudip Mukherjee wrote: > If any of the debug file creation fails we were just returning the > error code to the drm layer. But the debug files that we created in the > process were not removed. And debugfs files are not automatically > cleaned up. Just handle the failure to add gracefully by only removing the ones we add during debugfs cleanup. One thing we do not actually want to do here is return an error - not setting up every file in debugfs shouldn't stop the driver from loading. -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx