]> git.dujemihanovic.xyz Git - u-boot.git/commit
uuid: Add a comment for UUID_STR_LEN
authorSimon Glass <sjg@chromium.org>
Thu, 14 Jan 2021 03:29:51 +0000 (20:29 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 27 Jan 2021 22:03:16 +0000 (17:03 -0500)
commitf8a2d191cf3a200c080fbf6f8e095589d3afd57f
tree9c028500e62ef9de0c4ed1f3979433f050a47d47
parentac42fe539ca991543c888e261e62b4187ec9bbee
uuid: Add a comment for UUID_STR_LEN

This macro is the length of the string but excludes the terminator. Users
must add 1 when declaring a large-enough string. Add a comment to make
this clear.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/uuid.h