Hey,
thank you for the patch, it is committed now in r1526. I've added some changes to your patch to allow compatibility for all currently suported kernels again. This includes:
- removing ipv4/ipv6 printing support in bat_printk
- pack_hex_byte() (used in bat_printk()) was missing in older kernels
- various stuff in compat.h to avoid regressions from my skb patch
- skb->dev->stats was not available in older kernels
it seems you forgot to upload the bat_printk.c file ... :)
Cheers, Marek