From: Antoine Busque Date: Wed, 11 Jun 2014 14:45:44 +0000 (-0400) Subject: Fix: correct typo in kernel version number X-Git-Tag: v2.4.2~2 X-Git-Url: http://git.lttng.org/?p=lttng-modules.git;a=commitdiff_plain;h=a0383def517e3aebbbcebae61fe2bcfb50d31e71 Fix: correct typo in kernel version number A typo in a preprocessor conditional verifying the range in which the current kernel version is situated caused build failure for modules on 3.5.0 specifically, by trying to use the new api for block_rq_complete which has not been backported from the 3.15 branch to the 3.5 branch. Signed-off-by: Antoine Busque Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/events/lttng-module/block.h b/instrumentation/events/lttng-module/block.h index 9d3de7d9..1cd24d64 100644 --- a/instrumentation/events/lttng-module/block.h +++ b/instrumentation/events/lttng-module/block.h @@ -224,7 +224,7 @@ DEFINE_EVENT(block_rq_with_error, block_rq_requeue, #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,14,5) \ || LTTNG_KERNEL_RANGE(3,12,21, 3,13,0) \ || LTTNG_KERNEL_RANGE(3,10,41, 3,11,0) \ - || LTTNG_KERNEL_RANGE(3,4,91, 3,5,1) \ + || LTTNG_KERNEL_RANGE(3,4,91, 3,5,0) \ || LTTNG_KERNEL_RANGE(3,2,58, 3,3,0)) /**