> > > +static void genl_op_from_full(const struct genl_family *family, > > > + unsigned int i, struct genl_ops *op) > > > +{ > > > + memcpy(op, &family->ops[i], sizeof(*op)); > > > > What's wrong with struct assignment? :) > > > > *op = family->ops[i]; > > Code size :) > > text data bss dec hex > 22657 3590 64 26311 66c7 memcpy > 23103 3590 64 26757 6885 struct
You might want to show that to the compiler people. Did you look at the assembly? Andrew