On Fri, May 29, 2015 at 10:43 AM, Ben Pfaff <[email protected]> wrote: > I'm seeing the following new warnings from the Geneve patch checked in > recently: > > ../lib/odp-util.c:2936:30: error: cast from 'uint8_t *' (aka 'unsigned > char *') > to 'struct geneve_opt *' increases required alignment from 1 to 2 > [-Werror,-Wcast-align] > struct geneve_opt *opt = (struct geneve_opt *)key->d; > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > ../lib/odp-util.c:2937:35: error: cast from 'uint8_t *' (aka 'unsigned > char *') > to 'struct geneve_opt *' increases required alignment from 1 to 2 > [-Werror,-Wcast-align] > struct geneve_opt *opt_mask = (struct geneve_opt *)(mask ? mask->d : > NULL); > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yeah, Joe pointed that out as well. I just send out a patch. _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
