From a9191ae72eb4ce677ec45adfeaf6b32f0193f41d Mon Sep 17 00:00:00 2001 From: Eden Federman Date: Tue, 15 Nov 2022 14:43:50 +0200 Subject: [PATCH] fix newline at end of files --- include/alloc.h | 2 +- include/arguments.h | 2 +- include/common.h | 2 +- include/go_context.h | 2 +- include/go_types.h | 2 +- include/span_context.h | 2 +- include/utils.h | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/alloc.h b/include/alloc.h index 672ad9e86..3fff24d8c 100644 --- a/include/alloc.h +++ b/include/alloc.h @@ -96,4 +96,4 @@ static __always_inline void *write_target_data(void *data, s32 size) bpf_printk("failed to write to userspace, error code: %d, addr: %lx, size: %d", success, target, size); return NULL; } -} \ No newline at end of file +} diff --git a/include/arguments.h b/include/arguments.h index 1e12332f8..5b4098956 100644 --- a/include/arguments.h +++ b/include/arguments.h @@ -61,4 +61,4 @@ void *get_argument(struct pt_regs *ctx, int index) } return get_argument_by_stack(ctx, index); -} \ No newline at end of file +} diff --git a/include/common.h b/include/common.h index 3600cb1c7..7316a0459 100644 --- a/include/common.h +++ b/include/common.h @@ -121,4 +121,4 @@ struct pt_regs /* top of stack page */ }; -#endif /* __VMLINUX_H__ */ \ No newline at end of file +#endif /* __VMLINUX_H__ */ diff --git a/include/go_context.h b/include/go_context.h index ebb3f86c7..027498722 100644 --- a/include/go_context.h +++ b/include/go_context.h @@ -34,4 +34,4 @@ static __always_inline void *find_context_in_map(void *ctx, void *context_map) bpf_printk("context %lx not found in context map", ctx); return NULL; -} \ No newline at end of file +} diff --git a/include/go_types.h b/include/go_types.h index 09bb13f5b..622f9c626 100644 --- a/include/go_types.h +++ b/include/go_types.h @@ -96,4 +96,4 @@ static __always_inline void append_item_to_slice(struct go_slice *slice, void *n // Update len slice->len++; long success = bpf_probe_write_user(slice_user_ptr->len, &slice->len, sizeof(slice->len)); -} \ No newline at end of file +} diff --git a/include/span_context.h b/include/span_context.h index f2e392f46..571d29278 100644 --- a/include/span_context.h +++ b/include/span_context.h @@ -71,4 +71,4 @@ static __always_inline void w3c_string_to_span_context(char *str, struct span_co u32 span_id_start_pod = 36; hex_string_to_bytes(str + trace_id_start_pos, TRACE_ID_STRING_SIZE, ctx->TraceID); hex_string_to_bytes(str + span_id_start_pod, SPAN_ID_STRING_SIZE, ctx->SpanID); -} \ No newline at end of file +} diff --git a/include/utils.h b/include/utils.h index 0194f36e5..287dfe07e 100644 --- a/include/utils.h +++ b/include/utils.h @@ -74,4 +74,4 @@ static __always_inline void copy_byte_arrays(unsigned char *src, unsigned char * { dst[i] = src[i]; } -} \ No newline at end of file +}