]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
uuid: cleanup <uapi/linux/uuid.h>
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 6 Feb 2018 23:37:48 +0000 (15:37 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 7 Feb 2018 02:32:44 +0000 (18:32 -0800)
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>
include/linux/uuid.h
include/uapi/linux/uuid.h

index 33b0bdbb613c6b63c9d8c16ca8ee155e981f52b7..d9c4a6cce3c2cbee624117a5bc051c745050b236 100644 (file)
@@ -17,6 +17,7 @@
 #define _LINUX_UUID_H_
 
 #include <uapi/linux/uuid.h>
+#include <linux/string.h>
 
 #define UUID_SIZE 16
 
index 5c04130bb524fec55baaad38ec70244bbbac0cb5..e5a7eecef7c339035bb3a49222ecb51732351a7c 100644 (file)
@@ -19,7 +19,6 @@
 #define _UAPI_LINUX_UUID_H_
 
 #include <linux/types.h>
-#include <linux/string.h>
 
 typedef struct {
        __u8 b[16];