[ovs-discuss] mf_value and mf_subvalue size restrictions
challa at noironetworks.com
Thu Nov 6 19:00:41 UTC 2014
Agreed and looks good.
On Thu, Nov 6, 2014 at 10:57 AM, Ben Pfaff <blp at nicira.com> wrote:
> On Wed, Nov 05, 2014 at 06:34:04PM -0800, Madhu Challa wrote:
> > The other issue was in the same file. I am glad make check catches these
> > issues and hope there are none in other files. I attached a patch that
> > should make it simpler to extend the union in the future.
> I think it's better to use ARRAY_SIZE than to invent a new macro.
> The trick with .__unused[0...15] will only work with GCC and Clang since
> the use of ... in an initializer is a GCC extension. I think that the
> best we can do here is to add a build assertion and a comment.
> I posted my version, please take a look:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the discuss