summaryrefslogtreecommitdiffstats
path: root/include/linux/linux_string.h
diff options
context:
space:
mode:
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>2020-11-20 11:45:35 +0100
committerTom Rini <trini@konsulko.com>2021-01-16 14:49:09 -0500
commit31ce367cd10087b532431c023e4a95513ecdee5d (patch)
treeabe69d421178391a6cffe43b6c231d92f9100ef8 /include/linux/linux_string.h
parent2d572ede1185db2129685e8cedfb690a5e3c4d3d (diff)
downloadu-boot-31ce367cd10087b532431c023e4a95513ecdee5d.tar.gz
u-boot-31ce367cd10087b532431c023e4a95513ecdee5d.tar.xz
u-boot-31ce367cd10087b532431c023e4a95513ecdee5d.zip
lib/uuid.c: change prototype of uuid_guid_get_str()
There's no reason to require an appropriately sized output parameter for the string, that's error-prone should the table ever grow an element with a longer string. We can just return the const char* pointer directly. Update the only caller accordingly, and get rid of pointless ifdeffery in the header so that the compiler always sees a declaration and can thus do type-checking, whether or not PARTITION_TYPE_GUID is enabled or not. Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions