From: Alexey Dobriyan <adobriyan@xxxxxxxxx> Subject: uuid: cleanup <uapi/linux/uuid.h> Exported header doesn't use anything from <linux/string.h>, it is <linux/uuid.h> which uses memcmp(). Link: http://lkml.kernel.org/r/20171225171121.GA22754@avx2 Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx> Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/uuid.h | 1 + include/uapi/linux/uuid.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff -puN include/linux/uuid.h~uuid-cleanup-uapi-linux-uuidh include/linux/uuid.h --- a/include/linux/uuid.h~uuid-cleanup-uapi-linux-uuidh +++ a/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 diff -puN include/uapi/linux/uuid.h~uuid-cleanup-uapi-linux-uuidh include/uapi/linux/uuid.h --- a/include/uapi/linux/uuid.h~uuid-cleanup-uapi-linux-uuidh +++ a/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]; _ -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html