diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2019-05-31 18:48:45 -0400 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-05-31 18:48:45 -0400 |
| commit | 24e8a2ca1f74574ad2ed1ac7af0260dd90fd911e (patch) | |
| tree | c863dd43c84579d853f3a2ae0ee6ead46c967703 /scripts/checkpatch.pl | |
| parent | 66f61c92889ff3ca365161fb29dd36d6354682ba (diff) | |
| parent | d724c9e54939a597592de3659541da11fc7aa112 (diff) | |
Merge tag 'kvm-ppc-fixes-5.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc into kvm-master
PPC KVM fixes for 5.2
- Several bug fixes for the new XIVE-native code.
- Replace kvm->lock by other mutexes in several places where we hold a
vcpu mutex, to avoid lock order inversions.
- Fix a lockdep warning on guest entry for radix-mode guests.
- Fix a bug causing user-visible corruption of SPRG3 on the host.
Diffstat (limited to 'scripts/checkpatch.pl')
| -rwxr-xr-x | scripts/checkpatch.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index bb28b178d929..342c7c781ba5 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
| @@ -3027,7 +3027,7 @@ sub process { | |||
| 3027 | my @compats = $rawline =~ /\"([a-zA-Z0-9\-\,\.\+_]+)\"/g; | 3027 | my @compats = $rawline =~ /\"([a-zA-Z0-9\-\,\.\+_]+)\"/g; |
| 3028 | 3028 | ||
| 3029 | my $dt_path = $root . "/Documentation/devicetree/bindings/"; | 3029 | my $dt_path = $root . "/Documentation/devicetree/bindings/"; |
| 3030 | my $vp_file = $dt_path . "vendor-prefixes.txt"; | 3030 | my $vp_file = $dt_path . "vendor-prefixes.yaml"; |
| 3031 | 3031 | ||
| 3032 | foreach my $compat (@compats) { | 3032 | foreach my $compat (@compats) { |
| 3033 | my $compat2 = $compat; | 3033 | my $compat2 = $compat; |
| @@ -3042,7 +3042,7 @@ sub process { | |||
| 3042 | 3042 | ||
| 3043 | next if $compat !~ /^([a-zA-Z0-9\-]+)\,/; | 3043 | next if $compat !~ /^([a-zA-Z0-9\-]+)\,/; |
| 3044 | my $vendor = $1; | 3044 | my $vendor = $1; |
| 3045 | `grep -Eq "^$vendor\\b" $vp_file`; | 3045 | `grep -Eq "\\"\\^\Q$vendor\E,\\.\\*\\":" $vp_file`; |
| 3046 | if ( $? >> 8 ) { | 3046 | if ( $? >> 8 ) { |
| 3047 | WARN("UNDOCUMENTED_DT_STRING", | 3047 | WARN("UNDOCUMENTED_DT_STRING", |
| 3048 | "DT compatible string vendor \"$vendor\" appears un-documented -- check $vp_file\n" . $herecurr); | 3048 | "DT compatible string vendor \"$vendor\" appears un-documented -- check $vp_file\n" . $herecurr); |
