On Saturday, March 16, 2013 19:30:10 Matthias Schiffer wrote:
Starting with kernel v3.2.39, a Debian specific patch defines eth_hw_addr_random() in include/linux/etherdevice.h, causing the build of batman-adv to fail.
This patch fixes the build on these kernels while keeping compatiblity with unpatched kernels by renaming batman-adv's compat definition of the eth_hw_addr_random() function to resolve the name conflict and adding a #define macro.
Signed-off-by: Matthias Schiffer mschiffer@universe-factory.net
compat.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Applied in revision d4e5e01.
Thanks, Marek