[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20210921150420.4660BC43637@smtp.codeaurora.org>
Date: Tue, 21 Sep 2021 15:04:20 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Marek Vasut <marex@...x.de>
Cc: linux-wireless@...r.kernel.org, Marek Vasut <marex@...x.de>,
Amitkumar Karwar <amit.karwar@...pinesignals.com>,
Angus Ainslie <angus@...ea.ca>,
"David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Karun Eagalapati <karun256@...il.com>,
Martin Fuzzey <martin.fuzzey@...wbird.group>,
Martin Kepplinger <martink@...teo.de>,
Prameela Rani Garnepudi <prameela.j04cs@...il.com>,
Sebastian Krzyszkowiak <sebastian.krzyszkowiak@...i.sm>,
Siva Rebbagondla <siva8118@...il.com>, netdev@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH v2] rsi: Fix module dev_oper_mode parameter description
Marek Vasut <marex@...x.de> wrote:
> The module parameters are missing dev_oper_mode 12, BT classic alone,
> add it. Moreover, the parameters encode newlines, which ends up being
> printed malformed e.g. by modinfo, so fix that too.
>
> However, the module parameter string is duplicated in both USB and SDIO
> modules and the dev_oper_mode mode enumeration in those module parameters
> is a duplicate of macros used by the driver. Furthermore, the enumeration
> is confusing.
>
> So, deduplicate the module parameter string and use __stringify() to
> encode the correct mode enumeration values into the module parameter
> string. Finally, replace 'Wi-Fi' with 'Wi-Fi alone' and 'BT' with
> 'BT classic alone' to clarify what those modes really mean.
>
> Fixes: 898b255339310 ("rsi: add module parameter operating mode")
> Signed-off-by: Marek Vasut <marex@...x.de>
> Cc: Amitkumar Karwar <amit.karwar@...pinesignals.com>
> Cc: Angus Ainslie <angus@...ea.ca>
> Cc: David S. Miller <davem@...emloft.net>
> Cc: Jakub Kicinski <kuba@...nel.org>
> Cc: Kalle Valo <kvalo@...eaurora.org>
> Cc: Karun Eagalapati <karun256@...il.com>
> Cc: Martin Fuzzey <martin.fuzzey@...wbird.group>
> Cc: Martin Kepplinger <martink@...teo.de>
> Cc: Prameela Rani Garnepudi <prameela.j04cs@...il.com>
> Cc: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@...i.sm>
> Cc: Siva Rebbagondla <siva8118@...il.com>
> Cc: netdev@...r.kernel.org
> Cc: <stable@...r.kernel.org> # 4.17+
Patch applied to wireless-drivers-next.git, thanks.
31f97cf9f0c3 rsi: Fix module dev_oper_mode parameter description
--
https://patchwork.kernel.org/project/linux-wireless/patch/20210916144245.10181-1-marex@denx.de/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists