[PATCH] Documentation: driver-api: fix ls -1 spelling

Jingyu Wang posted 1 patch 2 years, 3 months ago
Documentation/driver-api/dmaengine/dmatest.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] Documentation: driver-api: fix ls -1 spelling
Posted by Jingyu Wang 2 years, 3 months ago
ls -1 to ls -l in dmatest documentation

Signed-off-by: Jingyu Wang <jingyuwang_vip@163.com>
---
 Documentation/driver-api/dmaengine/dmatest.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/driver-api/dmaengine/dmatest.rst b/Documentation/driver-api/dmaengine/dmatest.rst
index e2a63cefd783..b1a0e3bc71e7 100644
--- a/Documentation/driver-api/dmaengine/dmatest.rst
+++ b/Documentation/driver-api/dmaengine/dmatest.rst
@@ -77,7 +77,7 @@ Example of multi-channel test usage (new in the 5.0 kernel)::
 .. hint::
   A list of available channels can be found by running the following command::
 
-    % ls -1 /sys/class/dma/
+    % ls -l /sys/class/dma/
 
 Once started a message like " dmatest: Added 1 threads using dma0chan0" is
 emitted. A thread for that specific channel is created and is now pending, the
-- 
2.34.1
Re: [PATCH] Documentation: driver-api: fix ls -1 spelling
Posted by Dave Jiang 2 years, 3 months ago

On 9/12/23 03:46, Jingyu Wang wrote:
> ls -1 to ls -l in dmatest documentation

Why the change? -1 lists all the files w/o the attributes.

> 
> Signed-off-by: Jingyu Wang <jingyuwang_vip@163.com>
> ---
>  Documentation/driver-api/dmaengine/dmatest.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/driver-api/dmaengine/dmatest.rst b/Documentation/driver-api/dmaengine/dmatest.rst
> index e2a63cefd783..b1a0e3bc71e7 100644
> --- a/Documentation/driver-api/dmaengine/dmatest.rst
> +++ b/Documentation/driver-api/dmaengine/dmatest.rst
> @@ -77,7 +77,7 @@ Example of multi-channel test usage (new in the 5.0 kernel)::
>  .. hint::
>    A list of available channels can be found by running the following command::
>  
> -    % ls -1 /sys/class/dma/
> +    % ls -l /sys/class/dma/
>  
>  Once started a message like " dmatest: Added 1 threads using dma0chan0" is
>  emitted. A thread for that specific channel is created and is now pending, the