From: Johannes Berg Date: Thu, 14 Sep 2023 07:13:10 +0000 (+0200) Subject: wifi: cfg80211: fix kernel-doc for wiphy_delayed_work_flush() X-Git-Tag: v6.7-rc1~160^2~207^2~99 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9c386911b16d4bf2f24e55ed42bfa397073b4b84;p=thirdparty%2Fkernel%2Flinux.git wifi: cfg80211: fix kernel-doc for wiphy_delayed_work_flush() Now that I fixed the function name, we see the parameters are wrong as well. Fix that too. Change-Id: I1a4cfea446875998a5a242ca36acc8244991a199 Reported-by: Stephen Rothwell Signed-off-by: Johannes Berg --- diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index a5841a96284dc..8fcfe18694244 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -5954,7 +5954,7 @@ void wiphy_delayed_work_cancel(struct wiphy *wiphy, /** * wiphy_delayed_work_flush - flush previously queued delayed work * @wiphy: the wiphy, for debug purposes - * @work: the work to flush + * @dwork: the delayed work to flush * * Flush the work (i.e. run it if pending). This must be called * under the wiphy mutex acquired by wiphy_lock().