RE: [PATCH 7/9] RDMA/uverbs: Remove UA_FLAGS

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

 



> 
>  /* Use in the '...' of any UVERBS_ATTR */

Add a comment that specify that '...' requires at list one argument or, alternatively, you can 
move the comma after __VA_ARGS__ from the caller macros to inside of each define below (and optional bit can be removed also).

> -#define UA_FLAGS(_flags) .flags = _flags
> +#define UA_ALLOC_AND_COPY .alloc_and_copy = 1
> +#define UA_MANDATORY .mandatory = 1
> +#define UA_MIN_SZ_OR_ZERO .min_sz_or_zero = 1
> +#define UA_OPTIONAL .mandatory = 0
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux