From 40036e99fc252de1dcaf9cc72a33a34e39b91b65 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Thu, 24 Apr 2025 09:20:16 +0200 Subject: all: format with clang-format-20 The tests began to fail after pushing the new env container. --- executor/common_kvm_ppc64.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'executor/common_kvm_ppc64.h') diff --git a/executor/common_kvm_ppc64.h b/executor/common_kvm_ppc64.h index 82d781772..c154d7092 100644 --- a/executor/common_kvm_ppc64.h +++ b/executor/common_kvm_ppc64.h @@ -62,7 +62,7 @@ #define PATB_HR (1UL << 63) #define PRTB_MASK 0x0ffffffffffff000UL -#define ALIGNUP(p, q) ((void*)(((unsigned long)(p) + (q)-1) & ~((q)-1))) +#define ALIGNUP(p, q) ((void*)(((unsigned long)(p) + (q) - 1) & ~((q) - 1))) #define MAX(a, b) (((a) > (b)) ? (a) : (b)) #ifndef KVM_REG_PPC_DEC_EXPIRY @@ -387,8 +387,8 @@ static volatile long syz_kvm_setup_cpu(volatile long a0, volatile long a1, volat if (kvmppc_set_one_reg(cpufd, KVM_REG_PPC_PID, &pid)) return -1; - // Hypercalls need to be enable so we enable them all here to - // allow fuzzing + // Hypercalls need to be enable so we enable them all here to + // allow fuzzing #define MAX_HCALL 0x450 for (unsigned hcall = 4; hcall < MAX_HCALL; hcall += 4) kvm_vm_enable_cap(vmfd, KVM_CAP_PPC_ENABLE_HCALL, hcall, 1); -- cgit mrf-deployment