[Intel-gfx] [PATCH i-g-t] overlay: fix debugfs path when debugfs mounted on path '/debug'
changbin.du at intel.com
changbin.du at intel.com
Thu Dec 7 05:56:43 UTC 2017
From: Changbin Du <changbin.du at intel.com>
It mistakenly set debugfs root path to "/debug/dri", so correct it.
Signed-off-by: Changbin Du <changbin.du at intel.com>
---
overlay/debugfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/overlay/debugfs.c b/overlay/debugfs.c
index 9f3e5cc..5516949 100644
--- a/overlay/debugfs.c
+++ b/overlay/debugfs.c
@@ -40,7 +40,7 @@ int debugfs_init(void)
int n;
if (stat("/debug/dri", &st) == 0) {
- path = "/debug/dri";
+ path = "/debug";
goto find_minor;
}
--
2.7.4
More information about the Intel-gfx
mailing list