public inbox for smatch@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] doc: fix typos
@ 2024-10-16 15:49 Andrew Kreimer
  2024-10-16 15:49 ` [PATCH 2/2] scripts: " Andrew Kreimer
  2024-10-16 16:26 ` [PATCH 1/2] doc: " Dan Carpenter
  0 siblings, 2 replies; 3+ messages in thread
From: Andrew Kreimer @ 2024-10-16 15:49 UTC (permalink / raw)
  To: smatch; +Cc: Andrew Kreimer

Fix typos via codespell.

Signed-off-by: Andrew Kreimer <algonell@gmail.com>
---
 Documentation/arm64-detecting-tagged-addresses.txt | 2 +-
 Documentation/sparse-README.txt                    | 2 +-
 Documentation/sphinx/ir.py                         | 2 +-
 Documentation/types.rst                            | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/arm64-detecting-tagged-addresses.txt b/Documentation/arm64-detecting-tagged-addresses.txt
index 0f421c82..f9541b82 100644
--- a/Documentation/arm64-detecting-tagged-addresses.txt
+++ b/Documentation/arm64-detecting-tagged-addresses.txt
@@ -179,7 +179,7 @@ annotation - therefore it is not necessary to use the annotation in every
 function that do_mmap calls. When using this annotation smdb.py will filter
 out functions that carry a value which has been annotated as untagged. Please
 note that due to limitations in parameter tracking some annotations will be
-ignored and not propogated all the way down the call tree.
+ignored and not propagated all the way down the call tree.
 
 Finally, the following patch is required to add annotations to the Linux
 kernel:
diff --git a/Documentation/sparse-README.txt b/Documentation/sparse-README.txt
index 033ae15d..63f752b5 100644
--- a/Documentation/sparse-README.txt
+++ b/Documentation/sparse-README.txt
@@ -62,7 +62,7 @@ more requirements.  The user is free to do whatever he wants with the
 parse tree that got built up, and needs not worry about the library ever
 again.  There is no extra state, there are no parser callbacks, there is
 only the parse tree that is described by the header files. The action
-funtion takes a pointer to a symbol_list and does whatever it likes with it.
+function takes a pointer to a symbol_list and does whatever it likes with it.
 
 The library also contains (as an example user) a few clients that do the
 preprocessing, parsing and type evaluation and just print out the
diff --git a/Documentation/sphinx/ir.py b/Documentation/sphinx/ir.py
index 3028200a..c26b3716 100755
--- a/Documentation/sphinx/ir.py
+++ b/Documentation/sphinx/ir.py
@@ -24,7 +24,7 @@ import sphinx
 class IROpDirective(docutils.parsers.rst.Directive):
 
 	# use the first line of content as the argument, this allow
-	# to not have to write a blanck line after the directive
+	# to not have to write a blank line after the directive
 	final_argument_whitespace = True
 	required_argument = 0
 	#optional_arguments = 0
diff --git a/Documentation/types.rst b/Documentation/types.rst
index 974f9861..b7c97870 100644
--- a/Documentation/types.rst
+++ b/Documentation/types.rst
@@ -37,7 +37,7 @@ Some bits, also related to the type, are in struct symbol itself:
   attributes. It's also used internally to keep track of some states
   (MOD_ACCESS or MOD_ADDRESSABLE).
 * ``alignment`` is used for the alignment, in bytes.
-* ``contexts`` is used to store the informations associated with the
+* ``contexts`` is used to store the information associated with the
   attribute ``context()``.
 * ``as`` is used to hold the identifier of the attribute ``address_space()``.
 
-- 
2.39.5


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

* [PATCH 2/2] scripts: fix typos
  2024-10-16 15:49 [PATCH 1/2] doc: fix typos Andrew Kreimer
@ 2024-10-16 15:49 ` Andrew Kreimer
  2024-10-16 16:26 ` [PATCH 1/2] doc: " Dan Carpenter
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Kreimer @ 2024-10-16 15:49 UTC (permalink / raw)
  To: smatch; +Cc: Andrew Kreimer

Fix typos via codespell.

Signed-off-by: Andrew Kreimer <algonell@gmail.com>
---
 smatch_scripts/test_generic.sh | 4 ++--
 smatch_scripts/test_kernel.sh  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/smatch_scripts/test_generic.sh b/smatch_scripts/test_generic.sh
index 5006d469..9fbd1caf 100755
--- a/smatch_scripts/test_generic.sh
+++ b/smatch_scripts/test_generic.sh
@@ -9,10 +9,10 @@ function usage {
     echo "Usage:  $0 [smatch options]"
     echo "Compiles the kernel with -j${NR_CPU}"
     echo " available options:"
-    echo "	--endian          : enable endianess check"
+    echo "	--endian          : enable endianness check"
     echo "	--target {TARGET} : specify build target, default: $TARGET"
     echo "	--log {FILE}      : Output compile log to file, default is: $LOG"
-    echo "	--wlog {FILE}     : Output warnigs to file, default is: $WLOG"
+    echo "	--wlog {FILE}     : Output warnings to file, default is: $WLOG"
     echo "	--help            : Show this usage"
     exit 1
 }
diff --git a/smatch_scripts/test_kernel.sh b/smatch_scripts/test_kernel.sh
index 9a2a403f..9d25ce9c 100755
--- a/smatch_scripts/test_kernel.sh
+++ b/smatch_scripts/test_kernel.sh
@@ -11,10 +11,10 @@ function usage {
     echo "Usage:  $0 [smatch options]"
     echo "Compiles the kernel with -j${NR_CPU}"
     echo " available options:"
-    echo "	--endian          : enable endianess check"
+    echo "	--endian          : enable endianness check"
     echo "	--target {TARGET} : specify build target, default: $TARGET"
     echo "	--log {FILE}      : Output compile log to file, default is: $LOG"
-    echo "	--wlog {FILE}     : Output warnigs to file, default is: $WLOG"
+    echo "	--wlog {FILE}     : Output warnings to file, default is: $WLOG"
     echo "	--help            : Show this usage"
     exit 1
 }
-- 
2.39.5


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

* Re: [PATCH 1/2] doc: fix typos
  2024-10-16 15:49 [PATCH 1/2] doc: fix typos Andrew Kreimer
  2024-10-16 15:49 ` [PATCH 2/2] scripts: " Andrew Kreimer
@ 2024-10-16 16:26 ` Dan Carpenter
  1 sibling, 0 replies; 3+ messages in thread
From: Dan Carpenter @ 2024-10-16 16:26 UTC (permalink / raw)
  To: Andrew Kreimer; +Cc: smatch

On Wed, Oct 16, 2024 at 06:49:18PM +0300, Andrew Kreimer wrote:
> Fix typos via codespell.
> 
> Signed-off-by: Andrew Kreimer <algonell@gmail.com>
> ---
>  Documentation/arm64-detecting-tagged-addresses.txt | 2 +-
>  Documentation/sparse-README.txt                    | 2 +-
>  Documentation/sphinx/ir.py                         | 2 +-
>  Documentation/types.rst                            | 2 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)

Thanks!  I've applied both.

regards,
dan carpenter


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

end of thread, other threads:[~2024-10-16 16:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-16 15:49 [PATCH 1/2] doc: fix typos Andrew Kreimer
2024-10-16 15:49 ` [PATCH 2/2] scripts: " Andrew Kreimer
2024-10-16 16:26 ` [PATCH 1/2] doc: " Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox