On 11/21/2024 8:27 PM, Jeff Johnson wrote: > On 11/21/2024 2:11 PM, Johannes Berg wrote: >> From: Johannes Berg <johannes.berg@xxxxxxxxx> >> >> The wiphy guard simplifies some code here, so use it. >> >> Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> > Reviewed-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx> > > > Now we just need guard(rtnl) :) wrote before I looked, it already exists... DEFINE_LOCK_GUARD_0(rtnl, rtnl_lock(), rtnl_unlock())