aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorYuntao Wang <[email protected]>2022-03-11 00:15:18 +0800
committerDaniel Borkmann <[email protected]>2022-03-10 23:04:47 +0100
commit1b773d0003aa90e60953d263c2ee31e6fb4a8a69 (patch)
tree3a488b8ea06c0fe3365b2ce12cc84c04071762ac /lib/string_helpers.c
parent58617014405ad5c9f94f464444f4972dabb71ca7 (diff)
bpf: Use offsetofend() to simplify macro definition
Use offsetofend() instead of offsetof() + sizeof() to simplify MIN_BPF_LINEINFO_SIZE macro definition. Signed-off-by: Yuntao Wang <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Yonghong Song <[email protected]> Acked-by: Joanne Koong <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions