[B.A.T.M.A.N.] [PATCH 2/4] batman-adv: Import sparse fixes from mainline.

Sven Eckelmann sven.eckelmann at gmx.de
Sat May 1 20:10:18 CEST 2010

Marek Lindner wrote:
> On Sunday 02 May 2010 00:34:56 Sven Eckelmann wrote:
> > This has not real something to do with this patch (which is good), but
> > to_net_dev was added in v2.6.20-236-g43cb76d and the README still states
> > 
> >  that  we are compatible with linux 2.6.20. I think we must change that
> >  to 2.6.25 (explanation below).
> I ran into a bat_sysfs issue today regarding  kobject_create_and_add() on
> 2.6.21 and made a fix for it. With that patch it compiles fine but it needs
> some more testing though. I did not see any complaints about to_net_dev.
> It seems to be there: include/linux/netdevice.h line 538.
> We still might have some issues on 2.6.20 ..

Yes, v2.6.20-236-g43cb76d was merged into v2.6.21-rc1.

I started to create a compat lib with the new kobject stuff, but as you have 
done it already... nice reaction time ;)

The v2.6.20 stuff seems even more tricky as the data stored in the structs was 
changed too. The new stuff looks nice, but it gets really ugly if we want to 
support both.

Best regards.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.open-mesh.org/pipermail/b.a.t.m.a.n/attachments/20100501/4a57bbc1/attachment.pgp>

More information about the B.A.T.M.A.N mailing list