Re: [PATCH -stable 3.10 3.12 3.13] core, nfqueue, openvswitch: fix compilation warning

From: Jiri Slaby
Date: Tue Apr 14 2015 - 04:14:05 EST


On 04/13/2015, 06:26 PM, Kamal Mostafa wrote:
> On Mon, 2015-04-13 at 16:41 +0200, Jiri Slaby wrote:
>> Stable commit "core, nfqueue, openvswitch: Orphan frags in
>> skb_zerocopy and handle errors", upstream commit
>> 36d5fe6a000790f56039afe26834265db0a3ad4c, was not correctly backported
>> and missed to change a const 'from' parameter to non-const. This
>> results in a new batch of warnings:
>
> Just FYI, the backport in 3.13-stable[0] -- Ben Hutchings' work --
> actually does not exhibit this problem. nfqnl_zcopy() already has the
> const removed and the file yields no compile warnings.

That is quite interesting, because 3.10's version supposed to be the
Ben's 3.13 backport too, according to the commit log. Maybe a
wrong/older version was merged to 3.10 (and 3.12)?

> [0] http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=commitdiff;h=f2287ffc0e9c3d39cbc4ea9e2312640758201dfc

thanks,
--
js
suse labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/