From: Kalle Valo <kvalo@kernel.org>
To: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Arend van Spriel <aspriel@gmail.com>,
Johannes Berg <johannes@sipsolutions.net>,
Franky Lin <franky.lin@broadcom.com>,
Hante Meuleman <hante.meuleman@broadcom.com>,
Len Baker <len.baker@gmx.com>, Shawn Guo <shawn.guo@linaro.org>,
Hector Martin <marcan@marcan.st>,
linux-wireless@vger.kernel.org,
brcm80211-dev-list.pdl@broadcom.com,
Linus Walleij <linus.walleij@linaro.org>,
kernel-janitors@vger.kernel.org
Subject: Re: wifi: brcmfmac: use strreplace() in brcmf_of_probe()
Date: Thu, 28 Jul 2022 09:55:59 +0000 (UTC) [thread overview]
Message-ID: <165900215794.25113.6597202255013388708.kvalo@kernel.org> (raw)
In-Reply-To: <YqrhsKcjEA7B2pC4@kili>
Dan Carpenter <dan.carpenter@oracle.com> wrote:
> The for loop in brcmf_of_probe() would ideally end with something like
> "i <= strlen(board_type)" instead of "i < board_type[i]". But
> fortunately, the two are equivalent.
>
> Anyway, it's simpler to use strreplace() instead.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
> Suggested-by: Johannes Berg <johannes@sipsolutions.net>
> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
> Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Patch applied to wireless-next.git, thanks.
bef11f1edc40 wifi: brcmfmac: use strreplace() in brcmf_of_probe()
--
https://patchwork.kernel.org/project/linux-wireless/patch/YqrhsKcjEA7B2pC4@kili/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
prev parent reply other threads:[~2022-07-28 9:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-16 7:54 [PATCH] brcmfmac: use strreplace() in brcmf_of_probe() Dan Carpenter
2022-06-16 13:08 ` Linus Walleij
2022-06-17 15:14 ` Arend van Spriel
2022-07-28 9:55 ` Kalle Valo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=165900215794.25113.6597202255013388708.kvalo@kernel.org \
--to=kvalo@kernel.org \
--cc=aspriel@gmail.com \
--cc=brcm80211-dev-list.pdl@broadcom.com \
--cc=dan.carpenter@oracle.com \
--cc=franky.lin@broadcom.com \
--cc=hante.meuleman@broadcom.com \
--cc=johannes@sipsolutions.net \
--cc=kernel-janitors@vger.kernel.org \
--cc=len.baker@gmx.com \
--cc=linus.walleij@linaro.org \
--cc=linux-wireless@vger.kernel.org \
--cc=marcan@marcan.st \
--cc=shawn.guo@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox