batman-adv: use the const qualifier in hash functions
[deliverable/linux.git] / net / batman-adv / bridge_loop_avoidance.c
index 724adf053dcc0f2b43429488a46e133e5c55136b..5e834c1df46913610c3f52015eb527910137a71c 100644 (file)
@@ -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));
This page took 0.025909 seconds and 5 git commands to generate.