From 67d44a18bd3143e28f6b2a8038100585a2d596cb Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 17 Sep 2017 18:58:12 +0200 Subject: header: add UUID_STRING_LEN This was added in commit 2b1b0d6670 ("lib/uuid.c: introduce a few more generic helpers") and is used by ath10k. Signed-off-by: Hauke Mehrtens Signed-off-by: Johannes Berg --- backport/backport-include/linux/uuid.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/backport/backport-include/linux/uuid.h b/backport/backport-include/linux/uuid.h index 5ffe225b..bc6fbe17 100644 --- a/backport/backport-include/linux/uuid.h +++ b/backport/backport-include/linux/uuid.h @@ -3,6 +3,14 @@ #include #include_next +#ifndef UUID_STRING_LEN +/* + * The length of a UUID string ("aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee") + * not including trailing NUL. + */ +#define UUID_STRING_LEN 36 +#endif + #if LINUX_VERSION_IS_LESS(4,13,0) #define guid_t uuid_le #define uuid_t uuid_be -- cgit v1.2.3