|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH for-4.10] libxl: annotate s to be nonnull in libxl__enum_from_string
On 16/10/17 15:56, Ian Jackson wrote:
> Wei Liu writes ("[PATCH for-4.10] libxl: annotate s to be nonnull in
> libxl__enum_from_string"):
>> Hope this can placate coverity.
> Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
>
> We are very soon going to want "NN2" and maybe "NN_1_2".
The hypervisor uses
#define __nonnull(...) __attribute__((__nonnull__(__VA_ARGS__)))
I suggest you use the same in libxl to avoid a combinatorial explosion
of NN variants.
~Andrew
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |