3f351cd358
Check snprintf() return value for errors.
Make microblaze_cpu_get_desc() directly return snprintf() error code if
ret < 0. Otherwise, if the return value is greater than or equal to size,
the resulting string is truncated, so return -ENOSPC.
Fixes:
|
||
---|---|---|
.. | ||
at91_cpu.c | ||
bmips_cpu.c | ||
cpu_sandbox.c | ||
cpu-uclass.c | ||
imx8_cpu.c | ||
Kconfig | ||
Makefile | ||
microblaze_cpu.c | ||
mpc83xx_cpu.c | ||
mpc83xx_cpu.h | ||
riscv_cpu.c |