summaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre
diff options
context:
space:
mode:
authorDarshana Padmadas <darshanapadmadas@gmail.com>2015-03-28 17:12:53 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-04-01 17:30:52 +0200
commit967db076bd3eddb36c4699743f8304a5ffcbd814 (patch)
treefa3071eb8818240589d013103bbcc9757bc8fa60 /drivers/staging/lustre
parent5c7d08c32d0cb96ec0e831539bb68b7fe5b45973 (diff)
downloadop-kernel-dev-967db076bd3eddb36c4699743f8304a5ffcbd814.zip
op-kernel-dev-967db076bd3eddb36c4699743f8304a5ffcbd814.tar.gz
Staging: lustre: Add function prototypes in console.h
Sparse reported the following warnings: warning: symbol 'lstcon_console_init' was not declared. Should it be static? warning: symbol 'lstcon_console_fini' was not declared. Should it be static? warning: symbol 'lstcon_ioctl_entry' was not declared. Should it be static? However since these functions are used in other files, they cannot be made static, so add protoypes for the same in console.h. Signed-off-by: Darshana Padmadas <darshanapadmadas@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre')
-rw-r--r--drivers/staging/lustre/lnet/selftest/console.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/lustre/lnet/selftest/console.h b/drivers/staging/lustre/lnet/selftest/console.h
index f960174..e41ca89 100644
--- a/drivers/staging/lustre/lnet/selftest/console.h
+++ b/drivers/staging/lustre/lnet/selftest/console.h
@@ -182,6 +182,9 @@ lstcon_id2hash (lnet_process_id_t id, struct list_head *hash)
return &hash[idx];
}
+int lstcon_console_init(void);
+int lstcon_ioctl_entry(unsigned int cmd, struct libcfs_ioctl_data *data);
+int lstcon_console_fini(void);
extern int lstcon_session_match(lst_sid_t sid);
extern int lstcon_session_new(char *name, int key, unsigned version,
int timeout, int flags, lst_sid_t *sid_up);
OpenPOWER on IntegriCloud