backports: handle argument type change of get_rxnfc in struct ethtool_ops
authorStefan Assmann <sassmann@kpanic.de>
Fri, 16 May 2014 11:21:21 +0000 (13:21 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 1 Jun 2014 22:16:15 +0000 (00:16 +0200)
commitcf7fdd8649551f063fde4b175f4ab648dd61ab9d
tree6fbaaa54dea27d53903ca785f802dd5066f9358e
parent7f4ba5aa792da5c0d9c42886c39099830ed30ff7
backports: handle argument type change of get_rxnfc in struct ethtool_ops

In kernel 3.2 an argument type of function pointer get_rxnfc in
struct ethtool_ops changed from void to u32.
Address this by putting ifdef around the code.

commit 815c7db5c809ea3d5735de3131ecdf758b0e14ff
Author: Ben Hutchings <bhutchings@solarflare.com>
Date:   Tue Sep 6 13:49:12 2011 +0000

    ethtool: Clean up definitions of rule location arrays in RX NFC

git describe --contains 815c7db5c809ea3d5735de3131ecdf758b0e14ff
v3.2-rc1~129^2~272

Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
patches/collateral-evolutions/network/0039-ethtool_rxnfc/INFO [new file with mode: 0644]
patches/collateral-evolutions/network/0039-ethtool_rxnfc/igb_rxnfc.patch [new file with mode: 0644]