Search Linux Wireless

Re: [PATCH v2 1/2] cfg80211: Add wiphy_info_once()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dmitry Osipenko <digetx@xxxxxxxxx> writes:

> 12.05.2021 00:15, Dmitry Osipenko пишет:
>> Add wiphy_info_once() helper that prints info message only once.
>> 
>> Signed-off-by: Dmitry Osipenko <digetx@xxxxxxxxx>
>> ---
>> 
>> Changelog:
>> 
>> v2: - New patch added in v2.
>> 
>>  include/net/cfg80211.h | 2 ++
>>  1 file changed, 2 insertions(+)
>> 
>> diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
>> index 5224f885a99a..3b19e03509b3 100644
>> --- a/include/net/cfg80211.h
>> +++ b/include/net/cfg80211.h
>> @@ -8154,6 +8154,8 @@ bool cfg80211_iftype_allowed(struct wiphy *wiphy, enum nl80211_iftype iftype,
>>  	dev_notice(&(wiphy)->dev, format, ##args)
>>  #define wiphy_info(wiphy, format, args...)			\
>>  	dev_info(&(wiphy)->dev, format, ##args)
>> +#define wiphy_info_once(wiphy, format, args...)			\
>> +	dev_info_once(&(wiphy)->dev, format, ##args)
>>  
>>  #define wiphy_err_ratelimited(wiphy, format, args...)		\
>>  	dev_err_ratelimited(&(wiphy)->dev, format, ##args)
>> 
>
> Ping?
>
> Arend, is this series good to you? I assume Kalle could pick it up if
> you'll give ack. Thanks in advance.

Normally cfg80211 changes go via Johannes' tree though I guess small
changes I could take it via my tree, but then I need an ack from
Johannes.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux