[PATCH] scsi: libsas: Fix interval notation

Manuel Ebner posted 1 patch 1 week, 1 day ago
Documentation/scsi/libsas.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] scsi: libsas: Fix interval notation
Posted by Manuel Ebner 1 week, 1 day ago
Remove needless ']' from interval boundary.

Signed-off-by: Manuel Ebner <manuelebnerli@mailbox.org>
---
 Documentation/scsi/libsas.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/scsi/libsas.rst b/Documentation/scsi/libsas.rst
index 305a253d5..9ebf2bf28 100644
--- a/Documentation/scsi/libsas.rst
+++ b/Documentation/scsi/libsas.rst
@@ -75,7 +75,7 @@ enabled
     - must be set (0/1)
 
 id
-    - must be set [0,MAX_PHYS)]
+    - must be set [0,MAX_PHYS)
 
 class, proto, type, role, oob_mode, linkrate
     - must be set
-- 
2.55.0
Re: [PATCH] scsi: libsas: Fix interval notation
Posted by John Garry 1 week, 1 day ago
On 9/16/26 13:44, Manuel Ebner wrote:
> Remove needless ']' from interval boundary.
> 

This documentation is wrong for this structure description (not shown) - 
it should be for asd_sas_phy, not sas_phy

Same for sas_port -> asd_sas_port

> Signed-off-by: Manuel Ebner <manuelebnerli@mailbox.org>
> ---
>   Documentation/scsi/libsas.rst | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/scsi/libsas.rst b/Documentation/scsi/libsas.rst
> index 305a253d5..9ebf2bf28 100644
> --- a/Documentation/scsi/libsas.rst
> +++ b/Documentation/scsi/libsas.rst
> @@ -75,7 +75,7 @@ enabled
>       - must be set (0/1)
>   
>   id
> -    - must be set [0,MAX_PHYS)]
> +    - must be set [0,MAX_PHYS)

this looks ok, even though it is so trivial

>   
>   class, proto, type, role, oob_mode, linkrate
>       - must be set