OSDN Git Service

docs: accel: Fix debugfs path
authorJeffrey Hugo <quic_jhugo@quicinc.com>
Thu, 19 Jan 2023 16:26:08 +0000 (09:26 -0700)
committerOded Gabbay <ogabbay@kernel.org>
Thu, 26 Jan 2023 09:52:14 +0000 (11:52 +0200)
The device specific directory in debugfs does not have "accel".  For
example, the documentation says device 0 should have a debugfs entry as
/sys/kernel/debug/accel/accel0/ but in reality the entry is
/sys/kernel/debug/accel/0/

Fix the documentation to match the implementation.

Fixes: 8c5577a5ccc6 ("doc: add documentation for accel subsystem")
Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Documentation/accel/introduction.rst

index 6f31af1..11cade5 100644 (file)
@@ -69,7 +69,7 @@ The accelerator devices will be exposed to the user space with the dedicated
 
 - device char files - /dev/accel/accel*
 - sysfs             - /sys/class/accel/accel*/
-- debugfs           - /sys/kernel/debug/accel/accel*/
+- debugfs           - /sys/kernel/debug/accel/*/
 
 Getting Started
 ===============