Re: [PATCH for 4.19] tracepoint: Fix: out-of-bound tracepoint array iteration

2018-10-15 Thread Steven Rostedt
On Mon, 15 Oct 2018 13:34:33 +0200 Jessica Yu wrote: > For module parts: > > Acked-by: Jessica Yu Thanks Jessica! Mathieu, I'm going to pull this into my test queue and start running tests on it. It should be ready by tomorrow, if none of the tests fail (note, I'm testing more than one patch,

Re: [PATCH for 4.19] tracepoint: Fix: out-of-bound tracepoint array iteration

2018-10-15 Thread Jessica Yu
+++ Mathieu Desnoyers [12/10/18 16:05 -0400]: commit 46e0c9be206f ("kernel: tracepoints: add support for relative references") changes the layout of the __tracepoint_ptrs section on architectures supporting relative references. However, it does so without turning struct tracepoint * const into co

Re: [PATCH for 4.19] tracepoint: Fix: out-of-bound tracepoint array iteration

2018-10-13 Thread Mathieu Desnoyers
- On Oct 13, 2018, at 2:34 PM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: > - On Oct 13, 2018, at 11:24 AM, Ard Biesheuvel ard.biesheu...@linaro.org > wrote: > >> On 12 October 2018 at 23:07, Ard Biesheuvel >> wrote: >>> Hi Mathieu, >>> >>> On 12 October 2018 at 22:05, Mat

Re: [PATCH for 4.19] tracepoint: Fix: out-of-bound tracepoint array iteration

2018-10-13 Thread Mathieu Desnoyers
- On Oct 13, 2018, at 11:24 AM, Ard Biesheuvel ard.biesheu...@linaro.org wrote: > On 12 October 2018 at 23:07, Ard Biesheuvel wrote: >> Hi Mathieu, >> >> On 12 October 2018 at 22:05, Mathieu Desnoyers >> wrote: >>> commit 46e0c9be206f ("kernel: tracepoints: add support for relative >>> refe

Re: [PATCH for 4.19] tracepoint: Fix: out-of-bound tracepoint array iteration

2018-10-13 Thread Ard Biesheuvel
On 12 October 2018 at 23:07, Ard Biesheuvel wrote: > Hi Mathieu, > > On 12 October 2018 at 22:05, Mathieu Desnoyers > wrote: >> commit 46e0c9be206f ("kernel: tracepoints: add support for relative >> references") changes the layout of the __tracepoint_ptrs section on >> architectures supporting re

Re: [PATCH for 4.19] tracepoint: Fix: out-of-bound tracepoint array iteration

2018-10-13 Thread kbuild test robot
Hi Mathieu, I love your patch! Yet something to improve: [auto build test ERROR on tip/perf/core] [also build test ERROR on v4.19-rc7 next-20181012] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commi

Re: [PATCH for 4.19] tracepoint: Fix: out-of-bound tracepoint array iteration

2018-10-12 Thread kbuild test robot
Hi Mathieu, I love your patch! Yet something to improve: [auto build test ERROR on tip/perf/core] [also build test ERROR on v4.19-rc7 next-20181012] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commi

Re: [PATCH for 4.19] tracepoint: Fix: out-of-bound tracepoint array iteration

2018-10-12 Thread Ard Biesheuvel
Hi Mathieu, On 12 October 2018 at 22:05, Mathieu Desnoyers wrote: > commit 46e0c9be206f ("kernel: tracepoints: add support for relative > references") changes the layout of the __tracepoint_ptrs section on > architectures supporting relative references. However, it does so > without turning struc

Re: [PATCH for 4.19] tracepoint: Fix: out-of-bound tracepoint array iteration

2018-10-12 Thread Mathieu Desnoyers
- On Oct 12, 2018, at 4:05 PM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: > commit 46e0c9be206f ("kernel: tracepoints: add support for relative > references") changes the layout of the __tracepoint_ptrs section on > architectures supporting relative references. However, it does s

[PATCH for 4.19] tracepoint: Fix: out-of-bound tracepoint array iteration

2018-10-12 Thread Mathieu Desnoyers
commit 46e0c9be206f ("kernel: tracepoints: add support for relative references") changes the layout of the __tracepoint_ptrs section on architectures supporting relative references. However, it does so without turning struct tracepoint * const into const int * elsewhere in the tracepoint code, whic