Skip to contentSkip to conversation

docs: livepatch: Fix a typo and remove the unnecessary gaps in a sentence

PATCH In review Bhaskar Chowdhury 5 participants 6 messages Mar 5, 2021 – Mar 9, 2021

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

PATCH v2 1/1 docs: livepatch: Fix a typo and remove the unnecessary gaps in a sentence

s/varibles/variables/

...and remove leading spaces from a sentence.

---
Changes from V1:
Pter pointed out some awkward leading space in a sentence ,fixed it.

 Documentation/livepatch/shadow-vars.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/livepatch/shadow-vars.rst +2 -2
index c05715aeafa4..2ee114a91a35 100644
@@ -165,8 +165,8 @@ In-flight parent objects
 
 Sometimes it may not be convenient or possible to allocate shadow
 variables alongside their parent objects.  Or a livepatch fix may
-require shadow varibles to only a subset of parent object instances.  In
-these cases, the klp_shadow_get_or_alloc() call can be used to attach
+require shadow variables to only a subset of parent object instances.
+In these cases, the klp_shadow_get_or_alloc() call can be used to attach
 shadow variables to parents already in-flight.
 
 For commit 1d147bfa6429, a good spot to allocate a shadow spinlock is

--
2.20.1

#1 lore raw
Quoted 3 lines · Bhaskar Chowdhury

s/varibles/variables/

...and remove leading spaces from a sentence.

What do you mean 'leading spaces'? Separating two sentences with one space or two is a matter of personal style, and we do not attempt to enforce a particular style in the kernel.

Documentation/livepatch/shadow-vars.rst In-flight parent objects · line 168

Quoted 4 lines

Sometimes it may not be convenient or possible to allocate shadow variables alongside their parent objects. Or a livepatch fix may

Documentation/livepatch/shadow-vars.rst +1 -1
-require shadow varibles to only a subset of parent object instances.  In
+require shadow variables to only a subset of parent object instances.

wrong preposition, s/to/for/

#2 lore raw
Quoted 9 lines · Matthew Wilcox
Quoted 3 lines · Bhaskar Chowdhury

s/varibles/variables/

...and remove leading spaces from a sentence.

What do you mean 'leading spaces'? Separating two sentences with one space or two is a matter of personal style, and we do not attempt to enforce a particular style in the kernel.

The spaces before the "In" .. nor I am imposing anything , it was peter caught and told me that it is hanging ..move it to the next line ..so I did. ..

Quoted 6 lines

Documentation/livepatch/shadow-vars.rst In-flight parent objects · line 168

Quoted 4 lines

Sometimes it may not be convenient or possible to allocate shadow variables alongside their parent objects. Or a livepatch fix may

Documentation/livepatch/shadow-vars.rst +1 -1
-require shadow varibles to only a subset of parent object instances.  In
+require shadow variables to only a subset of parent object instances.

wrong preposition, s/to/for/ ..where???

maintainer Acked-by
#3 lore raw
Quoted 4 lines · Bhaskar Chowdhury
Quoted 3 lines · Matthew Wilcox
Quoted 2 lines · Bhaskar Chowdhury

s/varibles/variables/

Quoted 9 lines
Quoted 6 lines
Quoted 1 line

...and remove leading spaces from a sentence.

What do you mean 'leading spaces'? Separating two sentences with one space or two is a matter of personal style, and we do not attempt to enforce a particular style in the kernel.

The spaces before the "In" .. nor I am imposing anything , it was peter caught and told me that it is hanging ..move it to the next line ..so I did. ..

Initially I thought the same as Matthew, but after inspecting the diff I realized it was just a line wrap. Looks fine to me.

Quoted 6 lines
Quoted 6 lines

Documentation/livepatch/shadow-vars.rst In-flight parent objects · line 168

Quoted 4 lines

Sometimes it may not be convenient or possible to allocate shadow variables alongside their parent objects. Or a livepatch fix may

Documentation/livepatch/shadow-vars.rst +1 -1
-require shadow varibles to only a subset of parent object instances.  In
+require shadow variables to only a subset of parent object instances.

wrong preposition, s/to/for/ ..where???

Hi Bhaskar,

Thanks for spotting, I'd be happy with v2 as is or a v3 if you want to update s/shadow variables to only/shadow variables for only/ but knowing me, I probably repeated the same phrasing elsewhere. Up to you, thanks.

-- Joe

maintainer Acked-by
#4 lore raw
Quoted 25 lines · Joe Lawrence
Quoted 4 lines · Bhaskar Chowdhury
Quoted 3 lines · Matthew Wilcox
Quoted 2 lines · Bhaskar Chowdhury

s/varibles/variables/

Quoted 9 lines
Quoted 6 lines
Quoted 1 line

...and remove leading spaces from a sentence.

What do you mean 'leading spaces'? Separating two sentences with one space or two is a matter of personal style, and we do not attempt to enforce a particular style in the kernel.

The spaces before the "In" .. nor I am imposing anything , it was peter caught and told me that it is hanging ..move it to the next line ..so I did. ..

Initially I thought the same as Matthew, but after inspecting the diff I realized it was just a line wrap. Looks fine to me.

Quoted 6 lines
Quoted 6 lines

Documentation/livepatch/shadow-vars.rst In-flight parent objects · line 168

Quoted 4 lines

Sometimes it may not be convenient or possible to allocate shadow variables alongside their parent objects. Or a livepatch fix may

Documentation/livepatch/shadow-vars.rst +1 -1
-require shadow varibles to only a subset of parent object instances.  In
+require shadow variables to only a subset of parent object instances.

wrong preposition, s/to/for/ ..where???

Quoted 5 lines

Hi Bhaskar,

Thanks for spotting, I'd be happy with v2 as is or a v3 if you want to update s/shadow variables to only/shadow variables for only/ but knowing me, I probably repeated the same phrasing elsewhere. Up to you, thanks.

I could fix these when pushing unless anyone is against it.

Quoted 1 line

Best Regards,
Petr

maintainer
#5 lore raw
In reply to Bhaskar Chowdhury
Quoted 11 lines · Bhaskar Chowdhury

s/varibles/variables/

...and remove leading spaces from a sentence.

---
Changes from V1:
Pter pointed out some awkward leading space in a sentence ,fixed it.

 Documentation/livepatch/shadow-vars.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

I've applied this, poking in the suggested prepositional tweak in the process.

Thanks,

jon