diff options
| author | Denis Efremov <efremov@linux.com> | 2020-07-20 19:44:34 +0300 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-07-21 13:04:43 +0200 |
| commit | e562dd8adff015d44bec3d7fd8e6608a3a031ff3 (patch) | |
| tree | 8b03c9598a5498efdfb64085f694714bbe67641f /sys/linux | |
| parent | 328906f3daa5e8e120f92e4d6418d1a5e7e8e19c (diff) | |
executor: fix build errors in setup_32bit_idt()
GCC10 fails to build the code with errors:
executor/common_kvm_amd64.h:143:64: error: ‘gate.kvm_segment::type’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
executor/common_kvm_amd64.h:143:56: error: ‘gate.kvm_segment::base’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
Replace 'case 6' with 'case 5' since 'i % 6' results in [0..5].
Signed-off-by: Denis Efremov <efremov@linux.com>
Diffstat (limited to 'sys/linux')
0 files changed, 0 insertions, 0 deletions
