summaryrefslogtreecommitdiff
path: root/patches/collateral-evolutions/network/11-dev-pm-ops/drivers_net_ethernet_atheros_atl1c_atl1c_main.patch
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-08-07 11:40:09 +0200
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>2013-08-12 19:51:44 -0700
commitf3194b4f935ab2691511c04084fa69ef19a12e4d (patch)
treebc17db84ce8adf765c7bfc8d7fda0487db9b8c79 /patches/collateral-evolutions/network/11-dev-pm-ops/drivers_net_ethernet_atheros_atl1c_atl1c_main.patch
parent521609b14db694e898695f29eb1b36b386efba9a (diff)
backports: fix device_release_driver
Upstream commit 38dbdde48f135c6b8fd1524eacf79041c7b5899a The new macro, introduced by commit 9f5876fa9cfb8cd6f450c200043ca7e31915f976 Author: Luis R. Rodriguez <mcgrof@do-not-panic.com> Date: Thu Jul 18 16:40:55 2013 -0700 backports: backport drvdata = NULL core driver fixes evaluates its argument multiple times, causing crashes as there are potential side-effects of the called code and/or the arguments. Fix this by converting it to static inlines. Also remove the driver_probe_device() macro that has the same issue, but tries to wrap a function that isn't even available outside the driver core code in any kernel. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Diffstat (limited to 'patches/collateral-evolutions/network/11-dev-pm-ops/drivers_net_ethernet_atheros_atl1c_atl1c_main.patch')
0 files changed, 0 insertions, 0 deletions