Re: [ovs-dev] [PATCH 7/7] lib/classifier: Constify cls_subtable fields.

2014-11-05 Thread Jarno Rajahalme
On Nov 4, 2014, at 12:52 PM, Ben Pfaff wrote: > On Fri, Oct 24, 2014 at 01:36:41PM -0700, Jarno Rajahalme wrote: >> Some struct cls_subtable fields were documented of being const. Make >> them const and use CONST_CAST where appropriate to initialize them. >> >> This will help catch future erro

Re: [ovs-dev] [PATCH 7/7] lib/classifier: Constify cls_subtable fields.

2014-11-04 Thread Ben Pfaff
On Fri, Oct 24, 2014 at 01:36:41PM -0700, Jarno Rajahalme wrote: > Some struct cls_subtable fields were documented of being const. Make > them const and use CONST_CAST where appropriate to initialize them. > > This will help catch future errors modifying those fields after > initialization. > >

[ovs-dev] [PATCH 7/7] lib/classifier: Constify cls_subtable fields.

2014-10-24 Thread Jarno Rajahalme
Some struct cls_subtable fields were documented of being const. Make them const and use CONST_CAST where appropriate to initialize them. This will help catch future errors modifying those fields after initialization. Signed-off-by: Jarno Rajahalme --- lib/classifier-private.h | 12 ++