aboutsummaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2016-03-10 19:31:12 +0100
committerDavid S. Miller <[email protected]>2016-03-10 14:42:03 -0500
commitf720d0caa0af2c33ad15310974c7320345ab4468 (patch)
tree22c852ac2cc99df4714c12c8c01a19355aaffbde /scripts/objdiff
parent798fee48035f0c5fc6787767ff9e27de7e1a4fbb (diff)
kcm: mark helper functions inline
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] include/net/kcm.h:184:13: error: 'kcm_proc_exit' defined but not used [-Werror=unused-function] This marks the two functions as 'static inline' instead, which avoids the warnings and is obviously what was meant here. Signed-off-by: Arnd Bergmann <[email protected]> Fixes: cd6e111bf5be ("kcm: Add statistics and proc interfaces") Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions