On Thu, Feb 28, 2013 at 12:08:47 +0100, Simon Wunderlich wrote:
The latest compat patch fixing rtnl ops compile errors from 2.6.32 ("batman-adv: add compat support for the new netlink ops") fixes the compilation, but leaves some sparse errors: batman-adv/soft-interface.c:573:10: warning: Initializer entry defined twice batman-adv/soft-interface.c:574:10: also defined here
This patch uses another approach by moving the initializers in a dummy struct instead. This also removes the sparse errors.
Signed-off-by: Simon Wunderlich siwu@hrz.tu-chemnitz.de
Acked-by: Antonio Quartulli ordex@autistici.org
Thank you Simon! Cheers,