diff options
Diffstat (limited to 'net/tipc/core.c')
-rw-r--r-- | net/tipc/core.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/net/tipc/core.c b/net/tipc/core.c index f7b95239ebda..3689cb4067c8 100644 --- a/net/tipc/core.c +++ b/net/tipc/core.c | |||
@@ -34,14 +34,13 @@ | |||
34 | * POSSIBILITY OF SUCH DAMAGE. | 34 | * POSSIBILITY OF SUCH DAMAGE. |
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include <linux/module.h> | ||
38 | |||
39 | #include "core.h" | 37 | #include "core.h" |
40 | #include "ref.h" | 38 | #include "ref.h" |
41 | #include "name_table.h" | 39 | #include "name_table.h" |
42 | #include "subscr.h" | 40 | #include "subscr.h" |
43 | #include "config.h" | 41 | #include "config.h" |
44 | 42 | ||
43 | #include <linux/module.h> | ||
45 | 44 | ||
46 | #ifndef CONFIG_TIPC_PORTS | 45 | #ifndef CONFIG_TIPC_PORTS |
47 | #define CONFIG_TIPC_PORTS 8191 | 46 | #define CONFIG_TIPC_PORTS 8191 |
@@ -162,9 +161,9 @@ static int __init tipc_init(void) | |||
162 | int res; | 161 | int res; |
163 | 162 | ||
164 | if (tipc_log_resize(CONFIG_TIPC_LOG) != 0) | 163 | if (tipc_log_resize(CONFIG_TIPC_LOG) != 0) |
165 | warn("Unable to create log buffer\n"); | 164 | pr_warn("Unable to create log buffer\n"); |
166 | 165 | ||
167 | info("Activated (version " TIPC_MOD_VER ")\n"); | 166 | pr_info("Activated (version " TIPC_MOD_VER ")\n"); |
168 | 167 | ||
169 | tipc_own_addr = 0; | 168 | tipc_own_addr = 0; |
170 | tipc_remote_management = 1; | 169 | tipc_remote_management = 1; |
@@ -175,9 +174,9 @@ static int __init tipc_init(void) | |||
175 | 174 | ||
176 | res = tipc_core_start(); | 175 | res = tipc_core_start(); |
177 | if (res) | 176 | if (res) |
178 | err("Unable to start in single node mode\n"); | 177 | pr_err("Unable to start in single node mode\n"); |
179 | else | 178 | else |
180 | info("Started in single node mode\n"); | 179 | pr_info("Started in single node mode\n"); |
181 | return res; | 180 | return res; |
182 | } | 181 | } |
183 | 182 | ||
@@ -185,7 +184,7 @@ static void __exit tipc_exit(void) | |||
185 | { | 184 | { |
186 | tipc_core_stop_net(); | 185 | tipc_core_stop_net(); |
187 | tipc_core_stop(); | 186 | tipc_core_stop(); |
188 | info("Deactivated\n"); | 187 | pr_info("Deactivated\n"); |
189 | } | 188 | } |
190 | 189 | ||
191 | module_init(tipc_init); | 190 | module_init(tipc_init); |