Re: [PATCH] powerpc: boot: add strrchr function

2018-03-02 Thread Michael Ellerman
Rob Herring writes: > libfdt gained a new dependency on strrchr, so copy the implementation > from lib/string.c. Most of the string functions are in assembly, but > stdio.c already has strnlen, so add strrchr there. > > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: Michael Ellerman > S

[PATCH] powerpc: boot: add strrchr function

2018-03-01 Thread Rob Herring
libfdt gained a new dependency on strrchr, so copy the implementation from lib/string.c. Most of the string functions are in assembly, but stdio.c already has strnlen, so add strrchr there. Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Signed-off-by: Rob Herring --- Please