Skip to content

Commit

Permalink
kernel_patch_verify: Add codespell
Browse files Browse the repository at this point in the history
Add codespell to the checkers so that we can have some level of error
correction in the code documentation as well.

Signed-off-by: Nishanth Menon <nm@ti.com>
  • Loading branch information
nmenon committed Jun 18, 2024
1 parent 471f35a commit 3f26080
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel_patch_verify
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ DEF_V8_CROSS_COMPILE="$ccache aarch64-none-linux-gnu-"
DEF_V8_BUILDTARGETS="Image dtbs"

# Default parameters
APPS_NEEDED="perl make dtc sparse patch git realpath basename"
APPS_NEEDED="perl make dtc sparse patch git realpath basename codespell"

# Use all max num CPUs
DEF_CPUS=$(grep -c '^processor' /proc/cpuinfo)
Expand Down Expand Up @@ -138,7 +138,7 @@ ptest_am() {
}

ptest_check() {
( "$KDIR"/scripts/checkpatch.pl --strict "$1" --max-line-length="$LINE_LENGTH" |grep -v "$(basename "$1")" |grep -v '^$'|grep -v '^total'|grep -v '^NOTE:' )1>&2
( "$KDIR"/scripts/checkpatch.pl --codespell --strict "$1" --max-line-length="$LINE_LENGTH" |grep -v "$(basename "$1")" |grep -v '^$'|grep -v '^total'|grep -v '^NOTE:' )1>&2
}

###################
Expand Down

0 comments on commit 3f26080

Please sign in to comment.