Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220379
b: refs/heads/master
c: 5dfa2ba
h: refs/heads/master
i:
  220377: 04e17fc
  220375: b01ec84
v: v3
  • Loading branch information
Linus Lüssing authored and Greg Kroah-Hartman committed Oct 19, 2010
1 parent e8c0170 commit 4be5a0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9b37bc2c711b2a76ef3daa9437bbf9c58411afbd
refs/heads/master: 5dfa2ba9e658f099c11eab251da348429f6a9d7d
4 changes: 2 additions & 2 deletions trunk/drivers/staging/batman-adv/originator.c
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ static int orig_node_del_if(struct orig_node *orig_node,
memcpy(data_ptr, orig_node->bcast_own, del_if_num * chunk_size);

/* copy second part */
memcpy(data_ptr,
memcpy(data_ptr + del_if_num * chunk_size,
orig_node->bcast_own + ((del_if_num + 1) * chunk_size),
(max_if_num - del_if_num) * chunk_size);

Expand All @@ -476,7 +476,7 @@ static int orig_node_del_if(struct orig_node *orig_node,
memcpy(data_ptr, orig_node->bcast_own_sum,
del_if_num * sizeof(uint8_t));

memcpy(data_ptr,
memcpy(data_ptr + del_if_num * sizeof(uint8_t),
orig_node->bcast_own_sum + ((del_if_num + 1) * sizeof(uint8_t)),
(max_if_num - del_if_num) * sizeof(uint8_t));

Expand Down

0 comments on commit 4be5a0b

Please sign in to comment.