doc: fix typos
Subsystems (2)
PATCH 1/2 doc: fix typos
Fix typos via codespell.
Signed-off-by Andrew Kreimer <[email protected]>
--- 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(-)
Documentation/arm64-detecting-tagged-addresses.txt +1 -1
@@ -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:
Documentation/sparse-README.txt +1 -1
@@ -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
Documentation/sphinx/ir.py +1 -1
@@ -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
Documentation/types.rst +1 -1
@@ -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()``.
Signature · 1 line
2.39.5
PATCH 2/2 scripts: fix typos
Fix typos via codespell.
Signed-off-by Andrew Kreimer <[email protected]>
--- smatch_scripts/test_generic.sh | 4 ++-- smatch_scripts/test_kernel.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
smatch_scripts/test_generic.sh +2 -2
@@ -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 }
smatch_scripts/test_kernel.sh +2 -2
@@ -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 }
Signature · 1 line
2.39.5
Quoted 9 lines · Andrew Kreimer
Fix typos via codespell.
Signed-off-by Andrew Kreimer <[email protected]>--- 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