[lkml]   [2020]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 2/4] lib: Make test_sysctl initialized as module
On Thu, May 28, 2020 at 11:52:16PM +0900, Masami Hiramatsu wrote:
> test_sysctl.c is expected to be used as a module, but since
> it does not use module_init(), it never be registered as
> a module and not appeared under /sys/module/.
> In the result, the selftests/sysctl/ always fails
> to find the test module and is skipped.
> This makes test_sysctl.c initialized as a module by module_init()
> and allow to find the test module is loaded.
> Signed-off-by: Masami Hiramatsu <>

Reviewed-by: Luis Chamberlain <>


 \ /
  Last update: 2020-06-01 15:16    [W:0.102 / U:4.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site