{"push_id":644590040,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"50539f3368e99dc99bd158bdc3b50154ea725c4a","before":"803a7554e284a070151c7dc0722758db9c59e5ec","commits":[{"sha":"50539f3368e99dc99bd158bdc3b50154ea725c4a","author":{"email":"dfbf39eb5bf303a3db5454d815cb8c8888cbadf9@suse.cz","name":"Jiri Slaby"},"message":"core, nfqueue, openvswitch: fix compilation warning\n\nStable commit 'core, nfqueue, openvswitch: Orphan frags in\nskb_zerocopy and handle errors', upstream commit\n36d5fe6a000790f56039afe26834265db0a3ad4c, was not correctly backported\nand missed to change a const 'from' parameter to non-const.  This\nresults in a new batch of warnings:\n\nnet/netfilter/nfnetlink_queue_core.c: In function ‘nfqnl_zcopy’:\nnet/netfilter/nfnetlink_queue_core.c:272:2: warning: passing argument 1 of ‘skb_orphan_frags’ discards ‘const’ qualifier from pointer target type [enabled by default]\n  if (unlikely(skb_orphan_frags(from, GFP_ATOMIC))) {\n  ^\nIn file included from net/netfilter/nfnetlink_queue_core.c:18:0:\ninclude/linux/skbuff.h:1822:19: note: expected ‘struct sk_buff *’ but argument is of type ‘const struct sk_buff *’\n static inline int skb_orphan_frags(struct sk_buff *skb, gfp_t gfp_mask)\n                   ^\nnet/netfilter/nfnetlink_queue_core.c:273:3: warning: passing argument 1 of ‘skb_tx_error’ discards ‘const’ qualifier from pointer target type [enabled by default]\n   skb_tx_error(from);\n   ^\nIn file included from net/netfilter/nfnetlink_queue_core.c:18:0:\ninclude/linux/skbuff.h:630:13: note: expected ‘struct sk_buff *’ but argument is of type ‘const struct sk_buff *’\n extern void skb_tx_error(struct sk_buff *skb);\n\nRemove const from the 'from' parameter, the same as in the upstream\ncommit.\n\nAs far as I can see, this leaked into 3.10, 3.12, and 3.13 already.\n\nCc: Zoltan Kiss <zoltan.kiss@citrix.com>\nCc: David S. Miller <davem@davemloft.net>\nCc: Ben Hutchings <ben@decadent.org.uk>\nCc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nCc: Kamal Mostafa <kamal.mostafa@canonical.com>\nSigned-off-by: Jiri Slaby <jslaby@suse.cz>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/javilonas/Enki-SM-G901F/commits/50539f3368e99dc99bd158bdc3b50154ea725c4a"}]}