On Thu, Jun 16, 2022 at 9:54 AM Dan Carpenter <dan.carpenter@xxxxxxxxxx> 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@xxxxxxxxxx> > Suggested-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij