diff options
author | David S. Miller <davem@davemloft.net> | 2013-04-30 03:50:54 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-30 03:55:20 -0400 |
commit | 58717686cf7c7f5a70b3a8907ade8a3ce74306b1 (patch) | |
tree | 57f5d78524bfd5e65aa9f3943da9c1a3e6ff65b7 /net/vmw_vsock | |
parent | cff63a52924c6a78fa525c67d81480c85736ff3c (diff) | |
parent | 79f632c71bea0d0864d84d6a4ce78da5a9430f5b (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts:
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
drivers/net/ethernet/emulex/benet/be.h
include/net/tcp.h
net/mac802154/mac802154.h
Most conflicts were minor overlapping stuff.
The be2net driver brought in some fixes that added __vlan_put_tag
calls, which in net-next take an additional argument.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/vmw_vsock')
-rw-r--r-- | net/vmw_vsock/af_vsock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/vmw_vsock/af_vsock.c b/net/vmw_vsock/af_vsock.c index 7f93e2a42d7a..3f77f42a3b58 100644 --- a/net/vmw_vsock/af_vsock.c +++ b/net/vmw_vsock/af_vsock.c | |||
@@ -165,7 +165,7 @@ static struct list_head vsock_bind_table[VSOCK_HASH_SIZE + 1]; | |||
165 | static struct list_head vsock_connected_table[VSOCK_HASH_SIZE]; | 165 | static struct list_head vsock_connected_table[VSOCK_HASH_SIZE]; |
166 | static DEFINE_SPINLOCK(vsock_table_lock); | 166 | static DEFINE_SPINLOCK(vsock_table_lock); |
167 | 167 | ||
168 | static __init void vsock_init_tables(void) | 168 | static void vsock_init_tables(void) |
169 | { | 169 | { |
170 | int i; | 170 | int i; |
171 | 171 | ||
@@ -1932,7 +1932,6 @@ static const struct file_operations vsock_device_ops = { | |||
1932 | 1932 | ||
1933 | static struct miscdevice vsock_device = { | 1933 | static struct miscdevice vsock_device = { |
1934 | .name = "vsock", | 1934 | .name = "vsock", |
1935 | .minor = MISC_DYNAMIC_MINOR, | ||
1936 | .fops = &vsock_device_ops, | 1935 | .fops = &vsock_device_ops, |
1937 | }; | 1936 | }; |
1938 | 1937 | ||
@@ -1942,6 +1941,7 @@ static int __vsock_core_init(void) | |||
1942 | 1941 | ||
1943 | vsock_init_tables(); | 1942 | vsock_init_tables(); |
1944 | 1943 | ||
1944 | vsock_device.minor = MISC_DYNAMIC_MINOR; | ||
1945 | err = misc_register(&vsock_device); | 1945 | err = misc_register(&vsock_device); |
1946 | if (err) { | 1946 | if (err) { |
1947 | pr_err("Failed to register misc device\n"); | 1947 | pr_err("Failed to register misc device\n"); |