Without these files each patch is flagged with these errors providing no value and swamping actually found warnings and errors: ● xxxxxxxxxxxx: commit title ● checkpatch.pl: No typos will be found - file '.../kvm-unit-tests/scripts/spelling.txt': No such file or directory ● checkpatch.pl: No structs that should be const will be found - file '.../kvm-unit-tests/scripts/const_structs.checkpatch': No such file or directory Fixes: 846737f068d9 ("checkpatch support") Signed-off-by: Christoph Schlameuss Reviewed-by: Thomas Huth --- scripts/const_structs.checkpatch | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/const_structs.checkpatch b/scripts/const_structs.checkpatch new file mode 100644 index 000000000000..6d9ce1d891bc --- /dev/null +++ b/scripts/const_structs.checkpatch @@ -0,0 +1 @@ +virtio_config_ops -- 2.53.0 Provide a codespell config to actually let it do something. Obviously codespell is not happy about the addition of these misspellings here. Signed-off-by: Christoph Schlameuss --- scripts/spelling.txt | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/scripts/spelling.txt b/scripts/spelling.txt new file mode 100644 index 000000000000..2a5b6195ed21 --- /dev/null +++ b/scripts/spelling.txt @@ -0,0 +1,34 @@ +# The format of each line is: +# mistake||correction +cpuuid||cpuid +daig||diag +epws||epsw +hcal||hcall +hypercal||hypercall +kmv||kvm +locore||lowcore +lowcor||lowcore +mmmu||mmu +pagetabl||pagetable +pgtabl||pgtable +pmcww||pmcw +qemsystem||qemusystem +quemu||qemu +rdsmr||rdmsr +sapr||spapr +schipp||schib +scsww||scsw +sipg||sigp +slcp||sclp +sppar||spapr +stiss||stsi +subchanell||subchannel +subchanel||subchannel +syscal||syscall +timbase||timebase +timeabse||timebase +tlbb||tlb +virito||virtio +vmbc||vmcb +vmsc||vmcs +wrsmr||wrmsr -- 2.53.0 b4 by default calls the get_maintainer.pl script with the '--nogit-chief-penguins' option letting the 'b4 prep --auto-to-cc' fail. Adding parsing of that option without any related functionality to allow simple usage of b4 in the development workflow. Signed-off-by: Christoph Schlameuss --- Sorry, I am not too versed with perl, so if there are better ways to fix this please comment. --- scripts/get_maintainer.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index 117b69145f0e..4d4ff4236f2f 100755 --- a/scripts/get_maintainer.pl +++ b/scripts/get_maintainer.pl @@ -31,6 +31,7 @@ my $email_fixes = 1; my $email_list = 1; my $email_moderated_list = 1; my $email_subscriber_list = 0; +my $email_git_penguin_chiefs = 0; my $email_git = 0; my $email_git_all_signature_types = 0; my $email_git_blame = 0; @@ -228,6 +229,7 @@ if (!GetOptions( 'git-blame!' => \$email_git_blame, 'git-blame-signatures!' => \$email_git_blame_signatures, 'git-fallback!' => \$email_git_fallback, + 'git-chief-penguins!' => \$email_git_penguin_chiefs, 'git-min-signatures=i' => \$email_git_min_signatures, 'git-max-maintainers=i' => \$email_git_max_maintainers, 'git-min-percent=i' => \$email_git_min_percent, -- 2.53.0 b4.send-prefixes adds the prefixes when creating a new patch series. Signed-off-by: Christoph Schlameuss --- .b4-config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.b4-config b/.b4-config new file mode 100644 index 000000000000..b780cc3d4e6f --- /dev/null +++ b/.b4-config @@ -0,0 +1,2 @@ +[b4] +send-prefixes = kvm-unit-tests -- 2.53.0