uuid: cleanup <uapi/linux/uuid.h>
Subsystems (2)
PATCH 1/1 uuid: cleanup <uapi/linux/uuid.h>
Exported header doesn't use anything from <linux/string.h>, it is <linux/uuid.h> which uses memcmp().
Signed-off-by Alexey Dobriyan <[email protected]>
---
include/linux/uuid.h | 1 + include/uapi/linux/uuid.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-)
include/linux/uuid.h +1 -0
@@ -17,6 +17,7 @@#define _LINUX_UUID_H_#include <uapi/linux/uuid.h> +#include <linux/string.h> #define UUID_SIZE 16
include/uapi/linux/uuid.h +0 -1
@@ -19,7 +19,6 @@#define _UAPI_LINUX_UUID_H_#include <linux/types.h> -#include <linux/string.h> typedef struct { __u8 b[16];
Quoted 3 lines · Alexey Dobriyan
Exported header doesn't use anything from <
linux/string.h>, it is <linux/uuid.h> which usesmemcmp().
+Cc UUID maintainer(s)
Reviewed-by Andy Shevchenko <[email protected]>
(If I didn't miss anything, that looks fine)
Quoted 27 lines
Signed-off-by Alexey Dobriyan <[email protected]>---
include/linux/uuid.h | 1 + include/uapi/linux/uuid.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-)include/linux/uuid.h +1
-0@@ -17,6 +17,7 @@#define _LINUX_UUID_H_#include <uapi/linux/uuid.h> +#include <linux/string.h> #define UUID_SIZE 16include/uapi/linux/uuid.h +0
-1@@ -19,7 +19,6 @@#define _UAPI_LINUX_UUID_H_#include <linux/types.h> -#include <linux/string.h> typedef struct { __u8 b[16];
Signature · 2 lines
With Best Regards, Andy Shevchenko