kernel/drivers/infiniband/core/ud_header.c
.. .. @@ -41,7 +41,7 @@ 41 41 42 42 #define STRUCT_FIELD(header, field) \ 43 43 .struct_offset_bytes = offsetof(struct ib_unpacked_ ## header, field), \ 44 - .struct_size_bytes = sizeof ((struct ib_unpacked_ ## header *) 0)->field, \44 + .struct_size_bytes = sizeof_field(struct ib_unpacked_ ## header, field), \45 45 .field_name = #header ":" #field 46 46 47 47 static const struct ib_field lrh_table[] = {