From: Heikki Krogerus Date: Tue, 27 Aug 2019 11:14:37 +0000 (+0300) Subject: modpost: add guid_t type definition X-Git-Tag: v5.4-rc1~105^2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=389c9af7f1a1e564c18ab744528b7f64759b7875;p=thirdparty%2Fkernel%2Flinux.git modpost: add guid_t type definition Since guid_t is the recommended data type for UUIDs in kernel (and I guess uuid_le is meant to be ultimately replaced with it), it should be made available here as well. Signed-off-by: Heikki Krogerus Signed-off-by: Masahiro Yamada --- diff --git a/scripts/mod/file2alias.c b/scripts/mod/file2alias.c index e17a29ae2e97a..c91eba751804b 100644 --- a/scripts/mod/file2alias.c +++ b/scripts/mod/file2alias.c @@ -34,6 +34,11 @@ typedef Elf64_Addr kernel_ulong_t; typedef uint32_t __u32; typedef uint16_t __u16; typedef unsigned char __u8; +typedef struct { + __u8 b[16]; +} guid_t; + +/* backwards compatibility, don't use in new code */ typedef struct { __u8 b[16]; } uuid_le;