On Tue, Dec 10, 2019 at 11:20 AM Stanislav Fomichev <sdf@xxxxxxxxxx> wrote: > > Switch existing pattern of "offsetof(..., member) + FIELD_SIZEOF(..., > member)' to "offsetofend(..., member)" which does exactly what > we need without all the copy-paste. > > Suggested-by: Andrii Nakryiko <andriin@xxxxxx> > Signed-off-by: Stanislav Fomichev <sdf@xxxxxxxxxx> > --- Awesome! Acked-by: Andrii Nakryiko <andriin@xxxxxx> > net/bpf/test_run.c | 12 ++++-------- > 1 file changed, 4 insertions(+), 8 deletions(-) > [...]