]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - scripts/checkpatch.pl
checkpatch: make utf-8 test --strict
[~shefty/rdma-dev.git] / scripts / checkpatch.pl
index 05777ab818f1364ca07594573635bd2fe75bc87b..8dd720ac0069be8d10ee9d8cca1ce28b9f8d19c9 100755 (executable)
@@ -1609,8 +1609,8 @@ sub process {
                        my $ptr = substr($blank, 0, length($utf8_prefix)) . "^";
                        my $hereptr = "$hereline$ptr\n";
 
-                       ERROR("INVALID_UTF8",
-                             "Invalid UTF-8, patch and commit message should be encoded in UTF-8\n" . $hereptr);
+                       CHK("INVALID_UTF8",
+                           "Invalid UTF-8, patch and commit message should be encoded in UTF-8\n" . $hereptr);
                }
 
 # ignore non-hunk lines and lines being removed