Re: [PATCH] kcm: mark helper functions inline

2016-03-10 Thread David Miller
From: Arnd Bergmann Date: Thu, 10 Mar 2016 19:31:12 +0100 > The stub helper functions for the newly added kcm_proc_init/exit interfaces > are defined as 'static' in a header file, which leads to build warnings for > each file that includes them without calling them: > > include/net/kcm.h:183:12:

[PATCH] kcm: mark helper functions inline

2016-03-10 Thread Arnd Bergmann
The stub helper functions for the newly added kcm_proc_init/exit interfaces are defined as 'static' in a header file, which leads to build warnings for each file that includes them without calling them: include/net/kcm.h:183:12: error: 'kcm_proc_init' defined but not used [-Werror=unused-function