From patchwork Thu Dec 7 05:56:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Du, Changbin" X-Patchwork-Id: 10097709 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A3CAF602BF for ; Thu, 7 Dec 2017 06:04:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 93CE921327 for ; Thu, 7 Dec 2017 06:04:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 872212958F; Thu, 7 Dec 2017 06:04:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7367E21327 for ; Thu, 7 Dec 2017 06:04:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CAF6F6E036; Thu, 7 Dec 2017 06:04:28 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0280B6E036 for ; Thu, 7 Dec 2017 06:04:27 +0000 (UTC) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Dec 2017 22:04:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,371,1508828400"; d="scan'208";a="184842138" Received: from gvt-dell.bj.intel.com (HELO gvt-dell-host.bj.intel.com) ([10.238.154.59]) by fmsmga006.fm.intel.com with ESMTP; 06 Dec 2017 22:04:25 -0800 From: changbin.du@intel.com To: intel-gfx@lists.freedesktop.org Date: Thu, 7 Dec 2017 13:56:43 +0800 Message-Id: <1512626203-6131-1-git-send-email-changbin.du@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [Intel-gfx] [PATCH i-g-t] overlay: fix debugfs path when debugfs mounted on path '/debug' X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP From: Changbin Du It mistakenly set debugfs root path to "/debug/dri", so correct it. Signed-off-by: Changbin Du Reviewed-by: Chris Wilson --- 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; }