Commit 18a0c23617a2cb1c2e55e650046c2084d823fde0

Authored by Carlo Comin
Committed by David S. Miller
1 parent 072047e4de

[CONNECTOR]: Fix documentation test module.

Patch from Carlo Comin <vl4d spine-group.org>

Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

Documentation/connector/cn_test.c
... ... @@ -25,7 +25,7 @@
25 25 #include <linux/skbuff.h>
26 26 #include <linux/timer.h>
27 27  
28   -#include "connector.h"
  28 +#include <linux/connector.h>
29 29  
30 30 static struct cb_id cn_test_id = { 0x123, 0x456 };
31 31 static char cn_test_name[] = "cn_test";
... ... @@ -104,7 +104,7 @@
104 104 req->first = cn_test_id.val + 20;
105 105 req->range = 10;
106 106  
107   - NETLINK_CB(skb).dst_groups = ctl->group;
  107 + NETLINK_CB(skb).dst_group = ctl->group;
108 108 //netlink_broadcast(nls, skb, 0, ctl->group, GFP_ATOMIC);
109 109 netlink_unicast(nls, skb, 0, 0);
110 110