]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Documentation: arch: fix brackets
authorManuel Ebner <manuelebner@mailbox.org>
Fri, 12 Jun 2026 09:54:22 +0000 (11:54 +0200)
committerJonathan Corbet <corbet@lwn.net>
Fri, 12 Jun 2026 19:16:01 +0000 (13:16 -0600)
Add missing and remove needless parentheses, brackets and curly braces.
Fix typos.

Signed-off-by: Manuel Ebner <manuelebner@mailbox.org>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260612095432.177759-2-manuelebner@mailbox.org>

Documentation/arch/arc/arc.rst
Documentation/arch/arm/samsung/clksrc-change-registers.awk
Documentation/arch/arm/vlocks.rst
Documentation/arch/arm64/memory-tagging-extension.rst
Documentation/arch/powerpc/vas-api.rst
Documentation/arch/sparc/oradax/dax-hv-api.txt
Documentation/arch/sparc/oradax/oracle-dax.rst
Documentation/arch/x86/x86_64/fsgs.rst

index 6c4d978f3f4e8fbaa5946dc6d2e9974aafacd08e..5923dee37a984d96931ee8c4ba7976f05cedbd02 100644 (file)
@@ -36,7 +36,7 @@ Important note on ARC processors configurability
 
 ARC processors are highly configurable and several configurable options
 are supported in Linux. Some options are transparent to software
-(i.e cache geometries, some can be detected at runtime and configured
+(e.g., cache geometries), some can be detected at runtime and configured
 and used accordingly, while some need to be explicitly selected or configured
 in the kernel's configuration utility (AKA "make menuconfig").
 
index 7be1b8aa7cd9a7766702b713b2102c34bb49d2ec..48464397088c6d4989266e9b8bb7c92309edc2e5 100755 (executable)
@@ -163,4 +163,4 @@ BEGIN {
     }
 }
 
-// && ! /clksrc_clk.*=.*{/ { print $0 }
+// && ! /clksrc_clk.*=.*{/ { print $0 }}
index 737aa8661a211aecae5f9b94903f3439039ad3b9..b0ac3326308687eb96566d0ceee85427757a4205 100644 (file)
@@ -102,10 +102,10 @@ Features and limitations
        if (I_won) {
                /* we won the town election, let's go for the state */
                my_state = states[(this_cpu >> 8) & 0xf];
-               I_won = vlock_lock(my_state, this_cpu & 0xf));
+               I_won = vlock_lock(my_state, this_cpu & 0xf);
                if (I_won) {
                        /* and so on */
-                       I_won = vlock_lock(the_whole_country, this_cpu & 0xf];
+                       I_won = vlock_lock(the_whole_country, this_cpu & 0xf);
                        if (I_won) {
                                /* ... */
                        }
index 679725030731d00682c6cf74ffbfb9827efc561d..e6fe428f0e2a4a6b7f6c7678e76197d9b8095437 100644 (file)
@@ -222,7 +222,7 @@ programs should not retry in case of a non-zero system call return.
 address ABI control and MTE configuration of a process as per the
 ``prctl()`` options described in
 Documentation/arch/arm64/tagged-address-abi.rst and above. The corresponding
-``regset`` is 1 element of 8 bytes (``sizeof(long))``).
+``regset`` is 1 element of 8 bytes (``sizeof(long)``).
 
 Core dump support
 -----------------
index a9625a2fa0c6340b357e6693e4c5115d061cc8c6..1d0d055356e3ccddcc565fc8ba7bf3a0cec0652a 100644 (file)
@@ -293,7 +293,7 @@ Simple example
                                //Format CRB request with compression or
                                //uncompression
                                // Refer tests for vas_copy/vas_paste
-                               vas_copy((&crb, 0, 1);
+                               vas_copy(&crb, 0, 1);
                                vas_paste(addr, 0, 1);
                                // Poll on csb.flags with timeout
                                // csb address is listed in CRB
index ef1a4c2bf08bfe4ba5e0fc48b045cf6975f7e616..49be62a9ce86e1349a7915e49ec4ea7e9aa74a7c 100644 (file)
@@ -457,7 +457,7 @@ bits set, and terminate at a CCB that has the Conditional bit set, but not the P
 Offset   Size   Field Description
                 Bits         Field Description
                 [15:14]      Secondary Input Element Size (see Section 36.2.1.1.4,
-                             “Secondary Input Element Size”
+                             “Secondary Input Element Size”)
                 [13:10]      Output Format (see Section 36.2.1.1.6, “Output Format”)
                 [9]          Padding Direction selector: A value of 1 causes padding bytes
                              to be added to the left side of output elements. A value of 0
@@ -656,7 +656,7 @@ Offset         Size            Field Description
                                [18:16]      Secondary Input Starting Offset (see Section 36.2.1.1.5, “Input
                                             Element Offsets”)
                                [15:14]      Secondary Input Element Size (see Section 36.2.1.1.4,
-                                            “Secondary Input Element Size”
+                                            “Secondary Input Element Size”)
                                [13:10]      Output Format (see Section 36.2.1.1.6, “Output Format”)
                                [9:5]        Operand size for first scan criteria value. In a scan value
                                             operation, this is one of two potential exact match values.
@@ -793,13 +793,13 @@ Offset   Size   Field Description
                 [18:16]      Secondary Input Starting Offset (see Section 36.2.1.1.5, “Input
                              Element Offsets”)
                 [15:14]      Secondary Input Element Size (see Section 36.2.1.1.4,
-                             “Secondary Input Element Size”
+                             “Secondary Input Element Size”)
                 [13:10]      Output Format (see Section 36.2.1.1.6, “Output Format”)
                 [9]          Reserved
                 [8:0]        Test value used for comparison against the most significant bits
                              in the input values, when using 2 or 3 byte input elements.
-8        8      Completion (same fields as Section 36.2.1.2, “Extract command”
-16       8      Primary Input (same fields as Section 36.2.1.2, “Extract command”
+8        8      Completion (same fields as Section 36.2.1.2, “Extract command”)
+16       8      Primary Input (same fields as Section 36.2.1.2, “Extract command”)
 24       8      Data Access Control (same fields as Section 36.2.1.2, “Extract command”,
                 except Primary Input Length Format may not use the 0x0 value)
 32       8      Secondary Input, if used by Primary Input Format. Same fields as Primary
@@ -880,7 +880,7 @@ Offset   Size   Field Description
                                        [18:16]     Secondary Input Starting Offset (see Section 36.2.1.1.5, “Input
                                                    Element Offsets”)
                                        [15:14]     Secondary Input Element Size (see Section 36.2.1.1.4,
-                                                   “Secondary Input Element Size”
+                                                   “Secondary Input Element Size”)
 
 
                                                       524
@@ -895,8 +895,8 @@ Offset   Size   Field Description
                                                     causes padding bytes to be added to the right side of output
                                                     elements.
                                        [8:0]        Reserved
-        8              8               Completion (same fields as Section 36.2.1.2, “Extract command”
-        16             8               Primary Input (same fields as Section 36.2.1.2, “Extract command”
+        8              8               Completion (same fields as Section 36.2.1.2, “Extract command”)
+        16             8               Primary Input (same fields as Section 36.2.1.2, “Extract command”)
         24             8               Data Access Control (same fields as Section 36.2.1.2, “Extract command”)
         32             8               Secondary Bit Vector Input. Same fields as Primary Input.
         40             8               Reserved
@@ -949,7 +949,7 @@ Offset   Size   Field Description
                                    [31]        If set, this CCB functions as a Sync command. If clear, this
                                                CCB functions as a No-op command.
                                    [30:0]      Reserved
-       8             8             Completion (same fields as Section 36.2.1.2, “Extract command”
+       8             8             Completion (same fields as Section 36.2.1.2, “Extract command”)
        16            46            Reserved
 
 36.2.2. CCB Completion Area
index d1e14d572918ca6146dd88abbf88276b699106d7..a5d53f240dc88237138dc079134cb0fbbbb8874b 100644 (file)
@@ -438,7 +438,7 @@ that in user land::
 The output bitmap is ready for consumption immediately after the
 completion status indicates success.
 
-Excer[t from UltraSPARC Virtual Machine Specification
+Excerpt from UltraSPARC Virtual Machine Specification
 =====================================================
 
  .. include:: dax-hv-api.txt
index 6bda4d16d3f7476ca982c3fdc3ea1a1f8ab5add9..f8d483a7fb06e81861082172a37c4c3d8012c1cc 100644 (file)
@@ -182,8 +182,8 @@ address spaces via an attribute based mechanism in Clang 2.6 and newer
 versions:
 
  ==================================== =====================================
-  __attribute__((address_space(256))  Variable is addressed relative to GS
-  __attribute__((address_space(257))  Variable is addressed relative to FS
+  __attribute__(address_space(256))   Variable is addressed relative to GS
+  __attribute__(address_space(257))   Variable is addressed relative to FS
  ==================================== =====================================
 
 FS/GS based addressing with inline assembly