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);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev