VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> 2021-05-18 11:05:26 +0200 committer: Julia Lawall <Julia.Lawall@inria.fr> 2021-05-18 11:09:59 +0200 commit: f5b3553b5019f22ac668651ea9cddb9fa675ac41 parent: aeb300c1dbfc77b493728f608dd14d6814676546
Commit Summary:
scripts: coccicheck: fix troubles on non-English builds
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/scripts/coccicheck b/scripts/coccicheck
index 65fee63aeadb..caba0bff6da7 100755
--- a/scripts/coccicheck
+++ b/scripts/coccicheck
@@ -87,7 +87,7 @@ else
     fi
 
     # Use only one thread per core by default if hyperthreading is enabled
-    THREADS_PER_CORE=$(lscpu | grep "Thread(s) per core: " | tr -cd "[:digit:]")
+    THREADS_PER_CORE=$(LANG=C lscpu | grep "Thread(s) per core: " | tr -cd "[:digit:]")
     if [ -z "$J" ]; then
         NPROC=$(getconf _NPROCESSORS_ONLN)
 	if [ $THREADS_PER_CORE -gt 1 -a $NPROC -gt 4 ] ; then