Fix: correct typo in kernel version number
A message that is not in the archive (sent off-list or not yet received): [email protected]
I changed "if statement" for "preprocessor conditional". Merged,
Thanks!
Mathieu
----- Original Message -----
Quoted 38 lines
From: "Antoine Busque" <[email protected]>
To: [email protected]
Sent: Wednesday, June 11, 2014 10:45:44 AM
Subject: [lttng-dev] [PATCH lttng-modules] Fix: correct typo in kernel version numberA typo in an if statement verifying the range in which the current kernel's version is situated caused build failure for modules on 3.5.0 specifically, by trying to use the new api for
block_rq_completewhich has not been backported from the 3.15 branch to the 3.5 branch.Signed-off-by Antoine Busque <[email protected]>--- instrumentation/events/lttng-module/block.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)instrumentation/events/lttng-module/block.h +1
-2@@ -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 ))/** -- 2.0.0
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Signature · 3 lines
Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com