All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH lttng-modules] Fix: correct typo in kernel version number range
@ 2014-06-10 14:52 Antoine Busque
  0 siblings, 0 replies; 2+ messages in thread
From: Antoine Busque @ 2014-06-10 14:52 UTC (permalink / raw)
  To: lttng-dev

A 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_complete which
has not been backported from the 3.15 branch to the 3.5 branch.
---
 instrumentation/events/lttng-module/block.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/instrumentation/events/lttng-module/block.h b/instrumentation/events/lttng-module/block.h
index dbe6c6c..ad0a363 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))
 
 /**
-- 
2.0.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH lttng-modules] Fix: correct typo in kernel version number range
       [not found] <1402411964-4522-1-git-send-email-antoine.busque@efficios.com>
@ 2014-06-11 14:43 ` Antoine Busque
  0 siblings, 0 replies; 2+ messages in thread
From: Antoine Busque @ 2014-06-11 14:43 UTC (permalink / raw)
  To: Antoine Busque; +Cc: lttng-dev


[-- Attachment #1.1: Type: text/plain, Size: 1511 bytes --]

On Tue, Jun 10, 2014 at 10:52 AM, Antoine Busque <
antoine.busque@efficios.com> wrote:

> A 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_complete which
> has not been backported from the 3.15 branch to the 3.5 branch.
> ---
>  instrumentation/events/lttng-module/block.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/instrumentation/events/lttng-module/block.h
> b/instrumentation/events/lttng-module/block.h
> index dbe6c6c..ad0a363 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))
>
>  /**
> --
> 2.0.0
>

> _______________________________________________
> lttng-dev mailing list
> lttng-dev@lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev


I just realised I forgot to sign off the previous patch,
so I'll resend now. Please excuse the multiple emails,
I'm still getting the hang of this workflow.

Regards,
Antoine.

[-- Attachment #1.2: Type: text/html, Size: 2503 bytes --]

[-- Attachment #2: Type: text/plain, Size: 155 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-11 14:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-10 14:52 [PATCH lttng-modules] Fix: correct typo in kernel version number range Antoine Busque
     [not found] <1402411964-4522-1-git-send-email-antoine.busque@efficios.com>
2014-06-11 14:43 ` Antoine Busque

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.