Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351370
b: refs/heads/master
c: 467b5fe
h: refs/heads/master
v: v3
  • Loading branch information
Antonio Quartulli authored and Antonio Quartulli committed Jan 12, 2013
1 parent 9c00891 commit 816be8a
Show file tree
Hide file tree
Showing 3 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: fa706554d6553331e886ce6fb86ca40b6dbc2083
refs/heads/master: 467b5fe69716257ebe17a9df9c428ad32eba540a
2 changes: 1 addition & 1 deletion trunk/net/batman-adv/bridge_loop_avoidance.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ static inline uint32_t batadv_choose_claim(const void *data, uint32_t size)
static inline uint32_t batadv_choose_backbone_gw(const void *data,
uint32_t size)
{
struct batadv_claim *claim = (struct batadv_claim *)data;
const struct batadv_claim *claim = (struct batadv_claim *)data;
uint32_t hash = 0;

hash = batadv_hash_bytes(hash, &claim->addr, sizeof(claim->addr));
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/batman-adv/hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ static inline void batadv_hash_delete(struct batadv_hashtable *hash,
*
* Returns the new hash value.
*/
static inline uint32_t batadv_hash_bytes(uint32_t hash, void *data,
static inline uint32_t batadv_hash_bytes(uint32_t hash, const void *data,
uint32_t size)
{
const unsigned char *key = data;
Expand Down

0 comments on commit 816be8a

Please sign in to comment.