Re: [PATCH 2/5] docs: fix repeated word 'that' across documentation
Shuah Khan <[email protected]>
| Newsgroups | dev.linux.lists.netfs,dev.linux.lists.driver-core,org.kernel.vger.linux-doc,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-trace-kernel,org.kernel.vger.rcu |
|---|---|
| Message-ID | <[email protected]> |
On 5/8/26 10:37, Adrien Reynard wrote: Missing commit log in all your patches - I don't patch 1/5 in my Inbox. > Signed-off-by: Adrien Reynard <[email protected]> > --- > Documentation/RCU/rcu.rst | 2 +- > Documentation/driver-api/driver-model/overview.rst | 2 +- > Documentation/filesystems/netfs_library.rst | 2 +- > Documentation/trace/histogram-design.rst | 2 +- > Documentation/trace/histogram.rst | 2 +- > 5 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/Documentation/RCU/rcu.rst b/Documentation/RCU/rcu.rst > index bf6617b330a7..320ad3292b75 100644 > --- a/Documentation/RCU/rcu.rst > +++ b/Documentation/RCU/rcu.rst > @@ -32,7 +32,7 @@ Frequently Asked Questions > Just as with spinlocks, RCU readers are not permitted to > block, switch to user-mode execution, or enter the idle loop. > Therefore, as soon as a CPU is seen passing through any of these > - three states, we know that that CPU has exited any previous RCU > + three states, we know that CPU has exited any previous RCU The original intent might have been to say, "that cpu", so adding the missing comma after the first "that" or change "that" to "the" would make sense. > read-side critical sections. So, if we remove an item from a > linked list, and then wait until all CPUs have switched context, > executed in user mode, or executed in the idle loop, we can > diff --git a/Documentation/driver-api/driver-model/overview.rst b/Documentation/driver-api/driver-model/overview.rst > index b3f447bf9f07..c1966d506d55 100644 > --- a/Documentation/driver-api/driver-model/overview.rst > +++ b/Documentation/driver-api/driver-model/overview.rst > @@ -55,7 +55,7 @@ struct pci_dev now looks like this:: > Note first that the struct device dev within the struct pci_dev is > statically allocated. This means only one allocation on device discovery. > > -Note also that that struct device dev is not necessarily defined at the > +Note also that struct device dev is not necessarily defined at the Sam comment here, replace "that" with "the" or add missing comma > front of the pci_dev structure. This is to make people think about what > they're doing when switching between the bus driver and the global driver, > and to discourage meaningless and incorrect casts between the two. > diff --git a/Documentation/filesystems/netfs_library.rst b/Documentation/filesystems/netfs_library.rst > index ddd799df6ce3..4033de4535ac 100644 > --- a/Documentation/filesystems/netfs_library.rst > +++ b/Documentation/filesystems/netfs_library.rst > @@ -626,7 +626,7 @@ A number of members are available for access/use by the filesystem: > > These are set by the filesystem or the cache in ->prepare_read() or > ->prepare_write() for each subrequest to indicate the maximum number of > - bytes and, optionally, the maximum number of segments (if not 0) that that > + bytes and, optionally, the maximum number of segments (if not 0) that Same here. > subrequest can support. > > * ``submit_extendable_to`` > diff --git a/Documentation/trace/histogram-design.rst b/Documentation/trace/histogram-design.rst > index e92f56ebd0b5..949bbfdb0f16 100644 > --- a/Documentation/trace/histogram-design.rst > +++ b/Documentation/trace/histogram-design.rst > @@ -738,7 +738,7 @@ creates its own variable, wakeup_lat, but nothing yet uses it:: > > Looking at the sched_waking 'hist_debug' output, in addition to the > normal key and value hist_fields, in the val fields section we see a > -field with the HIST_FIELD_FL_VAR flag, which indicates that that field > +field with the HIST_FIELD_FL_VAR flag, which indicates that field Same here > represents a variable. Note that in addition to the variable name, > contained in the var.name field, it includes the var.idx, which is the > index into the tracing_map_elt.vars[] array of the actual variable > diff --git a/Documentation/trace/histogram.rst b/Documentation/trace/histogram.rst > index 340bcb5099e7..5b303fabdf32 100644 > --- a/Documentation/trace/histogram.rst > +++ b/Documentation/trace/histogram.rst > @@ -1700,7 +1700,7 @@ to that rule is that any variable used in an expression is essentially > 'read-once' - once it's used by an expression in a subsequent event, > it's reset to its 'unset' state, which means it can't be used again > unless it's set again. This ensures not only that an event doesn't > -use an uninitialized variable in a calculation, but that that variable > +use an uninitialized variable in a calculation, but that variable Same here > is used only once and not for any unrelated subsequent match. > > The basic syntax for saving a variable is to simply prefix a unique thanks, -- Shuah