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

Re: [Xen-devel] [PATCH 2/2] x86/mm: Annotate gfn_get_* helpers as requiring non-NULL parameters



>>> On 27.07.16 at 20:08, <andrew.cooper3@xxxxxxxxxx> wrote:
> --- a/xen/include/xen/compiler.h
> +++ b/xen/include/xen/compiler.h
> @@ -62,6 +62,8 @@
>  
>  #define __must_check __attribute__((__warn_unused_result__))
>  
> +#define __nonnull(...) __attribute__((nonnull (__VA_ARGS__)))

May I ask to use __nonnull__ here, to match the #define right
above? Also I don't think there should be a blank following that
token (again matching other #define-s further up).

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®.