diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/connector/cn_test.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Documentation/connector/cn_test.c b/Documentation/connector/cn_test.c index f688eba87704..50d5ce4899c8 100644 --- a/Documentation/connector/cn_test.c +++ b/Documentation/connector/cn_test.c | |||
@@ -32,10 +32,8 @@ static char cn_test_name[] = "cn_test"; | |||
32 | static struct sock *nls; | 32 | static struct sock *nls; |
33 | static struct timer_list cn_test_timer; | 33 | static struct timer_list cn_test_timer; |
34 | 34 | ||
35 | void cn_test_callback(void *data) | 35 | void cn_test_callback(struct cn_msg *msg) |
36 | { | 36 | { |
37 | struct cn_msg *msg = (struct cn_msg *)data; | ||
38 | |||
39 | printk("%s: %lu: idx=%x, val=%x, seq=%u, ack=%u, len=%d: %s.\n", | 37 | printk("%s: %lu: idx=%x, val=%x, seq=%u, ack=%u, len=%d: %s.\n", |
40 | __func__, jiffies, msg->id.idx, msg->id.val, | 38 | __func__, jiffies, msg->id.idx, msg->id.val, |
41 | msg->seq, msg->ack, msg->len, (char *)msg->data); | 39 | msg->seq, msg->ack, msg->len, (char *)msg->data); |