On Sat, 27 Aug 2022 16:39:46 +1000, Russell Currey wrote:
> find_i2c_driver() contained the last usage of strlcpy() in arch/powerpc.
> The return value was used to check if strlen(src) >= n, for which
> strscpy() returns -E2BIG.
>
>
Applied to powerpc/next.
[1/1] powerpc/pasemi: Use strscpy ins
find_i2c_driver() contained the last usage of strlcpy() in arch/powerpc.
The return value was used to check if strlen(src) >= n, for which
strscpy() returns -E2BIG.
Signed-off-by: Russell Currey
---
arch/powerpc/platforms/pasemi/misc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
dif