summaryrefslogtreecommitdiff
path: root/include/linux/stringify.h
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2024-09-20 09:24:29 +0200
committerTom Rini <[email protected]>2024-10-03 11:52:16 -0600
commite2d96ac9ee9f81c8f72435bff55f924d27ad92d1 (patch)
treea23cadbf9a98f9a2659296e00188e39acabff964 /include/linux/stringify.h
parenteb08abc2936cb545ecc814214d499136e68c2658 (diff)
tiny-printf: Correct return values
The sprintf() etc. functions are supposed to return the length of the string written, but do not. Fix this by checking the amount of buffer space used. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions