diff options
Diffstat (limited to 'net/tipc/socket.c')
-rw-r--r-- | net/tipc/socket.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/tipc/socket.c b/net/tipc/socket.c index 1ebb49f3ddbe..09dc5b97e079 100644 --- a/net/tipc/socket.c +++ b/net/tipc/socket.c | |||
@@ -34,12 +34,12 @@ | |||
34 | * POSSIBILITY OF SUCH DAMAGE. | 34 | * POSSIBILITY OF SUCH DAMAGE. |
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include <linux/export.h> | ||
38 | #include <net/sock.h> | ||
39 | |||
40 | #include "core.h" | 37 | #include "core.h" |
41 | #include "port.h" | 38 | #include "port.h" |
42 | 39 | ||
40 | #include <linux/export.h> | ||
41 | #include <net/sock.h> | ||
42 | |||
43 | #define SS_LISTENING -1 /* socket is listening */ | 43 | #define SS_LISTENING -1 /* socket is listening */ |
44 | #define SS_READY -2 /* socket is connectionless */ | 44 | #define SS_READY -2 /* socket is connectionless */ |
45 | 45 | ||
@@ -1787,13 +1787,13 @@ int tipc_socket_init(void) | |||
1787 | 1787 | ||
1788 | res = proto_register(&tipc_proto, 1); | 1788 | res = proto_register(&tipc_proto, 1); |
1789 | if (res) { | 1789 | if (res) { |
1790 | err("Failed to register TIPC protocol type\n"); | 1790 | pr_err("Failed to register TIPC protocol type\n"); |
1791 | goto out; | 1791 | goto out; |
1792 | } | 1792 | } |
1793 | 1793 | ||
1794 | res = sock_register(&tipc_family_ops); | 1794 | res = sock_register(&tipc_family_ops); |
1795 | if (res) { | 1795 | if (res) { |
1796 | err("Failed to register TIPC socket type\n"); | 1796 | pr_err("Failed to register TIPC socket type\n"); |
1797 | proto_unregister(&tipc_proto); | 1797 | proto_unregister(&tipc_proto); |
1798 | goto out; | 1798 | goto out; |
1799 | } | 1799 | } |