diff mbox series

[03/24] Documentation: core-api: correct spelling

Message ID 20230209071400.31476-4-rdunlap@infradead.org (mailing list archive)
State Not Applicable
Headers show
Series Documentation: correct lots of spelling errors (series 1) | expand

Commit Message

Randy Dunlap Feb. 9, 2023, 7:13 a.m. UTC
Correct spelling problems for Documentation/core-api/ as reported
by codespell.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Vladimir Oltean <olteanv@gmail.com>
Cc: netdev@vger.kernel.org
Cc: Steffen Klassert <steffen.klassert@secunet.com>
Cc: Daniel Jordan <daniel.m.jordan@oracle.com>
Cc: linux-crypto@vger.kernel.org
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Reviewed-by: Mukesh Ojha <quic_mojha@quicinc.com>
---
 Documentation/core-api/packing.rst |    2 +-
 Documentation/core-api/padata.rst  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Daniel Jordan Feb. 9, 2023, 3:20 p.m. UTC | #1
On Wed, Feb 08, 2023 at 11:13:39PM -0800, Randy Dunlap wrote:
> Correct spelling problems for Documentation/core-api/ as reported
> by codespell.
> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Vladimir Oltean <olteanv@gmail.com>
> Cc: netdev@vger.kernel.org
> Cc: Steffen Klassert <steffen.klassert@secunet.com>
> Cc: Daniel Jordan <daniel.m.jordan@oracle.com>
> Cc: linux-crypto@vger.kernel.org
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: linux-doc@vger.kernel.org
> Reviewed-by: Mukesh Ojha <quic_mojha@quicinc.com>

Acked-by: Daniel Jordan <daniel.m.jordan@oracle.com>

> ---
>  Documentation/core-api/packing.rst |    2 +-
>  Documentation/core-api/padata.rst  |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff -- a/Documentation/core-api/packing.rst b/Documentation/core-api/packing.rst
> --- a/Documentation/core-api/packing.rst
> +++ b/Documentation/core-api/packing.rst
> @@ -161,6 +161,6 @@ xxx_packing() that calls it using the pr
>  
>  The packing() function returns an int-encoded error code, which protects the
>  programmer against incorrect API use.  The errors are not expected to occur
> -durring runtime, therefore it is reasonable for xxx_packing() to return void
> +during runtime, therefore it is reasonable for xxx_packing() to return void
>  and simply swallow those errors. Optionally it can dump stack or print the
>  error description.
> diff -- a/Documentation/core-api/padata.rst b/Documentation/core-api/padata.rst
> --- a/Documentation/core-api/padata.rst
> +++ b/Documentation/core-api/padata.rst
> @@ -42,7 +42,7 @@ padata_shells associated with it, each a
>  Modifying cpumasks
>  ------------------
>  
> -The CPUs used to run jobs can be changed in two ways, programatically with
> +The CPUs used to run jobs can be changed in two ways, programmatically with
>  padata_set_cpumask() or via sysfs.  The former is defined::
>  
>      int padata_set_cpumask(struct padata_instance *pinst, int cpumask_type,
Jakub Kicinski Feb. 11, 2023, 12:26 a.m. UTC | #2
On Wed,  8 Feb 2023 23:13:39 -0800 Randy Dunlap wrote:
>  Documentation/core-api/packing.rst |    2 +-
>  Documentation/core-api/padata.rst  |    2 +-

I think these go to different trees (crypto vs netdev)
diff mbox series

Patch

diff -- a/Documentation/core-api/packing.rst b/Documentation/core-api/packing.rst
--- a/Documentation/core-api/packing.rst
+++ b/Documentation/core-api/packing.rst
@@ -161,6 +161,6 @@  xxx_packing() that calls it using the pr
 
 The packing() function returns an int-encoded error code, which protects the
 programmer against incorrect API use.  The errors are not expected to occur
-durring runtime, therefore it is reasonable for xxx_packing() to return void
+during runtime, therefore it is reasonable for xxx_packing() to return void
 and simply swallow those errors. Optionally it can dump stack or print the
 error description.
diff -- a/Documentation/core-api/padata.rst b/Documentation/core-api/padata.rst
--- a/Documentation/core-api/padata.rst
+++ b/Documentation/core-api/padata.rst
@@ -42,7 +42,7 @@  padata_shells associated with it, each a
 Modifying cpumasks
 ------------------
 
-The CPUs used to run jobs can be changed in two ways, programatically with
+The CPUs used to run jobs can be changed in two ways, programmatically with
 padata_set_cpumask() or via sysfs.  The former is defined::
 
     int padata_set_cpumask(struct padata_instance *pinst, int cpumask_type,