[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1314704305.2935.5.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC>
Date:	Tue, 30 Aug 2011 13:38:25 +0200
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	igorm@....rs
Cc:	netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] cls_rsvp.h was outdated
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@....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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
