Thread (17 messages) flat view 17 messages, 5 authors, 2014-12-02

Re: [PATCH 1/3] kcmp: Move kcmp.h into uapi

From: Cyrill Gorcunov <hidden>
Date: 2014-10-23 08:15:06
Also in: lkml

On Thu, Oct 23, 2014 at 09:49:14AM +0200, Arnd Bergmann wrote:
On Thursday 23 October 2014 16:07:12 Michael Ellerman wrote:
quoted
--- a/include/linux/kcmp.h
+++ b/include/linux/kcmp.h
@@ -1,17 +1,6 @@
 #ifndef _LINUX_KCMP_H
 #define _LINUX_KCMP_H
 
-/* Comparison type */
-enum kcmp_type {
-       KCMP_FILE,
-       KCMP_VM,
-       KCMP_FILES,
-       KCMP_FS,
-       KCMP_SIGHAND,
-       KCMP_IO,
-       KCMP_SYSVSEM,
-
-       KCMP_TYPES,
-};
+#include <uapi/linux/kcmp.h>
 
 #endif /* _LINUX_KCMP_H */
If the file is empty except for the uapi include, I think it's better to
delete it completely. The include path logic should ensure we pick the
other one up.
Good point, somehow managed to miss this.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help