summaryrefslogtreecommitdiff
path: root/include/linux/uuid.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/uuid.h')
-rw-r--r--include/linux/uuid.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/uuid.h b/include/linux/uuid.h
index 61641faca38b..2251e1925ea4 100644
--- a/include/linux/uuid.h
+++ b/include/linux/uuid.h
@@ -50,7 +50,7 @@ static inline void guid_copy(guid_t *dst, const guid_t *src)
memcpy(dst, src, sizeof(guid_t));
}
-static inline bool guid_is_null(guid_t *guid)
+static inline bool guid_is_null(const guid_t *guid)
{
return guid_equal(guid, &guid_null);
}
@@ -65,7 +65,7 @@ static inline void uuid_copy(uuid_t *dst, const uuid_t *src)
memcpy(dst, src, sizeof(uuid_t));
}
-static inline bool uuid_is_null(uuid_t *uuid)
+static inline bool uuid_is_null(const uuid_t *uuid)
{
return uuid_equal(uuid, &uuid_null);
}