Re: [PATCH v1 5/6] uuid: Kill uapi/uuid.h
From: Christoph Hellwig
Date: Mon Jul 24 2017 - 11:54:56 EST
> diff --git a/scripts/mod/file2alias.c b/scripts/mod/file2alias.c
> index 29d6699d5a06..1c68709123aa 100644
> --- a/scripts/mod/file2alias.c
> +++ b/scripts/mod/file2alias.c
> @@ -36,7 +36,7 @@ typedef uint16_t __u16;
> typedef unsigned char __u8;
> typedef struct {
> __u8 b[16];
> -} uuid_le;
> +} guid_t;
>
> /* Big exception to the "don't include kernel headers into userspace, which
> * even potentially has different endianness and word sizes, since
> @@ -134,7 +134,7 @@ static inline void add_wildcard(char *str)
> strcat(str + len, "*");
> }
>
> -static inline void add_uuid(char *str, uuid_le uuid)
> +static inline void add_uuid(char *str, guid_t uuid)
> {
> int len = strlen(str);
This should probably be split into a separate patch.