> Besides some minor adaptions to support the SVN i left out some infrastructure
> changes you made in patch 2/5 to constify this ...
>
> > -static struct can_proto *proto_tab[CAN_NPROTO] __read_mostly;
> > +static const struct can_proto *proto_tab[CAN_NPROTO] __read_mostly;
>
> and this ...
>
> > -static struct can_proto *can_try_module_get(int protocol)
> > +static const struct can_proto *can_try_module_get(int protocol)
>
> (..)
>
> > +static inline void can_put_proto(const struct can_proto *cp)
> > +{
> > + module_put(cp->prot->owner);
> > +}
>
> These infrastructure changes did not really belong to the rtnetlink support.
I see. I see I've made a mistake in the patch set here.
I'll go for a seperate 'make it const' patch.
Thanks,
Kurt
_______________________________________________
Socketcan-core mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-core