batman-adv: Prefix bitarray non-static functions with batadv_
batman-adv can be compiled as part of the kernel instead of an module. In that case the linker will see all non-static symbols of batman-adv and all other non-static symbols of the kernel. This could lead to symbol collisions. A prefix for the batman-adv symbols that defines their private namespace avoids such a problem. Reported-by: David Miller <davem@davemloft.net> Signed-off-by: Sven Eckelmann <sven@narfation.org>
このコミットが含まれているのは:
@@ -48,7 +48,7 @@ static inline void bat_set_bit(unsigned long *seq_bits, int32_t n)
|
||||
|
||||
/* receive and process one packet, returns 1 if received seq_num is considered
|
||||
* new, 0 if old */
|
||||
int bit_get_packet(void *priv, unsigned long *seq_bits,
|
||||
int32_t seq_num_diff, int set_mark);
|
||||
int batadv_bit_get_packet(void *priv, unsigned long *seq_bits,
|
||||
int32_t seq_num_diff, int set_mark);
|
||||
|
||||
#endif /* _NET_BATMAN_ADV_BITARRAY_H_ */
|
||||
|
新しいイシューから参照
ユーザーをブロックする