Re: [PATCH] uuid: cleanup <uapi/linux/uuid.h>

From: Andy Shevchenko
Date: Fri Dec 29 2017 - 11:39:32 EST


On Mon, Dec 25, 2017 at 7:11 PM, Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:
> Exported header doesn't use anything from <linux/string.h>,
> it is <linux/uuid.h> which uses memcmp().
>

+Cc UUID maintainer(s)

Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>

(If I didn't miss anything, that looks fine)

> Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
> ---
>
> include/linux/uuid.h | 1 +
> include/uapi/linux/uuid.h | 1 -
> 2 files changed, 1 insertion(+), 1 deletion(-)
>
> --- a/include/linux/uuid.h
> +++ b/include/linux/uuid.h
> @@ -17,6 +17,7 @@
> #define _LINUX_UUID_H_
>
> #include <uapi/linux/uuid.h>
> +#include <linux/string.h>
>
> #define UUID_SIZE 16
>
> --- a/include/uapi/linux/uuid.h
> +++ b/include/uapi/linux/uuid.h
> @@ -19,7 +19,6 @@
> #define _UAPI_LINUX_UUID_H_
>
> #include <linux/types.h>
> -#include <linux/string.h>
>
> typedef struct {
> __u8 b[16];



--
With Best Regards,
Andy Shevchenko