[lttng-dev] [PATCH lttng-tools v3 1/8] Fix: lttng_poll_mod calls compat_(e)poll_add
Jonathan Rajotte-Julien
jonathan.rajotte-julien at efficios.com
Fri Mar 22 14:50:41 EDT 2019
Hi,
I do not see any information regarding what changed between each versions.
Next time, please add a "high level" delta of the change between vN and vN+1.
This also act as a check list to see if previous comments were addressed. It
should ease the review process.
On Fri, Mar 22, 2019 at 02:19:21PM -0400, Yannick Lamarre wrote:
> lttng_poll_mod should call compat_(e)poll_mod.
>
> Signed-off-by: Yannick Lamarre <ylamarre at efficios.com>
> ---
As mentioned in person, the "high level" delta can be added here as long as you
are before the diff start. [1]
[1] https://stackoverflow.com/questions/18979120/is-it-possible-to-add-a-comment-to-a-diff-file-unified
Normally you can simply add a "---" and compose the message between the "---".
> src/common/compat/poll.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/common/compat/poll.h b/src/common/compat/poll.h
> index d4bd87f5..fde54ddb 100644
> --- a/src/common/compat/poll.h
> +++ b/src/common/compat/poll.h
> @@ -177,7 +177,7 @@ extern int compat_epoll_del(struct lttng_poll_event *events, int fd);
> extern int compat_epoll_mod(struct lttng_poll_event *events,
> int fd, uint32_t req_events);
> #define lttng_poll_mod(events, fd, req_events) \
> - compat_epoll_add(events, fd, req_events)
> + compat_epoll_mod(events, fd, req_events)
>
> /*
> * Set up the poll set limits variable poll_max_size
> @@ -361,7 +361,7 @@ extern int compat_poll_del(struct lttng_poll_event *events, int fd);
> extern int compat_poll_mod(struct lttng_poll_event *events,
> int fd, uint32_t req_events);
> #define lttng_poll_mod(events, fd, req_events) \
> - compat_poll_add(events, fd, req_events)
> + compat_poll_mod(events, fd, req_events)
>
> /*
> * Set up the poll set limits variable poll_max_size
> --
> 2.11.0
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
--
Jonathan Rajotte-Julien
EfficiOS
More information about the lttng-dev
mailing list