From ac93d7e1d83ffac19983e9d754a47e7808f1230e Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 28 Nov 2017 14:27:28 +0100 Subject: 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. --- sys/linux/kvm.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/linux/kvm.txt') 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] -- cgit mrf-deployment