Messages in this thread | | | Subject | Re: [PATCH] cls_rsvp.h was outdated | From | Eric Dumazet <> | Date | Tue, 30 Aug 2011 13:38:25 +0200 |
| |
Le mardi 30 août 2011 à 13:11 +0200, "Igor Maravić" a écrit : > File cls_rsvp.h in /net/sched was outdated. I'm sending you patch for this > file. > Patch was done against Linux 2.6.38-8 > > Signed-off-by: Igor Maravić <igorm@etf.rs> > > --- linux-2.6.38.8/net/sched/cls_rsvp.h.orig 2011-08-30 12:46:42.663443918 > +0200
Two last points :
1) Your mail client added line wraps, please take a look at Documentation/email-clients.txt
> > static struct tcf_proto_ops RSVP_OPS = { > - .next = NULL, > + //.next = NULL, > .kind = RSVP_ID, > .classify = rsvp_classify, > .init = rsvp_init, >
2) Dont add // comments, just remove the line.
You also could add __read_mostly here :
static struct tcf_proto_ops RSVP_OPS __read_mostly = {
Thanks
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |