Skip to content

Commit f394583

Browse files
unixbhaskarmasahir0y
authored andcommitted
scripts: modpost.c: Fix a few typos
s/agorithm/algorithm/ s/criterias/criteria/ s/targetting/targeting/ ....two different places. Signed-off-by: Bhaskar Chowdhury <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
1 parent 4475dff commit f394583

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/mod/modpost.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ struct symbol {
204204

205205
static struct symbol *symbolhash[SYMBOL_HASH_SIZE];
206206

207-
/* This is based on the hash agorithm from gdbm, via tdb */
207+
/* This is based on the hash algorithm from gdbm, via tdb */
208208
static inline unsigned int tdb_hash(const char *name)
209209
{
210210
unsigned value; /* Used to compute the hash value. */
@@ -987,20 +987,20 @@ enum mismatch {
987987
};
988988

989989
/**
990-
* Describe how to match sections on different criterias:
990+
* Describe how to match sections on different criteria:
991991
*
992992
* @fromsec: Array of sections to be matched.
993993
*
994994
* @bad_tosec: Relocations applied to a section in @fromsec to a section in
995995
* this array is forbidden (black-list). Can be empty.
996996
*
997997
* @good_tosec: Relocations applied to a section in @fromsec must be
998-
* targetting sections in this array (white-list). Can be empty.
998+
* targeting sections in this array (white-list). Can be empty.
999999
*
10001000
* @mismatch: Type of mismatch.
10011001
*
10021002
* @symbol_white_list: Do not match a relocation to a symbol in this list
1003-
* even if it is targetting a section in @bad_to_sec.
1003+
* even if it is targeting a section in @bad_to_sec.
10041004
*
10051005
* @handler: Specific handler to call when a match is found. If NULL,
10061006
* default_mismatch_handler() will be called.

0 commit comments

Comments
 (0)