123456789101112131415161718192021222324252627282930313233343536373839 |
- From patchwork Tue Mar 12 09:51:40 2019
- Content-Type: text/plain; charset="utf-8"
- MIME-Version: 1.0
- Content-Transfer-Encoding: 7bit
- X-Patchwork-Submitter: Stanislaw Gruszka <[email protected]>
- X-Patchwork-Id: 10848957
- X-Patchwork-Delegate: [email protected]
- From: Stanislaw Gruszka <[email protected]>
- To: [email protected]
- Cc: =?utf-8?q?Tomislav_Po=C5=BEega?= <[email protected]>,
- Daniel Golle <[email protected]>, Felix Fietkau <[email protected]>,
- Mathias Kresin <[email protected]>
- Subject: [PATCH v3 1/4] cfg80211: add ratelimited variants of err and warn
- Date: Tue, 12 Mar 2019 10:51:40 +0100
- Message-Id: <[email protected]>
- In-Reply-To: <[email protected]>
- References: <[email protected]>
- wiphy_{err,warn}_ratelimited will be used by rt2x00
- Signed-off-by: Stanislaw Gruszka <[email protected]>
- ---
- include/net/cfg80211.h | 5 +++++
- 1 file changed, 5 insertions(+)
- --- a/include/net/cfg80211.h
- +++ b/include/net/cfg80211.h
- @@ -6588,6 +6588,11 @@ int cfg80211_external_auth_request(struc
- #define wiphy_info(wiphy, format, args...) \
- dev_info(&(wiphy)->dev, format, ##args)
-
- +#define wiphy_err_ratelimited(wiphy, format, args...) \
- + dev_err_ratelimited(&(wiphy)->dev, format, ##args)
- +#define wiphy_warn_ratelimited(wiphy, format, args...) \
- + dev_warn_ratelimited(&(wiphy)->dev, format, ##args)
- +
- #define wiphy_debug(wiphy, format, args...) \
- wiphy_printk(KERN_DEBUG, wiphy, format, ##args)
-
|