Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1694853

Re: [PATCH v1 5/6] uuid: Kill uapi/uuid.h

From Christoph Hellwig <hch@lst.de>
Newsgroups linux.kernel
Subject Re: [PATCH v1 5/6] uuid: Kill uapi/uuid.h
Date 2017-07-24 18:00 +0200
Message-ID <u6NW2-6Tk-13@gated-at.bofh.it> (permalink)
References <u51Ts-3Yc-21@gated-at.bofh.it> <u51Ts-3Yc-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> 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.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v1 5/6] uuid: Kill uapi/uuid.h Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2017-07-19 20:30 +0200
  Re: [PATCH v1 5/6] uuid: Kill uapi/uuid.h kbuild test robot <lkp@intel.com> - 2017-07-22 20:50 +0200
  Re: [PATCH v1 5/6] uuid: Kill uapi/uuid.h Christoph Hellwig <hch@lst.de> - 2017-07-24 18:00 +0200

csiph-web