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

Re: [Xen-devel] [PATCH 2/8] xen/misc: Remove or annotate possibly-unused functions



At 20:01 +0000 on 09 Feb (1455048102), Andrew Cooper wrote:
> Clang notices more unused functions than GCC.
> 
>  * sh_next_page() is only used at GUEST_PAGING_LEVELS=2, so remove it from the
>    other guest level translation units
>  * rcu_batch_after() is completely unused.
>  * Various of the COMPAT() generated functions are used only for their
>    BUILD_BUG_ON() properties.  Annotate them all as __maybe_used.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Shadow stuff Acked-by: Tim Deegan <tim@xxxxxxx>

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


 


Rackspace

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