diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h index 96876d29f952d76dc0ee843a756c9a1bf043170e..af0a3361d4b2dd6139d1b3b3daed637cbde1a8b0 100644 --- a/net/batman-adv/main.h +++ b/net/batman-adv/main.h @@ -279,7 +279,7 @@ static inline void _batadv_dbg(int type __always_unused, * * note: can't use ether_addr_equal() as it requires aligned memory */ -static inline int batadv_compare_eth(const void *data1, const void *data2) +static inline bool batadv_compare_eth(const void *data1, const void *data2) { return ether_addr_equal_unaligned(data1, data2); }