diff options
Diffstat (limited to 'net/tipc')
-rw-r--r-- | net/tipc/core.c | 2 | ||||
-rw-r--r-- | net/tipc/core.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/tipc/core.c b/net/tipc/core.c index 236b043a4156..0b982d048fb9 100644 --- a/net/tipc/core.c +++ b/net/tipc/core.c | |||
@@ -47,7 +47,7 @@ | |||
47 | #include <linux/module.h> | 47 | #include <linux/module.h> |
48 | 48 | ||
49 | /* configurable TIPC parameters */ | 49 | /* configurable TIPC parameters */ |
50 | int tipc_net_id __read_mostly; | 50 | unsigned int tipc_net_id __read_mostly; |
51 | int sysctl_tipc_rmem[3] __read_mostly; /* min/default/max */ | 51 | int sysctl_tipc_rmem[3] __read_mostly; /* min/default/max */ |
52 | 52 | ||
53 | static int __net_init tipc_init_net(struct net *net) | 53 | static int __net_init tipc_init_net(struct net *net) |
diff --git a/net/tipc/core.h b/net/tipc/core.h index a1845fb27d80..5cc5398be722 100644 --- a/net/tipc/core.h +++ b/net/tipc/core.h | |||
@@ -74,7 +74,7 @@ struct tipc_monitor; | |||
74 | #define MAX_BEARERS 3 | 74 | #define MAX_BEARERS 3 |
75 | #define TIPC_DEF_MON_THRESHOLD 32 | 75 | #define TIPC_DEF_MON_THRESHOLD 32 |
76 | 76 | ||
77 | extern int tipc_net_id __read_mostly; | 77 | extern unsigned int tipc_net_id __read_mostly; |
78 | extern int sysctl_tipc_rmem[3] __read_mostly; | 78 | extern int sysctl_tipc_rmem[3] __read_mostly; |
79 | extern int sysctl_tipc_named_timeout __read_mostly; | 79 | extern int sysctl_tipc_named_timeout __read_mostly; |
80 | 80 | ||