Re: [PATCH] brcmfmac: use strreplace() in brcmf_of_probe()

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

 



On 6/16/2022 9:54 AM, Dan Carpenter 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.

Acked-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>
Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
Suggested-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
---
I sent something like this last year but I did something wrong and it
never made it patchwork.  This is basically a new patch.

  drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c | 6 +-----
  1 file changed, 1 insertion(+), 5 deletions(-)

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux