diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-11-28 14:27:28 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-11-28 14:55:21 +0100 |
| commit | ac93d7e1d83ffac19983e9d754a47e7808f1230e (patch) | |
| tree | 3fa594e98d47bd7e23d64594e196bc6c6a4bf408 /sys/linux/kvm.txt | |
| parent | afba0b55e6d3692ac33c71553cb4cf61fc6a53e4 (diff) | |
pkg/compiler: add check that len does not refer to array with varlen elements
This [almost] always means a bug in descriptions.
Fix all bugs identified by the check.
Diffstat (limited to 'sys/linux/kvm.txt')
| -rw-r--r-- | sys/linux/kvm.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/linux/kvm.txt b/sys/linux/kvm.txt index abb19e533..4c30d5362 100644 --- a/sys/linux/kvm.txt +++ b/sys/linux/kvm.txt @@ -158,7 +158,7 @@ kvm_text_x86 [ text16 kvm_text_x86_16 text32 kvm_text_x86_32 text64 kvm_text_x86_64 -] [varlen] +] kvm_text_x86_real { typ const[8, intptr] @@ -200,7 +200,7 @@ kvm_setup_opt_x86 [ dstype0 kvm_setup_opt_dstype0 dstype3 kvm_setup_opt_dstype3 vmwrite kvm_setup_opt_vmwrite -] [varlen] +] kvm_setup_opt_cr0 { typ const[0, int64] @@ -259,7 +259,7 @@ kvm_setup_opt_arm64 [ # unions need at least 2 fields, but we have only 1 now, but we want to have it as union for future extention featur1 kvm_setup_opt_feature featur2 kvm_setup_opt_feature -] [varlen] +] kvm_setup_opt_feature { typ const[1, int64] |
