Wei Liu writes ("[PATCH] libxl: mark parameters in stub functions as unused"):
> Hopefully this can fix issues like:
>
> In file included from ../../src/libxl/xen_xl.c:24:0:
> /home/osstest/build.147035.build-amd64-libvirt/xendist/usr/local/include/libxl.h:
> In function 'libxl_cpuid_apply_policy':
> /home/osstest/build.147035.build-amd64-libvirt/xendist/usr/local/include/libxl.h:2345:56:
> error: unused parameter 'ctx' [-Werror=unused-parameter]
> static inline void libxl_cpuid_apply_policy(libxl_ctx *ctx, uint32_t domid)
> {}
>
> Fixes: dacb80f9 ("tools/libxl: Remove libxl_cpuid_{set,apply_policy}() from
> the API")
> Signed-off-by: Wei Liu <[email protected]>
> ---
> Not able to test this locally, please review carefully...
The syntax looks good to me. I haven't compiled it.
Acked-by: Ian Jackson <[email protected]>
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel