lkml.org 
[lkml]   [2019]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [for-next][PATCH 12/16] kprobes: Initialize kprobes at postcore_initcall
On Wed, 3 Jul 2019 15:08:32 +0100
Catalin Marinas <catalin.marinas@arm.com> wrote:


> > +static int __init run_init_test_probes(void)
> > +{
> > + if (run_kprobe_tests)
> > + init_test_probes();
>
> A return 0 here.

Will update (would have triggered a failure on my test suite anyway ;-)

>
> > +}
> > +module_init(run_init_test_probes);
>
> This does the trick. I prefer your fix as it leaves the arch code
> unchanged. In case you need it:
>
> Tested-by: Catalin Marinas <catalin.marinas@arm.com>
>

Great! Thanks.

-- Steve

\
 
 \ /
  Last update: 2019-07-03 16:24    [W:0.123 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site