summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Dobriyan2018-02-07 00:37:48 +0100
committerLinus Torvalds2018-02-07 03:32:44 +0100
commitdfbc3c6cb747c074aa2ba0a10bbeea588d6dfda6 (patch)
tree4b8268f945c5ca662315b39ac99104ce0d6380e1
parentMakefile: introduce CONFIG_CC_STACKPROTECTOR_AUTO (diff)
downloadkernel-qcow2-linux-dfbc3c6cb747c074aa2ba0a10bbeea588d6dfda6.tar.gz
kernel-qcow2-linux-dfbc3c6cb747c074aa2ba0a10bbeea588d6dfda6.tar.xz
kernel-qcow2-linux-dfbc3c6cb747c074aa2ba0a10bbeea588d6dfda6.zip
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@gmail.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--include/linux/uuid.h1
-rw-r--r--include/uapi/linux/uuid.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/uuid.h b/include/linux/uuid.h
index 33b0bdbb613c..d9c4a6cce3c2 100644
--- 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
diff --git a/include/uapi/linux/uuid.h b/include/uapi/linux/uuid.h
index 5c04130bb524..e5a7eecef7c3 100644
--- 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];