From 97bc55cead011ec5d60af8c3696ee2724b78fea5 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 17 Mar 2020 17:13:26 +0100 Subject: pkg/compiler: check that flags values fit into base type flags[foo, int8] foo = 0x12345678 is always an error, detect these cases. Found some bugs in mptcp, packet sockets, kvm. --- sys/linux/dev_kvm.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/linux/dev_kvm.txt') diff --git a/sys/linux/dev_kvm.txt b/sys/linux/dev_kvm.txt index eba775bd0..7b67c9d5d 100644 --- a/sys/linux/dev_kvm.txt +++ b/sys/linux/dev_kvm.txt @@ -654,7 +654,7 @@ kvm_segment { kvm_dtable { base flags[kvm_guest_addrs, int64] - limit flags[kvm_guest_addrs, int16] + limit int16 pad array[const[0, int16], 3] } -- cgit mrf-deployment