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

Re: [Xen-devel] [PATCH] common/page_alloc: Drop BOOT_BUG_ON()



>>> On 08.08.17 at 19:28, <andrew.cooper3@xxxxxxxxxx> wrote:
> Regular BUG_ON()'s work fine by this point on all architectures, so drop the
> custom infrastructure.  Substitute BUG_ON(1) for BUG().
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
with one question:

> @@ -362,8 +355,7 @@ unsigned long __init alloc_boot_pages(
>          return pg;
>      }
>  
> -    BOOT_BUG_ON(1);
> -    return 0;
> +    BUG();
>  }

Are all versions of gcc we formally support happy with the dropped
return?

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.