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