Files
arm-trusted-firmware/lib/debugfs
Harrison Mutai b1f5309232 fix(debugfs): return negative value on error
The current implementation of buf_to_channel() returns 0 even on invalid
input, making it difficult for callers to distinguish between an error
and a successful zero-byte transfer.

Change the return behavior to return -1 for error conditions.

Change-Id: Id57d7fd9365f5961a72ba7633dbedd701740e7c4
Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
2025-09-24 08:24:44 +00:00
..
2019-12-17 11:06:15 +01:00
2019-12-17 11:06:15 +01:00
2019-12-17 11:03:23 +01:00