aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
diff options
context:
space:
mode:
authorBenjamin Berg <[email protected]>2023-06-08 13:36:02 +0000
committerJohannes Berg <[email protected]>2023-06-09 11:30:32 +0000
commit15846f95ab01b71fdb1cef8df73680aad41edf70 (patch)
treedde4c327b289c5747419f3d476c4e8ed07a96034 /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
parentwifi: cfg80211: fix link del callback to call correct handler (diff)
downloadkernel-15846f95ab01b71fdb1cef8df73680aad41edf70.tar.gz
kernel-15846f95ab01b71fdb1cef8df73680aad41edf70.zip
wifi: mac80211: take lock before setting vif links
ieee80211_vif_set_links requires the sdata->local->mtx lock to be held. Add the appropriate locking around the calls in both the link add and remove handlers. This causes a warning when e.g. ieee80211_link_release_channel is called via ieee80211_link_stop from ieee80211_vif_update_links. Fixes: 0d8c4a3c8688 ("wifi: mac80211: implement add/del interface link callbacks") Signed-off-by: Benjamin Berg <[email protected]> Signed-off-by: Gregory Greenman <[email protected]> Link: https://lore.kernel.org/r/20230608163202.fa0c6597fdad.I83dd70359f6cda30f86df8418d929c2064cf4995@changeid Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions