Skip to contentSkip to conversation

scsi: libsas: Fix interval notation

PATCH In review Manuel Ebner 2 participants 4 messages Sep 16 – Nov 3

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi: libsas: Fix interval notation

Remove needless ']' from interval boundary.

---
 Documentation/scsi/libsas.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/scsi/libsas.rst +1 -1
index 305a253d5..9ebf2bf28 100644
@@ -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
Signature · 1 line
2.55.0
#1 lore raw
Quoted 2 lines · Manuel Ebner

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

Quoted 10 lines
---
  Documentation/scsi/libsas.rst | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/scsi/libsas.rst +0 -0
index 305a253d5..9ebf2bf28 100644

Documentation/scsi/libsas.rst enabled · line 78

Quoted 5 lines
Documentation/scsi/libsas.rst +1 -1
@@ -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

Quoted 3 lines
Documentation/scsi/libsas.rst +0 -0
  class, proto, type, role, oob_mode, linkrate
      - must be set
#2 lore raw
Quoted 8 lines · John Garry
Quoted 2 lines · Manuel Ebner

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

Does replacing all sas_phy -> asd_sas_phy and sas_port -> asd_sas_port fix this? Then I'll send a patch.

Thanks
Manuel

Quoted 22 lines
Quoted 12 lines

---
  Documentation/scsi/libsas.rst | 2 +-

  1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/scsi/libsas.rst +0 -0
index 305a253d5..9ebf2bf28 100644
@@ -75,7 +75,7 @@ enabled
       - must be set (0/1)
Quoted 4 lines


  id
-    - must be set [0,MAX_PHYS)]
+    - must be set [0,MAX_PHYS)

this looks ok, even though it is so trivial

Quoted 3 lines


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

#3 lore raw
Quoted 5 lines · Manuel Ebner
Quoted 4 lines · John Garry
Quoted 2 lines · Manuel Ebner

Remove needless ']' from interval boundary.

Quoted 8 lines
Quoted 4 lines

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

Does replacing all sas_phy -> asd_sas_phy and sas_port -> asd_sas_port fix this? Then I'll send a patch.

uh, I don't think that anyone would be checking this documentation from now on, as I don't expect any drivers for new SAS HBAs which may even want to use libsas will appear.

John

Quoted 25 lines

Thanks> Manuel

Quoted 22 lines
Quoted 11 lines
---
   Documentation/scsi/libsas.rst | 2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/scsi/libsas.rst +0 -0
index 305a253d5..9ebf2bf28 100644

Documentation/scsi/libsas.rst enabled · line 78

Quoted 5 lines
Documentation/scsi/libsas.rst +1 -1
@@ -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

Quoted 3 lines
Documentation/scsi/libsas.rst +0 -0
   class, proto, type, role, oob_mode, linkrate
       - must be set