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

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

 



On Fri, 13 May 2022 09:50:17 +0000
Janosch Frank <frankja@xxxxxxxxxxxxx> wrote:

> One + is definitely enough here.
> 
> Signed-off-by: Janosch Frank <frankja@xxxxxxxxxxxxx>

Reviewed-by: Claudio Imbrenda <imbrenda@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");




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux