Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1239630 > unrolled thread

[PATCH 0/3] Small changes in headers

Started byGabriel Laskar <gabriel@lse.epita.fr>
First post2015-10-05 17:00 +0200
Last post2015-10-05 17:10 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/3] Small changes in headers Gabriel Laskar <gabriel@lse.epita.fr> - 2015-10-05 17:00 +0200
    [PATCH 3/3] falloc: expose ioctl numbers into uapi Gabriel Laskar <gabriel@lse.epita.fr> - 2015-10-05 17:00 +0200
      Re: [PATCH 3/3] falloc: expose ioctl numbers into uapi kbuild test robot <lkp@intel.com> - 2015-10-05 17:10 +0200

#1239630 — [PATCH 0/3] Small changes in headers

FromGabriel Laskar <gabriel@lse.epita.fr>
Date2015-10-05 17:00 +0200
Subject[PATCH 0/3] Small changes in headers
Message-ID<qgfp8-21B-9@gated-at.bofh.it>
Here is some changes for ioctls numbers declared outside of uapi, or not used
at all.


Gabriel Laskar (3):
  mce: change asm/ioctls.h for linux/ioctl.h
  msm: remove unused header
  falloc: expose ioctl numbers into uapi

 arch/x86/include/uapi/asm/mce.h |  2 +-
 include/linux/falloc.h          | 18 ----------
 include/linux/msm_mdp.h         | 79 -----------------------------------------
 include/uapi/linux/falloc.h     | 18 ++++++++++
 4 files changed, 19 insertions(+), 98 deletions(-)
 delete mode 100644 include/linux/msm_mdp.h

-- 
2.6.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1239633 — [PATCH 3/3] falloc: expose ioctl numbers into uapi

FromGabriel Laskar <gabriel@lse.epita.fr>
Date2015-10-05 17:00 +0200
Subject[PATCH 3/3] falloc: expose ioctl numbers into uapi
Message-ID<qgfp9-21B-45@gated-at.bofh.it>
In reply to#1239630
Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
---
 include/linux/falloc.h      | 18 ------------------
 include/uapi/linux/falloc.h | 18 ++++++++++++++++++
 2 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/include/linux/falloc.h b/include/linux/falloc.h
index 9961110..eb651e9 100644
--- a/include/linux/falloc.h
+++ b/include/linux/falloc.h
@@ -3,24 +3,6 @@
 
 #include <uapi/linux/falloc.h>
 
-
-/*
- * Space reservation ioctls and argument structure
- * are designed to be compatible with the legacy XFS ioctls.
- */
-struct space_resv {
-	__s16		l_type;
-	__s16		l_whence;
-	__s64		l_start;
-	__s64		l_len;		/* len == 0 means until end of file */
-	__s32		l_sysid;
-	__u32		l_pid;
-	__s32		l_pad[4];	/* reserved area */
-};
-
-#define FS_IOC_RESVSP		_IOW('X', 40, struct space_resv)
-#define FS_IOC_RESVSP64		_IOW('X', 42, struct space_resv)
-
 #define	FALLOC_FL_SUPPORTED_MASK	(FALLOC_FL_KEEP_SIZE |		\
 					 FALLOC_FL_PUNCH_HOLE |		\
 					 FALLOC_FL_COLLAPSE_RANGE |	\
diff --git a/include/uapi/linux/falloc.h b/include/uapi/linux/falloc.h
index 3e445a7..99cd0ea 100644
--- a/include/uapi/linux/falloc.h
+++ b/include/uapi/linux/falloc.h
@@ -58,4 +58,22 @@
  */
 #define FALLOC_FL_INSERT_RANGE		0x20
 
+
+/*
+ * Space reservation ioctls and argument structure
+ * are designed to be compatible with the legacy XFS ioctls.
+ */
+struct space_resv {
+	__s16		l_type;
+	__s16		l_whence;
+	__s64		l_start;
+	__s64		l_len;		/* len == 0 means until end of file */
+	__s32		l_sysid;
+	__u32		l_pid;
+	__s32		l_pad[4];	/* reserved area */
+};
+
+#define FS_IOC_RESVSP		_IOW('X', 40, struct space_resv)
+#define FS_IOC_RESVSP64		_IOW('X', 42, struct space_resv)
+
 #endif /* _UAPI_FALLOC_H_ */
-- 
2.6.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1239637 — Re: [PATCH 3/3] falloc: expose ioctl numbers into uapi

Fromkbuild test robot <lkp@intel.com>
Date2015-10-05 17:10 +0200
SubjectRe: [PATCH 3/3] falloc: expose ioctl numbers into uapi
Message-ID<qgfyO-2sl-7@gated-at.bofh.it>
In reply to#1239633

[Multipart message — attachments visible in raw view] — view raw

Hi Gabriel,

[auto build test WARNING on v4.3-rc4 -- if it's inappropriate base, please ignore]

config: x86_64-allnoconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

>> ./usr/include/linux/falloc.h:67: found __[us]{8,16,32,64} type without #include <linux/types.h>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web