On Fri, 11 Dec 2015 12:42:54 +0200 Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote: > > __#define PROPERTY_ENTRY_INTEGER_ARRAY(_name_, _type_, _val_) \ > > __{ \ > > __ .name = _name_, > > \ > > __ .length = ARRAY_SIZE(_val_) * sizeof(_type_), > > \ > > __ .is_array = true, \ > > - .pointer._type_##_data = _val_, > > \ > > + .is_string = false, \ > > + { .pointer = _type_##_data = _val_ } }, > > This line looks suspicious now. Shouldn't be > > { .pointer = { ._type_##_data = _val_ } }, yup, thanks. Stupid macros. It tooks me ages to work out this workaround. The secret is to have the immediately preceding field (is_string) explicitly menationed. -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html