check: fix typecheck failure in qemu_arm64_test.go

fix typecheck failure in qemu_arm64_test.go

Fixes: #2789
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
This commit is contained in:
Jianyong Wu
2021-10-05 16:38:36 +08:00
committed by Jakob Naucke
parent 5b02d54e23
commit 8acfc154de
2 changed files with 14 additions and 15 deletions

View File

@@ -158,19 +158,23 @@ const (
//Intel Trust Domain Extensions
//https://software.intel.com/content/www/us/en/develop/articles/intel-trust-domain-extensions.html
tdxProtection
// Exclude from lint checking for it won't be used on arm64 code
tdxProtection //nolint
// AMD Secure Encrypted Virtualization
// https://developer.amd.com/sev/
sevProtection
// Exclude from lint checking for it won't be used on arm64 code
sevProtection //nolint
// IBM POWER 9 Protected Execution Facility
// https://www.kernel.org/doc/html/latest/powerpc/ultravisor.html
pefProtection
// Exclude from lint checking for it won't be used on arm64 code
pefProtection //nolint
// IBM Secure Execution (IBM Z & LinuxONE)
// https://www.kernel.org/doc/html/latest/virt/kvm/s390-pv.html
seProtection
// Exclude from lint checking for it won't be used on arm64 code
seProtection //nolint
)
type qemuArchBase struct {