]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
docs: staging: fix various typos and grammar issues
authorZhang Xiaolei <zxl434815272@gmail.com>
Thu, 16 Apr 2026 10:58:53 +0000 (18:58 +0800)
committerJonathan Corbet <corbet@lwn.net>
Mon, 27 Apr 2026 10:00:29 +0000 (04:00 -0600)
Fix a few typographical and grammatical issues across several
staging documentation files to improve readability:
- crc32.rst: replace "decide in" with "decide on"
- lzo.rst: replace "independent on" with "independent of"
- remoteproc.rst: fix word order in dependent clause
- static-keys.rst: add hyphen to "low-level"

Signed-off-by: Zhang Xiaolei <zxl434815272@gmail.com>
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260416105854.788-1-zxl434815272@gmail.com>

Documentation/staging/crc32.rst
Documentation/staging/lzo.rst
Documentation/staging/remoteproc.rst
Documentation/staging/static-keys.rst

index 64f3dd430a6ca7f31313dcb8b546d4149578e9ac..fc0d9564b99c12b172bdc1c11ad1b3000c811994 100644 (file)
@@ -119,7 +119,7 @@ the byte-at-a-time table method, popularized by Dilip V. Sarwate,
 v.31 no.8 (August 1988) p. 1008-1013.
 
 Here, rather than just shifting one bit of the remainder to decide
-in the correct multiple to subtract, we can shift a byte at a time.
+on the correct multiple to subtract, we can shift a byte at a time.
 This produces a 40-bit (rather than a 33-bit) intermediate remainder,
 and the correct multiple of the polynomial to subtract is found using
 a 256-entry lookup table indexed by the high 8 bits.
index f65b515230146cb347612a038fefec73700f207b..2d48b2667dd22e1c2a21453b4cb896a398850df3 100644 (file)
@@ -75,7 +75,7 @@ Description
      are called under the assumption that a certain number of bytes follow
      because it has already been guaranteed before parsing the instructions.
      They just have to "refill" this credit if they consume extra bytes. This
-     is an implementation design choice independent on the algorithm or
+     is an implementation design choice independent of the algorithm or
      encoding.
 
 Versions
index 5c226fa076d6bfbf69f5ff649d8d118bfddadf45..c117b060e76c7531e371c520b6f7e1ece98a22f0 100644 (file)
@@ -24,7 +24,7 @@ handlers, and then all rpmsg drivers will then just work
 (for more information about the virtio-based rpmsg bus and its drivers,
 please read Documentation/staging/rpmsg.rst).
 Registration of other types of virtio devices is now also possible. Firmwares
-just need to publish what kind of virtio devices do they support, and then
+just need to publish what kind of virtio devices they support, and then
 remoteproc will add those devices. This makes it possible to reuse the
 existing virtio drivers with remote processor backends at a minimal development
 cost.
index b0a519f456cfa37560a7ae97ce7c913724204d93..e8dc3a87c3817e2a6a55a7d5aa71d3f36e62585f 100644 (file)
@@ -90,7 +90,7 @@ out-of-line true branch. Thus, changing branch direction is expensive but
 branch selection is basically 'free'. That is the basic tradeoff of this
 optimization.
 
-This lowlevel patching mechanism is called 'jump label patching', and it gives
+This low-level patching mechanism is called 'jump label patching', and it gives
 the basis for the static keys facility.
 
 Static key label API, usage and examples