|
@@ -38,7 +38,7 @@ u16 fc_cpu_mask; /* cpu mask for possible cpus */
|
|
|
EXPORT_SYMBOL(fc_cpu_mask);
|
|
|
static u16 fc_cpu_order; /* 2's power to represent total possible cpus */
|
|
|
static struct kmem_cache *fc_em_cachep; /* cache for exchanges */
|
|
|
-struct workqueue_struct *fc_exch_workqueue;
|
|
|
+static struct workqueue_struct *fc_exch_workqueue;
|
|
|
|
|
|
/*
|
|
|
* Structure and function definitions for managing Fibre Channel Exchanges
|
|
@@ -2357,7 +2357,7 @@ EXPORT_SYMBOL(fc_exch_init);
|
|
|
/**
|
|
|
* fc_setup_exch_mgr() - Setup an exchange manager
|
|
|
*/
|
|
|
-int fc_setup_exch_mgr()
|
|
|
+int fc_setup_exch_mgr(void)
|
|
|
{
|
|
|
fc_em_cachep = kmem_cache_create("libfc_em", sizeof(struct fc_exch),
|
|
|
0, SLAB_HWCACHE_ALIGN, NULL);
|
|
@@ -2395,7 +2395,7 @@ int fc_setup_exch_mgr()
|
|
|
/**
|
|
|
* fc_destroy_exch_mgr() - Destroy an exchange manager
|
|
|
*/
|
|
|
-void fc_destroy_exch_mgr()
|
|
|
+void fc_destroy_exch_mgr(void)
|
|
|
{
|
|
|
destroy_workqueue(fc_exch_workqueue);
|
|
|
kmem_cache_destroy(fc_em_cachep);
|