backports: replace netdev ops patch with spatch
authorJohannes Berg <johannes.berg@intel.com>
Thu, 21 Nov 2013 16:24:50 +0000 (17:24 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 21 Nov 2013 16:50:50 +0000 (17:50 +0100)
commitc38da7cf931df4f26692b6fe1d93131d8898aab7
tree7dc82d89ce4a5526215f0d628078d4eedaf46ec7
parent5d698580a1b39d4922cc6a17bf58ea8c6db8e786
backports: replace netdev ops patch with spatch

There's no need to carry a small netdev ops patch for
each driver any more now, we can just write a small
semantic patch. Only the ndo_ioctl() part is easier
to keep as a separate patch.

As some stupid drivers seem to set their ops to NULL
just before freeing the netdev anyway, the attach
function must gracefully handle that (but not doesn't
really need to do anything.)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
25 files changed:
backport/compat/compat-2.6.29.c
patches/collateral-evolutions/network/0001-ndo_ioctl.patch [new file with mode: 0644]
patches/collateral-evolutions/network/0001-netdev_ops.cocci [new file with mode: 0644]
patches/collateral-evolutions/network/0001-netdev_ops/INFO [deleted file]
patches/collateral-evolutions/network/0001-netdev_ops/alx.patch [deleted file]
patches/collateral-evolutions/network/0001-netdev_ops/ath6kl.patch [deleted file]
patches/collateral-evolutions/network/0001-netdev_ops/atl1c.patch [deleted file]
patches/collateral-evolutions/network/0001-netdev_ops/atl1e.patch [deleted file]
patches/collateral-evolutions/network/0001-netdev_ops/atlx.patch [deleted file]
patches/collateral-evolutions/network/0001-netdev_ops/b44.patch [deleted file]
patches/collateral-evolutions/network/0001-netdev_ops/bluetooth_bnep.patch [deleted file]
patches/collateral-evolutions/network/0001-netdev_ops/ipw2100.patch [deleted file]
patches/collateral-evolutions/network/0001-netdev_ops/ipw2200.patch [deleted file]
patches/collateral-evolutions/network/0001-netdev_ops/libertas.patch [deleted file]
patches/collateral-evolutions/network/0001-netdev_ops/mac80211.patch [deleted file]
patches/collateral-evolutions/network/0001-netdev_ops/mac80211_hwsim.patch [deleted file]
patches/collateral-evolutions/network/0001-netdev_ops/mwifiex.patch [deleted file]
patches/collateral-evolutions/network/0001-netdev_ops/orinoco.patch [deleted file]
patches/collateral-evolutions/network/0001-netdev_ops/qmi_wwan.patch [deleted file]
patches/collateral-evolutions/network/0001-netdev_ops/rndis.patch [deleted file]
patches/collateral-evolutions/network/0001-netdev_ops/rndis_wlan.patch [deleted file]
patches/collateral-evolutions/network/0001-netdev_ops/sierra_net.patch [deleted file]
patches/collateral-evolutions/network/0001-netdev_ops/usbnet.patch [deleted file]
patches/collateral-evolutions/network/0001-netdev_ops/wext.patch [deleted file]
patches/collateral-evolutions/network/0001-netdev_ops/wil6210.patch [deleted file]