Re: [kvm-unit-tests PATCH 6/6] s390x: uv-host: Remove duplicated +

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey Janosch,

On 5/13/22 11:50, Janosch Frank wrote:
One + is definitely enough here.

Signed-off-by: Janosch Frank <frankja@xxxxxxxxxxxxx>
Reviewed-by: Steffen Eiden <seiden@xxxxxxxxxxxxx>
---
  s390x/uv-host.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/s390x/uv-host.c b/s390x/uv-host.c
index 20d805b8..ed16f850 100644
--- a/s390x/uv-host.c
+++ b/s390x/uv-host.c
@@ -433,7 +433,7 @@ static void test_config_create(void)
  	uvcb_cgc.guest_sca = tmp;
tmp = uvcb_cgc.guest_sca;
-	uvcb_cgc.guest_sca = get_max_ram_size() + + PAGE_SIZE * 4;
+	uvcb_cgc.guest_sca = get_max_ram_size() + PAGE_SIZE * 4;
  	rc = uv_call(0, (uint64_t)&uvcb_cgc);
  	report(uvcb_cgc.header.rc == 0x10d && rc == 1,
  	       "sca inaccessible");

Steffen



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux