public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Ryszard Knop <ryszard.knop@linux.intel.com>
To: edk2-devel@lists.01.org, "Philippe Mathieu-Daudé" <philmd@redhat.com>
Cc: Antoine Coeur <Coeur@gmx.fr>, Laszlo Ersek <lersek@redhat.com>
Subject: Re: [PATCH] CryptoPkg: Fix various typos
Date: Thu, 07 Feb 2019 14:04:03 +0100	[thread overview]
Message-ID: <2bf54b577aeef2a5529b3880d4d74e361f8a2089.camel@linux.intel.com> (raw)
In-Reply-To: <280bb5d0-e01c-022e-6a02-6b744f61f28d@redhat.com>

Hi Philippe, Antoine,

On Wed, 2019-02-06 at 23:30 +0100, Philippe Mathieu-Daudé wrote:
> Hi Antoine,
> 
> On 2/6/19 6:24 PM, Antoine Coeur wrote:
> > Fix various typos in CryptoPkg.
> > 
> > Contributed-under: TianoCore Contribution Agreement 1.1
> > Signed-off-by: Coeur <coeur@gmx.fr>
> > ---
> >  CryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c         | 2 +-
> >  CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c | 4 ++--
> >  2 files changed, 3 insertions(+), 3 deletions(-)
> > 
> > diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c
> > b/CryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c
> > index d63c23df09..540c5715cb 100644
> > --- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c
> > +++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c
> > @@ -142,7 +142,7 @@ IMPLEMENT_ASN1_FUNCTIONS (TS_TST_INFO)
> >    @param[in]  Asn1Time         Pointer to the ASN.1
> > GeneralizedTime to be converted.
> >    @param[out] SigningTime      Return the corresponding EFI Time.
> >  
> > -  @retval  TRUE   The time convertion succeeds.
> > +  @retval  TRUE   The time conversion succeeds.
> 
> The typos are indeed fixed, so:
> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
> 
> However reading this description makes me suspicious, I'd have
> written
> "The time convertion succeeded.", but I'm not native English speaker
> so
> I'll let someone with more insurance opinate.

I'm not a native speaker either, but I'd write "conversion" as well.
(Like revert -> reversion, subvert -> subversion, avert -> aversion,
and so on.)

> 
> Regards,
> 
> Phil.
> 
> >    @retval  FALSE  Invalid parameters.
> >  
> >  **/
> > diff --git a/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c
> > b/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c
> > index 9510a4a383..929e3fcd1e 100644
> > --- a/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c
> > +++ b/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c
> > @@ -84,14 +84,14 @@ QuickSortWorker (
> >      }
> >    }
> >    //
> > -  // Swap pivot to it's final position (NextSwapLocaiton)
> > +  // Swap pivot to it's final position (NextSwapLocation)
> >    //
> >    CopyMem (Buffer, Pivot, ElementSize);
> >    CopyMem (Pivot, (UINT8 *)BufferToSort + (NextSwapLocation *
> > ElementSize), ElementSize);
> >    CopyMem ((UINT8 *)BufferToSort + (NextSwapLocation *
> > ElementSize), Buffer, ElementSize);
> >  
> >    //
> > -  // Now recurse on 2 paritial lists.  Neither of these will have
> > the 'pivot' element.
> > +  // Now recurse on 2 partial lists.  Neither of these will have
> > the 'pivot' element.
> >    // IE list is sorted left half, pivot element, sorted right
> > half...
> >    //
> >    QuickSortWorker (
> > 
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel



  reply	other threads:[~2019-02-07 13:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-06 17:24 [PATCH] CryptoPkg: Fix various typos Antoine Coeur
2019-02-06 22:30 ` Philippe Mathieu-Daudé
2019-02-07 13:04   ` Ryszard Knop [this message]
2019-02-07 14:59     ` Philippe Mathieu-Daudé
2019-02-07 17:05       ` Antoine Coeur
2019-02-07 19:45       ` Laszlo Ersek
2019-02-07  6:25 ` Wang, Jian J

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2bf54b577aeef2a5529b3880d4d74e361f8a2089.camel@linux.intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox