live-patching.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2] docs: livepatch: Fix a typo and remove the unnecessary gaps in a sentence
@ 2021-03-05 10:09 Bhaskar Chowdhury
  2021-03-05 12:56 ` Matthew Wilcox
  2021-03-09  0:26 ` Jonathan Corbet
  0 siblings, 2 replies; 6+ messages in thread
From: Bhaskar Chowdhury @ 2021-03-05 10:09 UTC (permalink / raw)
  To: jpoimboe, jikos, mbenes, pmladek, joe.lawrence, corbet,
	live-patching, linux-doc, linux-kernel
  Cc: rdunlap, Bhaskar Chowdhury

s/varibles/variables/

...and remove leading spaces from a sentence.

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
 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(-)

diff --git a/Documentation/livepatch/shadow-vars.rst b/Documentation/livepatch/shadow-vars.rst
index c05715aeafa4..2ee114a91a35 100644
--- a/Documentation/livepatch/shadow-vars.rst
+++ b/Documentation/livepatch/shadow-vars.rst
@@ -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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH V2] docs: livepatch: Fix a typo and remove the unnecessary gaps in a sentence
  2021-03-05 10:09 [PATCH V2] docs: livepatch: Fix a typo and remove the unnecessary gaps in a sentence Bhaskar Chowdhury
@ 2021-03-05 12:56 ` Matthew Wilcox
  2021-03-05 13:37   ` Bhaskar Chowdhury
  2021-03-09  0:26 ` Jonathan Corbet
  1 sibling, 1 reply; 6+ messages in thread
From: Matthew Wilcox @ 2021-03-05 12:56 UTC (permalink / raw)
  To: Bhaskar Chowdhury
  Cc: jpoimboe, jikos, mbenes, pmladek, joe.lawrence, corbet,
	live-patching, linux-doc, linux-kernel, rdunlap

On Fri, Mar 05, 2021 at 03:39:23PM +0530, Bhaskar Chowdhury wrote:
> 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.

>  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
> +require shadow variables to only a subset of parent object instances.

wrong preposition, s/to/for/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH V2] docs: livepatch: Fix a typo and remove the unnecessary gaps in a sentence
  2021-03-05 12:56 ` Matthew Wilcox
@ 2021-03-05 13:37   ` Bhaskar Chowdhury
  2021-03-05 16:00     ` Joe Lawrence
  0 siblings, 1 reply; 6+ messages in thread
From: Bhaskar Chowdhury @ 2021-03-05 13:37 UTC (permalink / raw)
  To: Matthew Wilcox
  Cc: jpoimboe, jikos, mbenes, pmladek, joe.lawrence, corbet,
	live-patching, linux-doc, linux-kernel, rdunlap

[-- Attachment #1: Type: text/plain, Size: 871 bytes --]

On 12:56 Fri 05 Mar 2021, Matthew Wilcox wrote:
>On Fri, Mar 05, 2021 at 03:39:23PM +0530, Bhaskar Chowdhury wrote:
>> 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. ..

>>  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
>> +require shadow variables to only a subset of parent object instances.
>
>wrong preposition, s/to/for/    ..where???

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH V2] docs: livepatch: Fix a typo and remove the unnecessary gaps in a sentence
  2021-03-05 13:37   ` Bhaskar Chowdhury
@ 2021-03-05 16:00     ` Joe Lawrence
  2021-03-08 10:18       ` Petr Mladek
  0 siblings, 1 reply; 6+ messages in thread
From: Joe Lawrence @ 2021-03-05 16:00 UTC (permalink / raw)
  To: Bhaskar Chowdhury, Matthew Wilcox, jpoimboe, jikos, mbenes,
	pmladek, corbet, live-patching, linux-doc, linux-kernel, rdunlap

On 3/5/21 8:37 AM, Bhaskar Chowdhury wrote:
> On 12:56 Fri 05 Mar 2021, Matthew Wilcox wrote:
>> On Fri, Mar 05, 2021 at 03:39:23PM +0530, Bhaskar Chowdhury wrote:
>>> 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. ..
> 

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

>>>   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
>>> +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.

Acked-by: Joe Lawrence <joe.lawrence@redhat.com>

-- Joe


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH V2] docs: livepatch: Fix a typo and remove the unnecessary gaps in a sentence
  2021-03-05 16:00     ` Joe Lawrence
@ 2021-03-08 10:18       ` Petr Mladek
  0 siblings, 0 replies; 6+ messages in thread
From: Petr Mladek @ 2021-03-08 10:18 UTC (permalink / raw)
  To: Joe Lawrence
  Cc: Bhaskar Chowdhury, Matthew Wilcox, jpoimboe, jikos, mbenes,
	corbet, live-patching, linux-doc, linux-kernel, rdunlap

On Fri 2021-03-05 11:00:10, Joe Lawrence wrote:
> On 3/5/21 8:37 AM, Bhaskar Chowdhury wrote:
> > On 12:56 Fri 05 Mar 2021, Matthew Wilcox wrote:
> > > On Fri, Mar 05, 2021 at 03:39:23PM +0530, Bhaskar Chowdhury wrote:
> > > > 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. ..
> > 
> 
> Initially I thought the same as Matthew, but after inspecting the diff I
> realized it was just a line wrap.  Looks fine to me.
> 
> > > >   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
> > > > +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.

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

> Acked-by: Joe Lawrence <joe.lawrence@redhat.com>

Acked-by: Petr Mladek <pmladek@suse.com>

Best Regards,
Petr

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH V2] docs: livepatch: Fix a typo and remove the unnecessary gaps in a sentence
  2021-03-05 10:09 [PATCH V2] docs: livepatch: Fix a typo and remove the unnecessary gaps in a sentence Bhaskar Chowdhury
  2021-03-05 12:56 ` Matthew Wilcox
@ 2021-03-09  0:26 ` Jonathan Corbet
  1 sibling, 0 replies; 6+ messages in thread
From: Jonathan Corbet @ 2021-03-09  0:26 UTC (permalink / raw)
  To: Bhaskar Chowdhury, jpoimboe, jikos, mbenes, pmladek,
	joe.lawrence, live-patching, linux-doc, linux-kernel
  Cc: rdunlap, Bhaskar Chowdhury

Bhaskar Chowdhury <unixbhaskar@gmail.com> writes:

> s/varibles/variables/
>
> ...and remove leading spaces from a sentence.
>
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
> ---
>  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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-03-09  0:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-05 10:09 [PATCH V2] docs: livepatch: Fix a typo and remove the unnecessary gaps in a sentence Bhaskar Chowdhury
2021-03-05 12:56 ` Matthew Wilcox
2021-03-05 13:37   ` Bhaskar Chowdhury
2021-03-05 16:00     ` Joe Lawrence
2021-03-08 10:18       ` Petr Mladek
2021-03-09  0:26 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).