[ovs-dev] [PATCH] datapath: Avoid nla_parse_nested const warning on < 2.6.22.

Jesse Gross jesse at nicira.com
Mon Jan 31 06:47:04 UTC 2011


On Sun, Jan 30, 2011 at 10:37 PM, Justin Pettit <jpettit at nicira.com> wrote:
> Looks good on 2.6.18.8 except for the following warnings:

Thanks.  Those warnings were the ones I was referring to here:

> On Jan 30, 2011, at 4:35 PM, Jesse Gross wrote:
>> When checking this I saw that there were some additional warnings on 2.6.18 as
>> a result of passing const policies to genetlink which were similarly not const
>> at the time.  I didn't see an easy way to handle this with a macro in compat
>> code and didn't want to add a lot of casts or drop the constness, so I decided
>> to leave it as is.  It's not a real problem anyways.




More information about the dev mailing list