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

Steffen Eiden
2022-05-17T11:34:10Z

Hey Janosch,

On 5/13/22 11:50, Janosch Frank wrote:
> One + is definitely enough here.
>
> Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Steffen Eiden <seiden@linux.ibm.com>
> ---
> 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