]> git.karo-electronics.de Git - linux-beck.git/commit
staging: lustre: make ptlrpc_init static
authorMatt Mooney <mfm@muteddisk.com>
Wed, 8 Jul 2015 16:21:11 +0000 (09:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jul 2015 02:50:21 +0000 (19:50 -0700)
commit9e0e332a7a4ac8a00ba06b536ecda8582b5a0814
treeb87528bc7aee7bffca9bf8ff68b750898ce5cbae
parentdb07a4c968fb5045c382be493bd2bd3ba8412b3e
staging: lustre: make ptlrpc_init static

fix sparse warning in lustre/ptlrpc/ptlrpc_module.c:54:12:
     warning: symbol 'ptlrpc_init' was not declared. Should it be static?

The __init macro is moved before the function name to match standard usage.

Signed-off-by: Matt Mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ptlrpc/ptlrpc_module.c