From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753506AbbDNIOD (ORCPT ); Tue, 14 Apr 2015 04:14:03 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:36660 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751025AbbDNINx (ORCPT ); Tue, 14 Apr 2015 04:13:53 -0400 Message-ID: <552CCC3E.6000901@suse.cz> Date: Tue, 14 Apr 2015 10:13:50 +0200 From: Jiri Slaby User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Kamal Mostafa CC: stable@vger.kernel.org, linux-kernel@vger.kernel.org, Zoltan Kiss , "David S. Miller" , Ben Hutchings , Greg Kroah-Hartman , Kamal Mostafa Subject: Re: [PATCH -stable 3.10 3.12 3.13] core, nfqueue, openvswitch: fix compilation warning References: <1428936088-31095-1-git-send-email-jslaby@suse.cz> <1428942368.5907.7.camel@sputnik-fhd> In-Reply-To: <1428942368.5907.7.camel@sputnik-fhd> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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