From: Mathieu Desnoyers Date: Sun, 25 Sep 2016 16:30:00 +0000 (-0400) Subject: Fix: lttng_inline_memcpy does not take a __user argument X-Git-Tag: v2.9.0-rc1~8 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0470731263c128727ac6f52c12a4fa379d85262e;p=lttng-modules.git Fix: lttng_inline_memcpy does not take a __user argument Signed-off-by: Mathieu Desnoyers --- diff --git a/lib/ringbuffer/backend_internal.h b/lib/ringbuffer/backend_internal.h index cb39ff69..2e59b68b 100644 --- a/lib/ringbuffer/backend_internal.h +++ b/lib/ringbuffer/backend_internal.h @@ -479,7 +479,7 @@ int update_read_sb_index(const struct lib_ring_buffer_config *config, } static inline __attribute__((always_inline)) -void lttng_inline_memcpy(void *dest, const void __user *src, +void lttng_inline_memcpy(void *dest, const void *src, unsigned long len) { switch (len) {