From: Francis Deslauriers Date: Mon, 17 Feb 2020 23:13:56 +0000 (-0500) Subject: Cleanup: remove trailing white spaces across project X-Git-Tag: before-upstreaming~35 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1e543e7c292839b931f808ad341c85f24a859d00;p=lttng-modules.git Cleanup: remove trailing white spaces across project Signed-off-by: Francis Deslauriers Signed-off-by: Mathieu Desnoyers Change-Id: I2de34e4913f9cefbd72a138f2d3dfb9d67ece311 --- diff --git a/instrumentation/syscalls/lttng-syscalls-extractor/lttng-syscalls-extractor.c b/instrumentation/syscalls/lttng-syscalls-extractor/lttng-syscalls-extractor.c index e88bb5d6..ccf7681f 100644 --- a/instrumentation/syscalls/lttng-syscalls-extractor/lttng-syscalls-extractor.c +++ b/instrumentation/syscalls/lttng-syscalls-extractor/lttng-syscalls-extractor.c @@ -82,6 +82,6 @@ int init_module(void) void cleanup_module(void) { -} +} MODULE_LICENSE("GPL"); diff --git a/lttng-ring-buffer-metadata-client.h b/lttng-ring-buffer-metadata-client.h index 17ffd759..2e13f6a1 100644 --- a/lttng-ring-buffer-metadata-client.h +++ b/lttng-ring-buffer-metadata-client.h @@ -348,7 +348,6 @@ void lttng_event_strcpy(struct lib_ring_buffer_ctx *ctx, const char *src, static size_t lttng_packet_avail_size(struct channel *chan) - { unsigned long o_begin; struct lib_ring_buffer *buf; diff --git a/wrapper/irqdesc.c b/wrapper/irqdesc.c index 1d6e2890..be6cf3ba 100644 --- a/wrapper/irqdesc.c +++ b/wrapper/irqdesc.c @@ -23,7 +23,7 @@ struct irq_desc *(*irq_to_desc_sym)(unsigned int irq); struct irq_desc *wrapper_irq_to_desc(unsigned int irq) { if (!irq_to_desc_sym) - irq_to_desc_sym = (void *) kallsyms_lookup_funcptr("irq_to_desc"); + irq_to_desc_sym = (void *) kallsyms_lookup_funcptr("irq_to_desc"); if (irq_to_desc_sym) { return irq_to_desc_sym(irq); } else { diff --git a/wrapper/random.c b/wrapper/random.c index c938ae35..0bd853ba 100644 --- a/wrapper/random.c +++ b/wrapper/random.c @@ -47,7 +47,7 @@ int wrapper_get_bootid(char *bootid) ret = -EINVAL; goto end; } - + bootid[BOOT_ID_LEN - 1] = '\0'; ret = 0; end: diff --git a/wrapper/splice.c b/wrapper/splice.c index 44a4d6b8..d7ef83d8 100644 --- a/wrapper/splice.c +++ b/wrapper/splice.c @@ -24,7 +24,7 @@ ssize_t wrapper_splice_to_pipe(struct pipe_inode_info *pipe, struct splice_pipe_desc *spd) { if (!splice_to_pipe_sym) - splice_to_pipe_sym = (void *) kallsyms_lookup_funcptr("splice_to_pipe"); + splice_to_pipe_sym = (void *) kallsyms_lookup_funcptr("splice_to_pipe"); if (splice_to_pipe_sym) { return splice_to_pipe_sym(pipe, spd); } else {