Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2093657pxj; Sat, 19 Jun 2021 02:44:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFExQkmn1GCsM+J5q3GhM4vZey5zHKl+TotSVO87DhAsU5tyQvC/2TZ2tHcVMP6716enmm X-Received: by 2002:a17:906:d116:: with SMTP id b22mr5874142ejz.540.1624095874551; Sat, 19 Jun 2021 02:44:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624095874; cv=none; d=google.com; s=arc-20160816; b=ecsqQn/XN+uQKwtlwzrYaOyOfFdF4b0bmCWGijk2oo6L9xhGsPHPW46yoSy+f+O3Ob /UITFcgoQcDWxMM8xjrkEXV9gZqAFqMrd34H0xJM+tbdPbJFtzLSFpqT4xuir74ChXiC vFYdSss7QxjFmLpTDiUEhiFmhlQY+pQ+YfP3Gsua3DF23mIzfPRHLbiLj1/j5kFn9aQ5 kJKZ3W0gnaF29yJJtsUGa8j78FmnVaqlt+XM2eUa7lx/dM+UlE54Jviaiq5CSMU6wh6E 4TgAhET8YX0MIqhMjTinNAR2G6jXLkBs7qAT/A4NALwB9quWkUITtvywvcVTtZAWT7nV Cytw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dmarc-filter:sender:dkim-signature; bh=ReeHdDtZ1CGVXKaLf4XclDol0SUyu66O157eCXFCbig=; b=OPjGpnMNPeDMAP98YGw3jaJuPmcIGj7hnBtV9c/u+uc60mhooj33M+fzL8nQn93fK6 9u/Ue+CDA/PfRir2OTIvWaPbzouLQXGEgpDwh8h1U8QuDnt1Z8oXssVha2P6/iNvRwjL jKJV3AH0nMIMR/O1qicb6ztRVsvC3gim+HL7yfME2dDt4SmXNlQB262WzrKpErC8hrqz fuU3EZA6qh3w9vq1Zi4FMxZqjuTmyLVTz3Ala/Dz3D9N3YYfyYUcKVvqOf0XKmpRHPj4 2vFP8Zec4OaHwiyzZR844bdfmQCYnocgG28twLu0pRpSdZtUU1heKLKtz4cvePKmRrTn 0Ybg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=NctduS+z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id yh14si689706ejb.391.2021.06.19.02.44.12; Sat, 19 Jun 2021 02:44:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=NctduS+z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232951AbhFSG3z (ORCPT + 99 others); Sat, 19 Jun 2021 02:29:55 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:22550 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232691AbhFSG3x (ORCPT ); Sat, 19 Jun 2021 02:29:53 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1624084058; h=Content-Transfer-Encoding: Content-Type: MIME-Version: Message-ID: In-Reply-To: Date: References: Subject: Cc: To: From: Sender; bh=ReeHdDtZ1CGVXKaLf4XclDol0SUyu66O157eCXFCbig=; b=NctduS+zn3AahpvwoA3/y1T373YQKBJ3dRl3onkCon112GLS2MAd0Vqyf3D7l/mWMND1Kv2k qN09fhGy+d/BPIu50JYOdvEROvpo3+Qaoz/K/y5XlCJUnzEy5lwSxq0HOS82GEqaIN1eFk+L H+DFbBDxrkXITQdu8BefKo68ph4= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n03.prod.us-east-1.postgun.com with SMTP id 60cd8e42e27c0cc77fa6dbc3 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Sat, 19 Jun 2021 06:27:14 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 9E741C43460; Sat, 19 Jun 2021 06:27:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from tykki (tynnyri.adurom.net [51.15.11.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id B6D88C433F1; Sat, 19 Jun 2021 06:27:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org B6D88C433F1 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: Dmitry Osipenko Cc: Arend van Spriel , linux-wireless@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, brcm80211-dev-list@cypress.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Franky Lin , Chi-Hsien Lin , Hante Meuleman , Andy Shevchenko , Wright Feng , "David S. Miller" , Jakub Kicinski , Johannes Berg Subject: Re: [PATCH v2 1/2] cfg80211: Add wiphy_info_once() References: <20210511211549.30571-1-digetx@gmail.com> Date: Sat, 19 Jun 2021 09:27:06 +0300 In-Reply-To: (Dmitry Osipenko's message of "Fri, 18 Jun 2021 23:44:50 +0300") Message-ID: <87r1gyid39.fsf@codeaurora.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dmitry Osipenko writes: > 12.05.2021 00:15, Dmitry Osipenko =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >> Add wiphy_info_once() helper that prints info message only once. >>=20 >> Signed-off-by: Dmitry Osipenko >> --- >>=20 >> Changelog: >>=20 >> v2: - New patch added in v2. >>=20 >> include/net/cfg80211.h | 2 ++ >> 1 file changed, 2 insertions(+) >>=20 >> 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) >>=20=20 >> #define wiphy_err_ratelimited(wiphy, format, args...) \ >> dev_err_ratelimited(&(wiphy)->dev, format, ##args) >>=20 > > 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. --=20 https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatc= hes